android_kernel_xiaomi_sm8350/drivers/pci
Kenji Kaneshige 795eb5c4a7 [PATCH] SHPC: Fix SHPC Logical Slot Register bits access
Current SHPCHP driver doesn't take care of RsvdP/RsvdZ[*] bits
in logical slot registers. This might cause unpredicable results. This
patch fixes this bug.

[*] RsvdP and RsvdZ are defined in SHPC spec as follows:

    RsvdP - Reserved and Preserved. Register bits of this type are
    reserved for future use as R/W bits. The value read is
    undefined. Writes are ignored. Software must follow These rules
    when accessing RsvdP bits:

	- Software must ignore RsvdP bits when testing values read
          from these registers.
	- Software must not depend on RsvdP bit's ability to retain
          information when written
	- Software must always write back the value read in the RsvdP
	  bits when writing one of these registers.

    RsvdZ - Reserved and Zero. Register bits of this type are reserved
    for future use as R/WC bits. The value read is undefined. Writes
    are ignored. Software must follow these rules when accessing RsvdZ
    bits:

        - Software must ignore RsvdZ bits when testing values read
	  from these registers.
	- Software must not depends on a RsvdZ bit's ability to retain
	  information when written.
	- Software must always write 0 to RsvdZ bits when writing one
	  of these register.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Cc: Kristen Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-19 14:13:23 -07:00
..
hotplug [PATCH] SHPC: Fix SHPC Logical Slot Register bits access 2006-06-19 14:13:23 -07:00
pcie
.gitignore
access.c
bus.c
hotplug.c
Kconfig
Makefile
msi.c [PATCH] PCI: fix potential resource leak in drivers/pci/msi.c 2006-04-27 13:00:51 -07:00
msi.h
pci-acpi.c [PATCH] pci: correctly allocate return buffers for osc calls 2006-05-21 12:59:18 -07:00
pci-driver.c [PATCH] PCI: Error handling on PCI device resume 2006-06-11 14:02:27 -07:00
pci-sysfs.c
pci.c [PATCH] PCI: reverse pci config space restore order 2006-06-11 14:02:27 -07:00
pci.h
probe.c
proc.c
quirks.c [PATCH] smbus unhiding kills thermal management 2006-05-15 11:20:57 -07:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c
syscall.c