Skip to contentSkip to conversation

scsi: lpfc: Add auto select on IRQ_POLL

PATCH Applied Tong Zhang 3 participants 4 messages Jan 26, 2021 – Jan 29, 2021 SCSI

lore
Share & tools
lore

Tong Zhang

author
#0 lore raw

PATCH 1/1 scsi: lpfc: Add auto select on IRQ_POLL

lpfc depends on irq_poll library, but it is not selected automatically. When irq_poll is not selected, compiling it can run into following error

ERROR: modpost: "irq_poll_init" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_sched" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_complete" [drivers/scsi/lpfc/lpfc.ko] undefined!

---
 drivers/scsi/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/scsi/Kconfig +1 -0
index 701b61ec76ee..c79ac0731b13 100644
@@ -1159,6 +1159,7 @@ config SCSI_LPFC
 	depends on NVME_TARGET_FC || NVME_TARGET_FC=n
 	depends on NVME_FC || NVME_FC=n
 	select CRC_T10DIF
+	select IRQ_POLL
 	help
           This lpfc driver supports the Emulex LightPulse
           Family of Fibre Channel PCI host adapters.
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Tong Zhang

lpfc depends on irq_poll library, but it is not selected automatically. When irq_poll is not selected, compiling it can run into following error

ERROR: modpost: "irq_poll_init" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_sched" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_complete" [drivers/scsi/lpfc/lpfc.ko] undefined!

---
  drivers/scsi/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/scsi/Kconfig +0 -0
index 701b61ec76ee..c79ac0731b13 100644

drivers/scsi/Kconfig config SCSI_LPFC · line 1165

Quoted 7 lines
drivers/scsi/Kconfig +1 -0
@@ -1159,6 +1159,7 @@ config SCSI_LPFC
  	depends on NVME_TARGET_FC || NVME_TARGET_FC=n
  	depends on NVME_FC || NVME_FC=n
  	select CRC_T10DIF
+	select IRQ_POLL
  	help
            This lpfc driver supports the Emulex LightPulse
            Family of Fibre Channel PCI host adapters.

-- james

#2 lore raw
In reply to Tong Zhang

Tong,

Quoted 3 lines

lpfc depends on irq_poll library, but it is not selected automatically. When irq_poll is not selected, compiling it can run into following error

Applied to 5.12/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#3 lore raw
In reply to Tong Zhang
Quoted 6 lines · Tong Zhang

lpfc depends on irq_poll library, but it is not selected automatically. When irq_poll is not selected, compiling it can run into following error

ERROR: modpost: "irq_poll_init" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_sched" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_complete" [drivers/scsi/lpfc/lpfc.ko] undefined!

Applied to 5.12/scsi-queue, thanks!

[1/1] scsi: lpfc: Add auto select on IRQ_POLL

      https://git.kernel.org/mkp/scsi/c/fad0a16130b6
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering