Commit 5889798
scsi: qedf: Make qedf_execute_tmf() non-preemptible
BugLink: https://bugs.launchpad.net/bugs/2077600
[ Upstream commit 0d8b637 ]
Stop calling smp_processor_id() from preemptible code in
qedf_execute_tmf90. This results in BUG_ON() when running an RT kernel.
[ 659.343280] BUG: using smp_processor_id() in preemptible [00000000] code: sg_reset/3646
[ 659.343282] caller is qedf_execute_tmf+0x8b/0x360 [qedf]
Tested-by: Guangwu Zhang <[email protected]>
Cc: Saurav Kashyap <[email protected]>
Cc: Nilesh Javali <[email protected]>
Signed-off-by: John Meneghini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Saurav Kashyap <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Portia Stephens <[email protected]>
Signed-off-by: Roxana Nicolescu <[email protected]>1 parent 2fb4fb8 commit 5889798
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2324 | 2324 | | |
2325 | 2325 | | |
2326 | 2326 | | |
2327 | | - | |
2328 | | - | |
2329 | | - | |
2330 | 2327 | | |
2331 | 2328 | | |
2332 | 2329 | | |
| |||
2349 | 2346 | | |
2350 | 2347 | | |
2351 | 2348 | | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
2352 | 2352 | | |
2353 | 2353 | | |
2354 | 2354 | | |
| |||
0 commit comments