[PATCH 0/1] nvme_fc patch prevents unloading lpfc module in both BFS and non-BFS scenarios

Jeff Lane jeffrey.lane at canonical.com
Wed Apr 1 15:30:33 UTC 2020


This upstream commit:

863fbae929c7a5b64e96b8a3ffb34a29eefb9f8f
nvme_fc: add module to ops template to allow module references

was pulled into Focal as part of this bug:
https://bugs.launchpad.net/bugs/1860125

and this commit into Focal:
a7441301b20dc8a7772972a092968bb353b7a642

This patch was added to prevent the unloading of lpfc driver when doing NVMe
BFS booting. Broadcom has identified that this patch introduces a bug that
prevents unloading of lpfc driver in the non-BFS case as well.

Because of this, they have asked that we revert this patch and remove it from
our kernel. Additionally, Broadcome have also said that they are working on a
patch upstream to revert this as well. As it may not land upstream in time to
meet kernel freeze for Focal, I'm providing a patch to revert this commit
directly.

Jeff Lane (1):
  Revert "nvme_fc: add module to ops template to allow module
    references"

 drivers/nvme/host/fc.c          | 14 ++------------
 drivers/nvme/target/fcloop.c    |  1 -
 drivers/scsi/lpfc/lpfc_nvme.c   |  2 --
 drivers/scsi/qla2xxx/qla_nvme.c |  1 -
 include/linux/nvme-fc-driver.h  |  4 ----
 5 files changed, 2 insertions(+), 20 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list