summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2012-04-27 10:48:46 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:38:49 (GMT)
commit5a3a00c45bd50765c93904bbbd17b77561fe9132 (patch)
tree9a6ac74621a65c578389f3527fa9e398a5e0fd7c /net
parent79bdef6e6ecd2e3c2be5990976b4d9b8202aff39 (diff)
downloadlinux-fsl-qoriq-5a3a00c45bd50765c93904bbbd17b77561fe9132.tar.xz
scsi: qla2xxx: Use local_irq_save_nort() in qla2x00_poll
RT triggers the following: [ 11.307652] [<ffffffff81077b27>] __might_sleep+0xe7/0x110 [ 11.307663] [<ffffffff8150e524>] rt_spin_lock+0x24/0x60 [ 11.307670] [<ffffffff8150da78>] ? rt_spin_lock_slowunlock+0x78/0x90 [ 11.307703] [<ffffffffa0272d83>] qla24xx_intr_handler+0x63/0x2d0 [qla2xxx] [ 11.307736] [<ffffffffa0262307>] qla2x00_poll+0x67/0x90 [qla2xxx] Function qla2x00_poll does local_irq_save() before calling qla24xx_intr_handler which has a spinlock. Since spinlocks are sleepable on rt, it is not allowed to call them with interrupts disabled. Therefore we use local_irq_save_nort() instead which saves flags without disabling interrupts. This fix needs to be applied to v3.0-rt, v3.2-rt and v3.4-rt Suggested-by: Thomas Gleixner Signed-off-by: John Kacur <jkacur@redhat.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: David Sommerseth <davids@redhat.com> Link: http://lkml.kernel.org/r/1335523726-10024-1-git-send-email-jkacur@redhat.com Cc: stable-rt@vger.kernel.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions