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)
commitc016555091119b469fe49d1b1b359f0ae3fc6ed7
tree799b0b293f7e2ab6ece698bde2c874197d1a3989
parent769b461fc0c0451bacf75826d5830fc07c5a57e4
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