[linux-yocto] [PATCH 0/2]Yocto-linux-rt: Run irq-work under softirq context in rt on ARM/PowerPC
xufeng.zhang at windriver.com
Wed Apr 24 01:00:29 PDT 2013
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 was recorded in Yocto bugzilla as Bug #4406.
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(-)
More information about the linux-yocto