diff options
| author | Christoph Hellwig <[email protected]> | 2023-02-13 05:58:33 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2023-02-14 05:36:40 +0000 |
| commit | 924bd96ea27d53706147a94b8e576080535785df (patch) | |
| tree | 545d5e661ed496d7bcfc4172a65a093cec883a29 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | nvme-pci: add bogus ID quirk for ADATA SX6000PNP (diff) | |
| download | kernel-924bd96ea27d53706147a94b8e576080535785df.tar.gz kernel-924bd96ea27d53706147a94b8e576080535785df.zip | |
nvme-pci: set the DMA mask earlier
Set the DMA mask before calling dma_addressing_limited, which depends on it.
Note that this stop checking the return value of dma_set_mask_and_coherent
as this function can only fail for masks < 32-bit.
Fixes: 3f30a79c2e2c ("nvme-pci: set constant paramters in nvme_pci_alloc_ctrl")
Reported-by: Michael Kelley <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
