]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: tegra: Support MSI 64-bit addressing
authorThierry Reding <treding@nvidia.com>
Thu, 4 May 2017 20:10:31 +0000 (22:10 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:46:20 +0000 (18:46 -0500)
commit0ae8f06ca0d55a48d68facefa9a62190d3f18295
tree799b0b293f7e2ab6ece698bde2c874197d1a3989
parent408bffa960bf9470082160f5b04a7b0c84db4521
PCI: tegra: Support MSI 64-bit addressing

The MSI target address can reside beyond the 32-bit boundary on devices
with more than 2 GiB of system memory.  The PCI host bridge on Tegra can
easily support 64-bit addresses, so make sure to pass the upper 32 bits of
the target address to endpoints when allocating MSI entries.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
drivers/pci/host/pci-tegra.c