[linux-yocto] [PATCH 0/2]Yocto-linux-rt: Run irq-work under softirq context in rt on ARM/PowerPC
bruce.ashfield at windriver.com
Wed Apr 24 07:41:58 PDT 2013
On 13-04-24 04:00 AM, Xufeng Zhang wrote:
> These two patches were created to fix one kernel warning in rt kernel.
> This "sleeping function called from invalid context" warning could be
> reproduced easily by running "perf top" command on ARM or PowerPC platforms
> after CONFIG_DEBUG_ATOMIC_SLEEP is enabled.
> Since x86 has already fixed this problem by handling the pending perf events
> under softirq context, we can do the same way on ARM and PowerPC to avoid
> this bug.
> This bug was recorded in Yocto bugzilla as Bug #4406.
Thanks. I've staged the patches here, they'll be pushed out in the
next few days.
> Xufeng Zhang (2):
> arm/perf: run irq-work under softirq context in rt
> powerpc/perf: run irq-work under softirq context in rt
> arch/arm/kernel/perf_event_v6.c | 2 ++
> arch/arm/kernel/perf_event_v7.c | 2 ++
> arch/arm/kernel/perf_event_xscale.c | 4 ++++
> arch/powerpc/kernel/time.c | 2 ++
> 4 files changed, 10 insertions(+), 0 deletions(-)
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
More information about the linux-yocto