These patches are based on Martin Petersen's 6.4/scsi-queue tree https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git 6.4/scsi-queue This set of changes consists of: * Map entire BAR 0. The driver was mapping up to and including the controller registers, but not all of BAR 0. * Add PCI IDs to support new controllers. * Clean up some code by removing unnecessary NULL checks. This cleanup is a result of a Coverity report. * Correct a rare memory leak whenever pqi_sas_port_add_rhpy() returns an error. This was Suggested by: Yang Yingliang <yangyingliang@xxxxxxxxxx> * Remove atomic operations on variable raid_bypass_cnt. Accuracy is not required for driver operation. Change type from atomic_t to unsigned int. * Correct a rare drive hot-plug removal issue where we get a NULL io_request. We added a check for this condition. * Turn on NCQ priority for AIO requests to disks comprising RAID devices. * Correct byte aligned writew() operations on some ARM servers. Changed the writew() to two writeb() operations. * Change how the driver checks for a sanitize operation in progress. We were using TEST UNIT READY. We removed the TEST UNIT READY code and are now using the controller's firmware information in order to avoid issues caused by drives failing to complete TEST UNIT READY. * Some customers have been requesting that we add the NUMA node to /sys/block/sd<scsi device>/device like the nvme driver does. * Update the copyright information to match the current year. * Bump the driver version to 2.1.22-040. --- David Strahan (1): smartpqi: Add new controller PCI IDs Don Brace (5): smartpqi: fix-rare-sas-transport-mem-leak smartpqi: fix byte aligned writew for ARM servers smartpqi: Add sysfs entry for numa node in /sys/block/sdX/device. smartpqi: update copyright to 2023 smartpqi: update version to 2.1.22-040 Gilbert Wu (1): smartpqi: Add support for RAID NCQ priority Kevin Barnett (2): smartpqi: remove null pointer check smartpqi: stop sending driver initiated TURs Mike McGowen (2): smartpqi: map full length of PCI BAR 0 smartpqi: Remove contention for raid_bypass_cnt Murthy Bhat (1): smartpqi: validate block layer host tag drivers/scsi/smartpqi/Kconfig | 2 +- drivers/scsi/smartpqi/smartpqi.h | 6 +- drivers/scsi/smartpqi/smartpqi_init.c | 284 ++++++++++-------- .../scsi/smartpqi/smartpqi_sas_transport.c | 34 +-- drivers/scsi/smartpqi/smartpqi_sis.c | 2 +- drivers/scsi/smartpqi/smartpqi_sis.h | 2 +- 6 files changed, 178 insertions(+), 152 deletions(-) -- 2.40.1.375.g9ce9dea4e1