]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
PCI: Disable Hypertransport quirk on Tegra
authorVidya Sagar <vidyas@nvidia.com>
Mon, 6 Apr 2015 05:47:50 +0000 (11:17 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Tue, 7 Apr 2015 17:44:05 +0000 (10:44 -0700)
commit2c0daf998f077be53592b7731fa0cc23d333508d
tree500a5c3c4a72bbc38b4b4f28b4eda74fac873651
parent1fe5d863b496a4b86c2c9339a979841f45c36cbf
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.

This changes define from ARCH_TEGRA to PLATFORM_TEGRA

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Change-Id: I57a3ff3f87630504f198e11fb1c208df9c9a46b6
Reviewed-on: http://git-master/r/727909
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/pci/quirks.c