Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1709656 > unrolled thread

(none)

Started byDaniel Lezcano <daniel.lezcano@linaro.org>
First post2017-08-11 16:20 +0200
Last post2017-08-13 11:50 +0200
Articles 12 — 3 participants

Back to article view | Back to linux.kernel


Contents

  (none) Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 16:20 +0200
    Re: [GIT PULL] clockevents: fixes for 4.13-rc4 Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 16:20 +0200
      Re: [GIT PULL] clockevents: fixes for 4.13-rc4 Linus Torvalds <torvalds@linux-foundation.org> - 2017-08-11 20:50 +0200
        Re: [GIT PULL] clockevents: fixes for 4.13-rc4 Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 23:50 +0200
          Re: [GIT PULL] clockevents: fixes for 4.13-rc4 Linus Torvalds <torvalds@linux-foundation.org> - 2017-08-12 01:00 +0200
          Re: [GIT PULL] clockevents: fixes for 4.13-rc4 Ingo Molnar <mingo@kernel.org> - 2017-08-12 01:40 +0200
    [PATCH 1/5] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 16:20 +0200
      [PATCH 5/5] clocksource/drivers/arm_arch_timer: Avoid infinite recursion when ftrace is enabled Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 16:20 +0200
      [PATCH 2/5] clocksource/drivers/em_sti: Fix error return codes in em_sti_probe() Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 16:20 +0200
      [PATCH 3/5] clocksource/drivers/timer-of: Checking for IS_ERR() instead of NULL Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 16:20 +0200
      [PATCH 4/5] clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-11 16:20 +0200
    Re: [GIT PULL] clockevents: fixes for 4.13-rc4 Ingo Molnar <mingo@kernel.org> - 2017-08-13 11:50 +0200

#1709656 — (none)

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 16:20 +0200
Subject(none)
Message-ID<udiX7-4AP-1@gated-at.bofh.it>
Bcc: 
Subject: [GIT PULL] clockevents: fixes for 4.13-rc4
Reply-To: 

Hi Ingo, Thomas,

The pull request contains the following fixes for 4.13-rc4

 - Fix error check against IS_ERR() instead of NULL for the timer-of code
   (Dan Carpenter)

 - Fix infinite recusion with ftrace for the ARM architected timer (Ding
   Tianhong)

 - Fix the error code return in the em_sti's probe function (Gustavo A. R.
   Silva)

 - Fix Kconfig dependency for the pistachio driver (Matt Redfearn).

 - Fix mem frame loop initialization for the ARM architected timer (Matthias
   Kaehlcke)


Thanks!

  -- Daniel



The following changes since commit 34f41c0316ed52b0b44542491d89278efdaa70e4:

  timers: Fix overflow in get_next_timer_interrupt (2017-08-01 14:20:53 +0200)

are available in the git repository at:

  http://git@git.linaro.org/people/daniel.lezcano/linux.git clockevents/4.13-fixes

for you to fetch changes up to adb4f11e0a8f4e29900adb2b7af28b6bbd5c1fa4:

  clocksource/drivers/arm_arch_timer: Avoid infinite recursion when ftrace is enabled (2017-08-11 16:01:43 +0200)

----------------------------------------------------------------
Dan Carpenter (1):
      clocksource/drivers/timer-of: Checking for IS_ERR() instead of NULL

Ding Tianhong (1):
      clocksource/drivers/arm_arch_timer: Avoid infinite recursion when ftrace is enabled

Gustavo A. R. Silva (1):
      clocksource/drivers/em_sti: Fix error return codes in em_sti_probe()

Matt Redfearn (1):
      clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies

Matthias Kaehlcke (1):
      clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization

 arch/arm64/include/asm/arch_timer.h  |  4 ++--
 drivers/clocksource/Kconfig          |  2 +-
 drivers/clocksource/arm_arch_timer.c |  2 +-
 drivers/clocksource/em_sti.c         | 11 ++++++-----
 drivers/clocksource/timer-of.c       |  4 ++--
 5 files changed, 12 insertions(+), 11 deletions(-)



-- 

 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

[toc] | [next] | [standalone]


#1709657 — Re: [GIT PULL] clockevents: fixes for 4.13-rc4

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 16:20 +0200
SubjectRe: [GIT PULL] clockevents: fixes for 4.13-rc4
Message-ID<udiX7-4AP-5@gated-at.bofh.it>
In reply to#1709656
On 11/08/2017 16:15, Daniel Lezcano wrote:
> Bcc: 
> Subject: [GIT PULL] clockevents: fixes for 4.13-rc4

Sorry subject went wrong.

> Reply-To: 
> 
> Hi Ingo, Thomas,
> 
> The pull request contains the following fixes for 4.13-rc4
> 
>  - Fix error check against IS_ERR() instead of NULL for the timer-of code
>    (Dan Carpenter)
> 
>  - Fix infinite recusion with ftrace for the ARM architected timer (Ding
>    Tianhong)
> 
>  - Fix the error code return in the em_sti's probe function (Gustavo A. R.
>    Silva)
> 
>  - Fix Kconfig dependency for the pistachio driver (Matt Redfearn).
> 
>  - Fix mem frame loop initialization for the ARM architected timer (Matthias
>    Kaehlcke)
> 
> 
> Thanks!
> 
>   -- Daniel
> 
> 
> 
> The following changes since commit 34f41c0316ed52b0b44542491d89278efdaa70e4:
> 
>   timers: Fix overflow in get_next_timer_interrupt (2017-08-01 14:20:53 +0200)
> 
> are available in the git repository at:
> 
>   http://git@git.linaro.org/people/daniel.lezcano/linux.git clockevents/4.13-fixes
> 
> for you to fetch changes up to adb4f11e0a8f4e29900adb2b7af28b6bbd5c1fa4:
> 
>   clocksource/drivers/arm_arch_timer: Avoid infinite recursion when ftrace is enabled (2017-08-11 16:01:43 +0200)
> 
> ----------------------------------------------------------------
> Dan Carpenter (1):
>       clocksource/drivers/timer-of: Checking for IS_ERR() instead of NULL
> 
> Ding Tianhong (1):
>       clocksource/drivers/arm_arch_timer: Avoid infinite recursion when ftrace is enabled
> 
> Gustavo A. R. Silva (1):
>       clocksource/drivers/em_sti: Fix error return codes in em_sti_probe()
> 
> Matt Redfearn (1):
>       clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies
> 
> Matthias Kaehlcke (1):
>       clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization
> 
>  arch/arm64/include/asm/arch_timer.h  |  4 ++--
>  drivers/clocksource/Kconfig          |  2 +-
>  drivers/clocksource/arm_arch_timer.c |  2 +-
>  drivers/clocksource/em_sti.c         | 11 ++++++-----
>  drivers/clocksource/timer-of.c       |  4 ++--
>  5 files changed, 12 insertions(+), 11 deletions(-)
> 
> 
> 


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

[toc] | [prev] | [next] | [standalone]


#1709914 — Re: [GIT PULL] clockevents: fixes for 4.13-rc4

FromLinus Torvalds <torvalds@linux-foundation.org>
Date2017-08-11 20:50 +0200
SubjectRe: [GIT PULL] clockevents: fixes for 4.13-rc4
Message-ID<udnap-72o-15@gated-at.bofh.it>
In reply to#1709657
On Fri, Aug 11, 2017 at 7:16 AM, Daniel Lezcano
<daniel.lezcano@linaro.org> wrote:
>
> The pull request contains the following fixes for 4.13-rc4

Usually these things go through Thomas, and you did say "Hi Ingo,
Thomas", so I'm ignoring this pull request.

But you *did* cc me, and it's possible that you did so on purpose,
expecting me to pull because everybody in Europe is on vacation.

So if you actually expect me to pull directly, please re-send and
explicitly say so, ok?

                   Linus

[toc] | [prev] | [next] | [standalone]


#1709984 — Re: [GIT PULL] clockevents: fixes for 4.13-rc4

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 23:50 +0200
SubjectRe: [GIT PULL] clockevents: fixes for 4.13-rc4
Message-ID<udpYB-i2-3@gated-at.bofh.it>
In reply to#1709914
On 11/08/2017 20:43, Linus Torvalds wrote:
> On Fri, Aug 11, 2017 at 7:16 AM, Daniel Lezcano
> <daniel.lezcano@linaro.org> wrote:
>>
>> The pull request contains the following fixes for 4.13-rc4
> 
> Usually these things go through Thomas, and you did say "Hi Ingo,
> Thomas", so I'm ignoring this pull request.
> 
> But you *did* cc me, and it's possible that you did so on purpose,
> expecting me to pull because everybody in Europe is on vacation.
> 
> So if you actually expect me to pull directly, please re-send and
> explicitly say so, ok?

You are perfectly right, I was assuming everybody in Europe may be in
vacation, so I let you know the pull request. However, Thomas will be
back August, 14th, so I think you can ignore the pull request.

Thanks.

  -- Daniel

-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

[toc] | [prev] | [next] | [standalone]


#1710076 — Re: [GIT PULL] clockevents: fixes for 4.13-rc4

FromLinus Torvalds <torvalds@linux-foundation.org>
Date2017-08-12 01:00 +0200
SubjectRe: [GIT PULL] clockevents: fixes for 4.13-rc4
Message-ID<udr4m-Ud-7@gated-at.bofh.it>
In reply to#1709984
On Fri, Aug 11, 2017 at 2:44 PM, Daniel Lezcano
<daniel.lezcano@linaro.org> wrote:
>
> You are perfectly right, I was assuming everybody in Europe may be in
> vacation, so I let you know the pull request. However, Thomas will be
> back August, 14th, so I think you can ignore the pull request.

Ok, if the situation changes, re-send it to me and I'll do it directly,

                     Linus

[toc] | [prev] | [next] | [standalone]


#1710101 — Re: [GIT PULL] clockevents: fixes for 4.13-rc4

FromIngo Molnar <mingo@kernel.org>
Date2017-08-12 01:40 +0200
SubjectRe: [GIT PULL] clockevents: fixes for 4.13-rc4
Message-ID<udrH4-1oI-19@gated-at.bofh.it>
In reply to#1709984
* Daniel Lezcano <daniel.lezcano@linaro.org> wrote:

> On 11/08/2017 20:43, Linus Torvalds wrote:
> > On Fri, Aug 11, 2017 at 7:16 AM, Daniel Lezcano
> > <daniel.lezcano@linaro.org> wrote:
> >>
> >> The pull request contains the following fixes for 4.13-rc4
> > 
> > Usually these things go through Thomas, and you did say "Hi Ingo,
> > Thomas", so I'm ignoring this pull request.
> > 
> > But you *did* cc me, and it's possible that you did so on purpose,
> > expecting me to pull because everybody in Europe is on vacation.
> > 
> > So if you actually expect me to pull directly, please re-send and
> > explicitly say so, ok?
> 
> You are perfectly right, I was assuming everybody in Europe may be in
> vacation, so I let you know the pull request. However, Thomas will be
> back August, 14th, so I think you can ignore the pull request.

I'm back and my plan is to take a look and pull it tomorrow.

Thanks,

	Ingo

[toc] | [prev] | [next] | [standalone]


#1709658 — [PATCH 1/5] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 16:20 +0200
Subject[PATCH 1/5] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization
Message-ID<udiX7-4AP-9@gated-at.bofh.it>
In reply to#1709656
From: Matthias Kaehlcke <mka@chromium.org>

The loop to find the best memory frame in arch_timer_mem_acpi_init()
initializes the loop counter with itself ('i = i'), which is suspicious
in the first place and pointed out by clang. The loop condition is
'i < timer_count' and a prior for loop exits when 'i' reaches
'timer_count', therefore the second loop is never executed.

Initialize the loop counter with 0 to iterate over all timers, which
supposedly was the intention before the typo monster attacked.

Fixes: c2743a36765d3 ("clocksource: arm_arch_timer: add GTDT support for memory-mapped timer")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reported-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/arm_arch_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index aae87c4..72bbfcc 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -1440,7 +1440,7 @@ static int __init arch_timer_mem_acpi_init(int platform_timer_count)
 	 * While unlikely, it's theoretically possible that none of the frames
 	 * in a timer expose the combination of feature we want.
 	 */
-	for (i = i; i < timer_count; i++) {
+	for (i = 0; i < timer_count; i++) {
 		timer = &timers[i];
 
 		frame = arch_timer_mem_find_best_frame(timer);
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


#1709662 — [PATCH 5/5] clocksource/drivers/arm_arch_timer: Avoid infinite recursion when ftrace is enabled

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 16:20 +0200
Subject[PATCH 5/5] clocksource/drivers/arm_arch_timer: Avoid infinite recursion when ftrace is enabled
Message-ID<udiX8-4AP-19@gated-at.bofh.it>
In reply to#1709658
From: Ding Tianhong <dingtianhong@huawei.com>

On platforms with an arch timer erratum workaround, it's possible for
arch_timer_reg_read_stable() to recurse into itself when certain
tracing options are enabled, leading to stack overflows and related
problems.

For example, when PREEMPT_TRACER and FUNCTION_GRAPH_TRACER are
selected, it's possible to trigger this with:

$ mount -t debugfs nodev /sys/kernel/debug/
$ echo function_graph > /sys/kernel/debug/tracing/current_tracer

The problem is that in such cases, preempt_disable() instrumentation
attempts to acquire a timestamp via trace_clock(), resulting in a call
back to arch_timer_reg_read_stable(), and hence recursion.

This patch changes arch_timer_reg_read_stable() to use
preempt_{disable,enable}_notrace(), which avoids this.

This problem is similar to the fixed by upstream commit 96b3d28bf4
("sched/clock: Prevent tracing recursion in sched_clock_cpu()").

Fixes: 6acc71ccac71 ("arm64: arch_timer: Allows a CPU-specific erratum to only affect a subset of CPUs")
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 arch/arm64/include/asm/arch_timer.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/include/asm/arch_timer.h b/arch/arm64/include/asm/arch_timer.h
index 74d08e4..a652ce0 100644
--- a/arch/arm64/include/asm/arch_timer.h
+++ b/arch/arm64/include/asm/arch_timer.h
@@ -65,13 +65,13 @@ DECLARE_PER_CPU(const struct arch_timer_erratum_workaround *,
 	u64 _val;							\
 	if (needs_unstable_timer_counter_workaround()) {		\
 		const struct arch_timer_erratum_workaround *wa;		\
-		preempt_disable();					\
+		preempt_disable_notrace();				\
 		wa = __this_cpu_read(timer_unstable_counter_workaround); \
 		if (wa && wa->read_##reg)				\
 			_val = wa->read_##reg();			\
 		else							\
 			_val = read_sysreg(reg);			\
-		preempt_enable();					\
+		preempt_enable_notrace();				\
 	} else {							\
 		_val = read_sysreg(reg);				\
 	}								\
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


#1709664 — [PATCH 2/5] clocksource/drivers/em_sti: Fix error return codes in em_sti_probe()

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 16:20 +0200
Subject[PATCH 2/5] clocksource/drivers/em_sti: Fix error return codes in em_sti_probe()
Message-ID<udiX8-4AP-25@gated-at.bofh.it>
In reply to#1709658
From: "Gustavo A. R. Silva" <garsilva@embeddedor.com>

Propagate the return values of platform_get_irq and devm_request_irq on
failure.

Cc: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/em_sti.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c
index bc48cbf..269db74 100644
--- a/drivers/clocksource/em_sti.c
+++ b/drivers/clocksource/em_sti.c
@@ -305,7 +305,7 @@ static int em_sti_probe(struct platform_device *pdev)
 	irq = platform_get_irq(pdev, 0);
 	if (irq < 0) {
 		dev_err(&pdev->dev, "failed to get irq\n");
-		return -EINVAL;
+		return irq;
 	}
 
 	/* map memory, let base point to the STI instance */
@@ -314,11 +314,12 @@ static int em_sti_probe(struct platform_device *pdev)
 	if (IS_ERR(p->base))
 		return PTR_ERR(p->base);
 
-	if (devm_request_irq(&pdev->dev, irq, em_sti_interrupt,
-			     IRQF_TIMER | IRQF_IRQPOLL | IRQF_NOBALANCING,
-			     dev_name(&pdev->dev), p)) {
+	ret = devm_request_irq(&pdev->dev, irq, em_sti_interrupt,
+			       IRQF_TIMER | IRQF_IRQPOLL | IRQF_NOBALANCING,
+			       dev_name(&pdev->dev), p);
+	if (ret) {
 		dev_err(&pdev->dev, "failed to request low IRQ\n");
-		return -ENOENT;
+		return ret;
 	}
 
 	/* get hold of clock */
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


#1709665 — [PATCH 3/5] clocksource/drivers/timer-of: Checking for IS_ERR() instead of NULL

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 16:20 +0200
Subject[PATCH 3/5] clocksource/drivers/timer-of: Checking for IS_ERR() instead of NULL
Message-ID<udiX8-4AP-31@gated-at.bofh.it>
In reply to#1709658
From: Dan Carpenter <dan.carpenter@oracle.com>

The current code checks the return value of the of_io_request_and_map()
function as it was returning a NULL pointer in case of error.

However, it returns an error code encoded in the pointer return value, not a
NULL value. Fix this by checking the returned pointer against IS_ERR() and
return the error with PTR_ERR().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/timer-of.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/timer-of.c b/drivers/clocksource/timer-of.c
index d509b50..4d7aef9 100644
--- a/drivers/clocksource/timer-of.c
+++ b/drivers/clocksource/timer-of.c
@@ -128,9 +128,9 @@ static __init int timer_base_init(struct device_node *np,
 	const char *name = of_base->name ? of_base->name : np->full_name;
 
 	of_base->base = of_io_request_and_map(np, of_base->index, name);
-	if (!of_base->base) {
+	if (IS_ERR(of_base->base)) {
 		pr_err("Failed to iomap (%s)\n", name);
-		return -ENXIO;
+		return PTR_ERR(of_base->base);
 	}
 
 	return 0;
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


#1709667 — [PATCH 4/5] clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-08-11 16:20 +0200
Subject[PATCH 4/5] clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies
Message-ID<udiX8-4AP-35@gated-at.bofh.it>
In reply to#1709658
From: Matt Redfearn <matt.redfearn@imgtec.com>

In v4.13, CLKSRC_PISTACHIO can select TIMER_OF on architectures without
GENERIC_CLOCKEVENTS, resulting in a struct clock_event_device missing
some required features and build breakage compiling timer_of.c. One of
the symbols selecting TIMER_OF is CLKSRC_PISTACHIO, so add the
dependency on GENERIC_CLOCKEVENTS.

Thanks to kbuild test robot for finding this error
(https://lkml.org/lkml/2017/7/16/249)

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Suggested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index fcae5ca..54a67f8 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -262,7 +262,7 @@ config CLKSRC_LPC32XX
 
 config CLKSRC_PISTACHIO
 	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
-	depends on HAS_IOMEM
+	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
 	select TIMER_OF
 	help
 	  Enables the clocksource for the Pistachio SoC.
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


#1710464 — Re: [GIT PULL] clockevents: fixes for 4.13-rc4

FromIngo Molnar <mingo@kernel.org>
Date2017-08-13 11:50 +0200
SubjectRe: [GIT PULL] clockevents: fixes for 4.13-rc4
Message-ID<udXGW-5y4-9@gated-at.bofh.it>
In reply to#1709656
* Daniel Lezcano <daniel.lezcano@linaro.org> wrote:

> Hi Ingo, Thomas,
> 
> The pull request contains the following fixes for 4.13-rc4
> 
>  - Fix error check against IS_ERR() instead of NULL for the timer-of code
>    (Dan Carpenter)
> 
>  - Fix infinite recusion with ftrace for the ARM architected timer (Ding
>    Tianhong)
> 
>  - Fix the error code return in the em_sti's probe function (Gustavo A. R.
>    Silva)
> 
>  - Fix Kconfig dependency for the pistachio driver (Matt Redfearn).
> 
>  - Fix mem frame loop initialization for the ARM architected timer (Matthias
>    Kaehlcke)

>  arch/arm64/include/asm/arch_timer.h  |  4 ++--
>  drivers/clocksource/Kconfig          |  2 +-
>  drivers/clocksource/arm_arch_timer.c |  2 +-
>  drivers/clocksource/em_sti.c         | 11 ++++++-----
>  drivers/clocksource/timer-of.c       |  4 ++--
>  5 files changed, 12 insertions(+), 11 deletions(-)

Pulled into tip:timers/urgent, thanks Daniel!

	Ingo

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web