diff options
author | Vidya Sagar <vidyas@nvidia.com> | 2020-11-17 19:53:12 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-12-10 14:47:26 +0300 |
commit | 660c486590aa4190969653218643b3a4e5660f2b (patch) | |
tree | 918d9903b315a38a93c1358dad19b51b1870cb0a /drivers/pci/controller/dwc/pci-dra7xx.c | |
parent | 4c9398822106c366d88c8c68ddf44bd371d39961 (diff) | |
download | linux-660c486590aa4190969653218643b3a4e5660f2b.tar.xz |
PCI: dwc: Set 32-bit DMA mask for MSI target address allocation
Set DMA mask to 32-bit while allocating the MSI target address so that
the address is usable for both 32-bit and 64-bit MSI capable devices.
Throw a warning if it fails to set the mask to 32-bit to alert that
devices that are only 32-bit MSI capable may not work properly.
Link: https://lore.kernel.org/r/20201117165312.25847-1-vidyas@nvidia.com
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-dra7xx.c')
0 files changed, 0 insertions, 0 deletions