This patch set contains various fixes and corrections for issues that were found during test and code review. The series is based upon the code upstreamed in 4.3 (rebased to Dan Carpenter's 9/22 patch) and is intended for 4.4. The entire set is bisectable. Please reference the changelog below for details on what has been altered from previous versions of this patch set. v6 Changes: - Added patch to avoid corrupting the port selection mask - Added patch to properly initialize the TMF spin lock - Added patch to remove possibility of skipping context cleanup - No change to patches present in v5 v5 Changes: - Incorporate comments from Daniel Axtens - Incorporate comments from Andrew Donnellan - Added additional clarifications to several commit messages - Specified some return codes as failures in "Fix function prolog..." - Made port online failure noisier in "Remove dual port online..." - Added patch to properly cleanup when encountering an unsupported AFU - Added patch to escalate a link reset on login timeout v4 Changes: - Incorporate comments from Brian King - Removed unnecessary check_state() parameter from "Fix to avoid CXL..." - Added patch to fix potential deadlock on EEH - Removed patch to avoid state change collision - Changed fops initialization location in "Fix to avoid corrupting..." v3 Changes: - Rebased the series on top of patch by Dan Carpenter ("a couple off...") - Incorporate comments from David Laight - Incorporate comments from Tomas Henzl - Incorporate comments from Brian King - Removed patch to stop interrupt processing on remove - Removed double scsi_device_put() from "Fix potential oops" - Fixed usage of scnprintf() in "Refine host/device attributes" - Removed unnecessary parenthesis from "Fix read capacity timeout" - Added patch to use correct operator for doubling delay - Changed location of cancel_work_sync() in "Fix to prevent workq..." - Removed local mutex from cxlflash_afu_sync() in "Fix to avoid state..." - Added patch to correctly identify a failed function in a trace - Added patch to fix a fops corruption bug v2 Changes: - Incorporate comments from Ian Munsie - Rework commit messages to be more descriptive - Add state change serialization patch Manoj Kumar (5): cxlflash: Fix to avoid invalid port_sel value cxlflash: Replace magic numbers with literals cxlflash: Fix read capacity timeout cxlflash: Fix to double the delay each time cxlflash: Fix to escalate to LINK_RESET on login timeout Matthew R. Ochs (32): cxlflash: Fix potential oops following LUN removal cxlflash: Fix data corruption when vLUN used over multiple cards cxlflash: Fix to avoid sizeof(bool) cxlflash: Fix context encode mask width cxlflash: Fix to avoid CXL services during EEH cxlflash: Correct naming of limbo state and waitq cxlflash: Make functions static cxlflash: Refine host/device attributes cxlflash: Fix to avoid spamming the kernel log cxlflash: Fix to avoid stall while waiting on TMF cxlflash: Fix location of setting resid cxlflash: Fix host link up event handling cxlflash: Fix async interrupt bypass logic cxlflash: Remove dual port online dependency cxlflash: Fix AFU version access/storage and add check cxlflash: Correct usage of scsi_host_put() cxlflash: Fix to prevent workq from accessing freed memory cxlflash: Correct behavior in device reset handler following EEH cxlflash: Remove unnecessary scsi_block_requests cxlflash: Fix function prolog parameters and return codes cxlflash: Fix MMIO and endianness errors cxlflash: Fix to prevent EEH recovery failure cxlflash: Correct spelling, grammar, and alignment mistakes cxlflash: Fix to prevent stale AFU RRQ MAINTAINERS: Add cxlflash driver cxlflash: Fix to avoid corrupting adapter fops cxlflash: Correct trace string cxlflash: Fix to avoid potential deadlock on EEH cxlflash: Fix to avoid leaving dangling interrupt resources cxlflash: Fix to avoid corrupting port selection mask cxlflash: Fix to avoid lock instrumentation rejection cxlflash: Fix to avoid bypassing context cleanup MAINTAINERS | 9 + drivers/scsi/cxlflash/common.h | 30 +- drivers/scsi/cxlflash/lunmgt.c | 45 +- drivers/scsi/cxlflash/main.c | 1550 ++++++++++++++++++++----------------- drivers/scsi/cxlflash/main.h | 1 + drivers/scsi/cxlflash/sislite.h | 8 +- drivers/scsi/cxlflash/superpipe.c | 209 +++-- drivers/scsi/cxlflash/superpipe.h | 14 +- drivers/scsi/cxlflash/vlun.c | 68 +- 9 files changed, 1075 insertions(+), 859 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html