summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-03-03 13:48:46 +0100
committerThierry Reding <treding@nvidia.com>2014-06-03 15:02:13 +0200
commit2a42b88f9eb9ca66428c968951e15c054e32797c (patch)
tree3f322c29fea652af8645ed064015167a6874809b /drivers
parent758b98aee5fe85e9f5ed5b6b320fd9baff21bd11 (diff)
PCI: Disable Hypertransport quirk on Tegra
The host bridge on Tegra is not visible on the PCI bus, and therefore this quirk causes the following warning in the boot log: [ 4.373017] pci 0000:00:01.0: nv_msi_ht_cap_quirk didn't locate host bridge Since the quirk requires access to the host bridge's PCI configuration space it cannot work on Tegra, so simply disable it in that case. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/quirks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index d3f29dd2987..6644fc5ccd3 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2322,6 +2322,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_NVIDIA,
PCI_DEVICE_ID_NVIDIA_MCP55_BRIDGE_V4,
nvbridge_check_legacy_irq_routing);
+#ifndef CONFIG_ARCH_TEGRA
static int ht_check_msi_mapping(struct pci_dev *dev)
{
int pos, ttl = 48;
@@ -2533,6 +2534,7 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, nv_msi_ht_cap_q
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AL, PCI_ANY_ID, nv_msi_ht_cap_quirk_all);
DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AL, PCI_ANY_ID, nv_msi_ht_cap_quirk_all);
+#endif
static void quirk_msi_intx_disable_bug(struct pci_dev *dev)
{