scsi: mpt3sas: Don't change DMA mask while reallocating pools
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Thu, 25 Aug 2022 07:54:54 +0000 (13:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:57:40 +0000 (13:57 +0100)
commitde1afc58a90567bab72d824893e8ce0abfe27096
tree84641ad53ea46405868064e6c2f3be7272740f45
parent8e6612ff8b5d016d9ca6b10eb3cf5277e482ac7b
scsi: mpt3sas: Don't change DMA mask while reallocating pools

commit 9df650963bf6d6c2c3fcd325d8c44ca2b99554fe upstream.

When a pool crosses the 4GB boundary region then before reallocating pools
change the coherent DMA mask to 32 bits and keep the normal DMA mask set to
63/64 bits.

Link: https://lore.kernel.org/r/20220825075457.16422-2-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/mpt3sas/mpt3sas_base.c