cxlflash: Base support for IBM CXL Flash Adapter
PATCH v6 1/1 cxlflash: Base support for IBM CXL Flash Adapter
SCSI device driver to support filesystem access on the IBM CXL Flash adapter.
--- drivers/scsi/Kconfig | 1 + drivers/scsi/Makefile | 1 + drivers/scsi/cxlflash/Kconfig | 11 + drivers/scsi/cxlflash/Makefile | 2 + drivers/scsi/cxlflash/common.h | 181 +++ drivers/scsi/cxlflash/main.c | 2294 +++++++++++++++++++++++++++++++++++++++ drivers/scsi/cxlflash/main.h | 104 ++ drivers/scsi/cxlflash/sislite.h | 465 ++++++++ 8 files changed, 3059 insertions(+) create mode 100644 drivers/scsi/cxlflash/Kconfig create mode 100644 drivers/scsi/cxlflash/Makefile create mode 100644 drivers/scsi/cxlflash/common.h create mode 100644 drivers/scsi/cxlflash/main.c create mode 100644 drivers/scsi/cxlflash/main.h create mode 100755 drivers/scsi/cxlflash/sislite.h
drivers/scsi/Kconfig +1 -0
@@ -345,6 +345,7 @@ source "drivers/scsi/cxgbi/Kconfig" source "drivers/scsi/bnx2i/Kconfig" source "drivers/scsi/bnx2fc/Kconfig" source "drivers/scsi/be2iscsi/Kconfig" +source "drivers/scsi/cxlflash/Kconfig" config SGIWD93_SCSI tristate "SGI WD93C93 SCSI Driver"
drivers/scsi/Makefile +1 -0
@@ -101,6 +101,7 @@ obj-$(CONFIG_SCSI_7000FASST) += wd7000.o obj-$(CONFIG_SCSI_EATA) += eata.o obj-$(CONFIG_SCSI_DC395x) += dc395x.o obj-$(CONFIG_SCSI_AM53C974) += esp_scsi.o am53c974.o +obj-$(CONFIG_CXLFLASH) += cxlflash/ obj-$(CONFIG_MEGARAID_LEGACY) += megaraid.o obj-$(CONFIG_MEGARAID_NEWGEN) += megaraid/ obj-$(CONFIG_MEGARAID_SAS) += megaraid/
drivers/scsi/cxlflash/Kconfig new file +11 -0
@@ -0,0 +1,11 @@ +# +# IBM CXL-attached Flash Accelerator SCSI Driver +# + +config CXLFLASH + tristate "Support for IBM CAPI Flash" + depends on PCI && SCSI && CXL + default m + help + Allows CAPI Accelerated IO to Flash + If unsure, say N.
drivers/scsi/cxlflash/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +obj-$(CONFIG_CXLFLASH) += cxlflash.o +cxlflash-y += main.o
drivers/scsi/cxlflash/common.h new file +181 -0
181 lines not on this page · raw message
drivers/scsi/cxlflash/main.c new file +2294 -0
2,294 lines not on this page · raw message
drivers/scsi/cxlflash/main.h new file +104 -0
104 lines not on this page · raw message
drivers/scsi/cxlflash/sislite.h new file +465 -0
394 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.1.0
Part of the diff is not shown here. View the raw message.
Looks good.
-Brian
Signature · 3 lines
Brian King Power Linux I/O IBM Linux Technology Center
Quoted 6 lines · Matthew R. Ochs
SCSI device driver to support filesystem access on the IBM CXL Flash adapter.
Supported-by Stephen Bates <[email protected]>Reviewed-by Michael Neuling <[email protected]>Signed-off-by Matthew R. Ochs <[email protected]>Signed-off-by Manoj N. Kumar <[email protected]>
Hi James,
This driver is dependent on a bunch of core cxl support going in the powerpc tree. Are you OK with this going through the powerpc tree so they can both go in a single pull request to Linus?
Are there any additional discussion points or issues you think need to be resolved before that happens, or should Michael look at queuing this up for -next?
Thanks,
Brian
Signature · 3 lines
Brian King Power Linux I/O IBM Linux Technology Center
James Bottomley
maintainerQuoted 6 lines · Matthew R. Ochs
SCSI device driver to support filesystem access on the IBM CXL Flash adapter.
Supported-by Stephen Bates <[email protected]>Reviewed-by Michael Neuling <[email protected]>Signed-off-by Matthew R. Ochs <[email protected]>Signed-off-by Manoj N. Kumar <[email protected]>
Quoted 16 lines
--- drivers/scsi/Kconfig | 1 + drivers/scsi/Makefile | 1 + drivers/scsi/cxlflash/Kconfig | 11 + drivers/scsi/cxlflash/Makefile | 2 + drivers/scsi/cxlflash/common.h | 181 +++ drivers/scsi/cxlflash/main.c | 2294 +++++++++++++++++++++++++++++++++++++++ drivers/scsi/cxlflash/main.h | 104 ++ drivers/scsi/cxlflash/sislite.h | 465 ++++++++ 8 files changed, 3059 insertions(+) create mode 100644 drivers/scsi/cxlflash/Kconfig create mode 100644 drivers/scsi/cxlflash/Makefile create mode 100644 drivers/scsi/cxlflash/common.h create mode 100644 drivers/scsi/cxlflash/main.c create mode 100644 drivers/scsi/cxlflash/main.h create mode 100755 drivers/scsi/cxlflash/sislite.h
That last one shows execute permission on a header file, which is a big no-no. checkpatch would have given you an error for this ... please use it next time. I fixed this up when applying.
James