linux-stable/drivers/scsi/mpt3sas
Sreekanth Reddy 1a2dcbdde8 scsi: mpt3sas: re-do lost mpt3sas DMA mask fix
This is a re-do of commit e0e0747de0 ("scsi: mpt3sas: Fix return value
check of dma_get_required_mask()"), which I ended up undoing in a
mis-merge in commit 62e6e5940c ("Merge tag 'scsi-misc' of
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi").

The original commit message was

  scsi: mpt3sas: Fix return value check of dma_get_required_mask()

  Fix the incorrect return value check of dma_get_required_mask().  Due to
  this incorrect check, the driver was always setting the DMA mask to 63 bit.

  Link: https://lore.kernel.org/r/20220913120538.18759-2-sreekanth.reddy@broadcom.com
  Fixes: ba27c5cf28 ("scsi: mpt3sas: Don't change the DMA coherent mask after allocations")
  Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
  Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

and this fix was lost when I mis-merged the conflict with commit
9df650963b ("scsi: mpt3sas: Don't change DMA mask while reallocating
pools").

Reported-by: Juergen Gross <jgross@suse.com>
Fixes: 62e6e5940c ("Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi")
Link: https://lore.kernel.org/all/CAHk-=wjaK-TxrNaGtFDpL9qNHL1MVkWXO1TT6vObD5tXMSC4Zg@mail.gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-10-25 00:33:16 -07:00
..
mpi scsi: mpt3sas: Add support for ATTO ExpressSAS H12xx GT devices 2022-08-31 23:39:57 -04:00
Kconfig
Makefile
mpt3sas_base.c scsi: mpt3sas: re-do lost mpt3sas DMA mask fix 2022-10-25 00:33:16 -07:00
mpt3sas_base.h scsi: mpt3sas: Update driver version to 43.100.00.00 2022-09-01 00:15:47 -04:00
mpt3sas_config.c scsi: mpt3sas: Add support for ATTO ExpressSAS H12xx GT devices 2022-08-31 23:39:57 -04:00
mpt3sas_ctl.c scsi: mpt3sas: Fix trace buffer registration failed 2022-09-01 00:15:46 -04:00
mpt3sas_ctl.h
mpt3sas_debug.h
mpt3sas_debugfs.c
mpt3sas_scsih.c SCSI misc on 20221007 2022-10-07 12:33:18 -07:00
mpt3sas_transport.c
mpt3sas_trigger_diag.c
mpt3sas_trigger_diag.h
mpt3sas_trigger_pages.h
mpt3sas_warpdrive.c