summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_branch.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-12-17 15:15:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-12-17 19:42:47 +0900
commit1cf215a5b43950d1a304373037828158057ff9fc (patch)
treeaf83e755e95a57639d7336306f9bdbe4b8cc295a /kernel/trace/trace_branch.c
parent676b14c36de5bea83f7666e5f5965188426b97a7 (diff)
downloadblackbird-op-linux-1cf215a5b43950d1a304373037828158057ff9fc.tar.gz
blackbird-op-linux-1cf215a5b43950d1a304373037828158057ff9fc.zip
ARM: mach-shmobile: INTC interrupt priority level demux fix
Fix interrupt priority level handling on SH-Mobile ARM. SH-Mobile ARM platforms using multiple interrupt priority levels need this patch to fix a potential dead lock that may occur if multiple interrupts with different levels are pending simultaneously. The default INTC configuration is to use the same priority level for all interrupts, so this issue does not trigger by default. It is however common for board code to override the interrupt priority for certain interrupt sources depending on the application. Without this fix such boards may lock up. In detail, this patch updates the INTC code in entry-macro.S to make sure that the INTLVLA register gets set as expected. To trigger this bug modify the board specific code to adjust the interrupt priority level for the ethernet chip. After changing the priority level simply use flood ping to drown the board with interrupts. This patch applies to INTCA-based processors such as sh7372, sh7377 and sh7372. GIC-based processors are not affected. Suitable for v2.6.37-rc and stable from v2.6.34 to v2.6.36. Cc: stable@kernel.org Signed-off-by: Magnus Damm <damm@opensource.se> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'kernel/trace/trace_branch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud