android_kernel_xiaomi_sm8350/drivers/pci
Ivan Kokshaysky cf7bee5a0b [PATCH] Fix restore of 64-bit PCI BAR's
For 64-bit BAR[i] only pci_dev->resource[i] is valid, ->resource[i+1]
slot is unused and contains zeroes in all fields.

So when we update a PCI BAR, all we need is just to check that we're
going to update a _valid_ resource.

Also make sure to write high bits - use "x >> 16 >> 16" (rather than the
simpler ">> 32") to avoid warnings on 32-bit architectures where we're
not going to have any high bits.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-07 09:50:56 -07:00
..
hotplug [IA64] hotplug/ia64: SN Hotplug Driver - SN Hotplug Driver code 2005-07-06 15:29:53 -07:00
pcie [PATCH] pm: more u32 vs. pm_message_t fixes 2005-07-07 18:23:43 -07:00
access.c
bus.c pci: make bus resource start address override minimum IO address 2005-08-02 14:55:40 -07:00
gen-devlist.c
hotplug.c [PATCH] PCI: Remove newline from pci MODALIAS variable 2005-07-01 13:35:51 -07:00
Kconfig
Makefile [PATCH] gregkh-pci-pci-assign-unassigned-resources fix 2005-07-01 13:35:52 -07:00
msi.c [PATCH] PCI: clean up the MSI code a bit. 2005-06-27 21:52:46 -07:00
msi.h [PATCH] PCI: clean up the MSI code a bit. 2005-06-27 21:52:46 -07:00
names.c
pci-acpi.c [ACPI] gut acpi_pci_choose_state() to avoid conflict 2005-07-11 23:54:14 -04:00
pci-driver.c [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem 2005-07-06 09:22:45 -07:00
pci-sysfs.c [PATCH] PCI: fix-pci-mmap-on-ppc-and-ppc64.patch 2005-06-27 21:52:45 -07:00
pci.c [PATCH] PCI: restore BAR values after D3hot->D0 for devices that need it 2005-08-04 21:32:46 -07:00
pci.h [ACPI] pci_set_power_state() now calls 2005-07-11 23:47:06 -04:00
pci.ids
probe.c [PATCH] PCI: remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c 2005-07-29 13:12:51 -07:00
proc.c [PATCH] PCI: fix-pci-mmap-on-ppc-and-ppc64.patch 2005-06-27 21:52:45 -07:00
quirks.c [PATCH] PCI: Hidden SMBus bridge on Toshiba Tecra M2 2005-07-29 13:12:51 -07:00
remove.c [PATCH] acpi bridge hotadd: Make the PCI remove routines safe for failed hot-plug 2005-06-27 21:52:41 -07:00
rom.c [PATCH] PCI: Adjust PCI rom code to handle more broken ROMs 2005-07-29 13:12:51 -07:00
search.c [IA64] hotplug/ia64: SN Hotplug Driver - pci_find_next_bus export 2005-07-06 15:28:40 -07:00
setup-bus.c [PATCH] PCI: remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c 2005-07-29 13:12:51 -07:00
setup-irq.c
setup-res.c [PATCH] Fix restore of 64-bit PCI BAR's 2005-08-07 09:50:56 -07:00
syscall.c