[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:

nvme_fc: add module to ops template to allow module references

was pulled into Focal as part of this bug:

and this commit into Focal:

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

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

 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(-)


More information about the kernel-team mailing list