linux_dsm_epyc7002/drivers/scsi/qla2xxx
Bart Van Assche 8653188763 scsi: qla2xxx: Suppress a kernel complaint in qla_init_base_qpair()
Avoid that the following is reported while loading the qla2xxx
kernel module:

BUG: using smp_processor_id() in preemptible [00000000] code: modprobe/783
caller is debug_smp_processor_id+0x17/0x20
CPU: 7 PID: 783 Comm: modprobe Not tainted 4.14.0-rc8-dbg+ #2
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
Call Trace:
 dump_stack+0x8e/0xce
 check_preemption_disabled+0xe3/0xf0
 debug_smp_processor_id+0x17/0x20
 qla2x00_probe_one+0xf43/0x26c0 [qla2xxx]
 pci_device_probe+0xca/0x140
 driver_probe_device+0x2e2/0x440
 __driver_attach+0xa3/0xe0
 bus_for_each_dev+0x5f/0x90
 driver_attach+0x19/0x20
 bus_add_driver+0x1c0/0x260
 driver_register+0x5b/0xd0
 __pci_register_driver+0x63/0x70
 qla2x00_module_init+0x1d6/0x222 [qla2xxx]
 do_one_initcall+0x3c/0x163
 do_init_module+0x55/0x1eb
 load_module+0x20a2/0x2890
 SYSC_finit_module+0xd7/0xf0
 SyS_finit_module+0x9/0x10
 entry_SYSCALL_64_fastpath+0x23/0xc2

Fixes: commit 8abfa9e226 ("scsi: qla2xxx: Add function call to qpair for door bell")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Quinn Tran <quinn.tran@cavium.com>
Cc: Himanshu Madhani <himanshu.madhani@cavium.com>
Cc: <stable@vger.kernel.org>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-11-06 23:07:26 -05:00
..
Kconfig scsi: qla2xxx: avoid unused-function warning 2017-07-01 17:14:58 -04:00
Makefile scsi: qla2xxx: Add FC-NVMe F/W initialization and transport registration 2017-06-27 21:21:47 -04:00
qla_attr.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_bsg.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_bsg.h qla2xxx: Add bsg interface to support statistics counter reset. 2016-07-15 15:35:37 -04:00
qla_dbg.c scsi: qla2xxx: Remove potential macro parameter side-effect in ql_dump_regs() 2017-08-24 22:29:28 -04:00
qla_dbg.h scsi: qla2xxx: Include Exchange offload/Extended Login into FW dump 2017-06-27 21:21:41 -04:00
qla_def.h scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Move target stat counters from vha to qpair. 2017-06-27 21:21:41 -04:00
qla_fw.h scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_gbl.h scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_gs.c scsi: qla2xxx: Recheck session state after RSCN 2017-08-24 22:29:31 -04:00
qla_init.c scsi: qla2xxx: Use ql2xnvmeenable to enable Q-Pair for FC-NVMe 2017-10-16 23:05:14 -04:00
qla_inline.h scsi: qla2xxx: Add function call to qpair for door bell 2017-06-27 21:21:41 -04:00
qla_iocb.c scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_isr.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_mbx.c scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_mid.c scsi: qla2xxx: Use ql2xnvmeenable to enable Q-Pair for FC-NVMe 2017-10-16 23:05:14 -04:00
qla_mr.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_mr.h
qla_nvme.c scsi: qla2xxx: Fix WWPN/WWNN in debug message 2017-08-24 22:29:19 -04:00
qla_nvme.h scsi: qla2xxx: Move function prototype to correct header 2017-08-07 14:04:02 -04:00
qla_nx2.c scsi: qla2xxx: fix a bunch of typos and spelling mistakes 2017-07-01 17:12:31 -04:00
qla_nx2.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx.c scsi: qla2xxx: fix a bunch of typos and spelling mistakes 2017-07-01 17:12:31 -04:00
qla_nx.h scsi: qla2xxx: remove writeq/readq function definitions 2017-06-12 20:48:08 -04:00
qla_os.c scsi: qla2xxx: Suppress a kernel complaint in qla_init_base_qpair() 2017-11-06 23:07:26 -05:00
qla_settings.h
qla_sup.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
qla_target.c scsi: qla2xxx: Add ATIO-Q processing for INTx mode 2017-10-16 22:55:30 -04:00
qla_target.h scsi: qla2xxx: Cleanup NPIV host in target mode during config teardown 2017-08-24 22:29:30 -04:00
qla_tmpl.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_tmpl.h
qla_version.h scsi: qla2xxx: Update driver version to 10.00.00.02-k 2017-10-16 23:02:52 -04:00
tcm_qla2xxx.c qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd use during TMR ABORT (v2) 2017-07-30 16:48:43 -07:00
tcm_qla2xxx.h qla2xxx: Track I-T nexus as single fc_port struct 2017-02-08 23:34:07 -08:00