linux_dsm_epyc7002/drivers/pci
Bjorn Helgaas 9aac537e0e PCI: disable MEM decoding while updating 64-bit MEM BARs
When we update 64-bit BARs, we have to perform two config writes.  Between
the writes, the half-written BAR value could match a MEM access intended
for another device.  This could result in corruption of this device (for
writes) or an unexpected response machine check (for reads).

To prevent this, disable MEM decoding while updating such BARs.  This uses
the same safety test as 253d2e5498, which disables both MEM and IO while
sizing BARs, namely, we don't disable decoding for host bridge devices.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2012-07-09 19:50:53 -06:00
..
hotplug
pcie PCI: fix uninitialized variable 'cap_mask' 2012-05-07 09:27:26 -06:00
.gitignore
access.c
ats.c
bus.c
host-bridge.c
hotplug-pci.c
hotplug.c
htirq.c
ioapic.c
iov.c
irq.c
Kconfig
Makefile PCI changes for the 3.5 merge window: 2012-05-21 16:24:54 -07:00
msi.c
msi.h
of.c
pci-acpi.c ACPI / PCI / PM: Fix device PM regression related to D3hot/D3cold 2012-05-17 16:16:16 -07:00
pci-driver.c PCI: disable Bus Master on PCI device shutdown 2012-05-04 11:07:18 -06:00
pci-label.c
pci-stub.c
pci-sysfs.c
pci.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-05-29 18:27:19 -07:00
pci.h
probe.c PCI: leave MEM and IO decoding disabled during 64-bit BAR sizing, too 2012-07-09 19:49:24 -06:00
proc.c
quirks.c PCI changes for the 3.5 merge window: 2012-05-21 16:24:54 -07:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c PCI: disable MEM decoding while updating 64-bit MEM BARs 2012-07-09 19:50:53 -06:00
slot.c
syscall.c
vpd.c
xen-pcifront.c