android_kernel_xiaomi_sm8350/drivers/pci
Linus Torvalds ad7edfe049 [PCI] Do not enable CRS Software Visibility by default
It appears that some PCI-E bridges do the wrong thing in the presense of
CRS Software Visibility and MMCONFIG.  In particular, it looks like an
ATI bridge (device ID 7936) will return 0001 in the vendor ID field of
any bridged devices indefinitely.

Not enabling CRS SV avoids the problem, and as we currently do not
really make good use of the feature anyway (we just time out rather than
do any threaded discovery as suggested by the CRS specs), we're better
off just not enabling it.

This should fix a slew of problem reports with random devices (generally
graphics adapters or fairly high-performance networking cards, since it
only affected PCI-E) not getting properly recognized on these AMD systems.

If we really want to use CRS-SV, we may end up eventually needing a
whitelist of systems where this should be enabled, along with some kind
of "pcibios_enable_crs()" query to call the system-specific code.

Suggested-by: Loic Prylli <loic@myri.com>
Tested-by: Kai Ruhnau <kai@tragetaschen.dyndns.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-27 21:21:36 -08:00
..
hotplug pci hotplug: kernel-doc fixes 2007-11-28 14:35:26 -08:00
pcie pci-aer: fix kernel-doc mistakes 2007-11-28 14:35:26 -08:00
.gitignore
access.c
bus.c
dmar.c
hotplug.c
htirq.c
intel-iommu.c intel-iommu: Fix array overflow 2007-10-30 08:06:55 -07:00
intel-iommu.h intel-iommu fixes 2007-10-29 07:41:32 -07:00
iova.c intel-iommu: optimize sg map/unmap calls 2007-10-22 08:13:19 -07:00
iova.h intel-iommu: optimize sg map/unmap calls 2007-10-22 08:13:19 -07:00
Kconfig PCI: Add Kconfig option to disable deprecated pci_find_* API 2007-11-05 13:35:17 -08:00
Makefile Intel IOMMU: Intel IOMMU driver 2007-10-22 08:13:18 -07:00
msi.c PCI: Add quirk for devices which disable MSI when INTX_DISABLE is set. 2007-11-05 13:35:16 -08:00
msi.h
pci-acpi.c
pci-driver.c PCI: make pci_match_device() static 2007-11-05 13:35:17 -08:00
pci-sysfs.c PCI: drivers/pci/pci-sysfs.c: Add missing pci_dev_put 2007-11-28 14:35:26 -08:00
pci.c
pci.h
probe.c [PCI] Do not enable CRS Software Visibility by default 2007-12-27 21:21:36 -08:00
proc.c
quirks.c PCI: Remove 3 incorrect MSI quirks. 2007-11-05 13:35:17 -08:00
remove.c
rom.c
search.c PCI: Add Kconfig option to disable deprecated pci_find_* API 2007-11-05 13:35:17 -08:00
setup-bus.c
setup-irq.c
setup-res.c
syscall.c