diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2022-12-30 17:31:44 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-12-30 17:31:44 +0100 |
commit | a1c7a7cde6c92e42eb2cc8a04a9529c3fe8f19c8 (patch) | |
tree | 7821bf5045ceaccc44d9142042f0f3c2ffc247fb /drivers/scsi/mpt3sas | |
parent | Merge branch '6.2/scsi-queue' into 6.2/scsi-fixes (diff) | |
parent | scsi: mpi3mr: Remove usage of dma_get_required_mask() API (diff) | |
download | linux-a1c7a7cde6c92e42eb2cc8a04a9529c3fe8f19c8.tar.xz linux-a1c7a7cde6c92e42eb2cc8a04a9529c3fe8f19c8.zip |
Merge branch '6.2/mpt-mpi' into 6.2/scsi-fixes
Pull in Broadcom MPI/MPT fixes that conflicted with patch resolution
upstream.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas')
-rw-r--r-- | drivers/scsi/mpt3sas/mpt3sas_base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 4e981ccaac41..69061545d9d2 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -2992,8 +2992,7 @@ _base_config_dma_addressing(struct MPT3SAS_ADAPTER *ioc, struct pci_dev *pdev) struct sysinfo s; u64 coherent_dma_mask, dma_mask; - if (ioc->is_mcpu_endpoint || sizeof(dma_addr_t) == 4 || - dma_get_required_mask(&pdev->dev) <= DMA_BIT_MASK(32)) { + if (ioc->is_mcpu_endpoint || sizeof(dma_addr_t) == 4) { ioc->dma_mask = 32; coherent_dma_mask = dma_mask = DMA_BIT_MASK(32); /* Set 63 bit DMA mask for all SAS3 and SAS35 controllers */ |