[Skiboot] [PATCH 0/4] PCI: Use Cached Vendor/Device/Class ID

Gavin Shan gwshan at linux.vnet.ibm.com
Fri Apr 7 10:16:16 AEST 2017


For one particular PCI device, their vendor/device/class IDs are retrieved
from hardware and cached. Afterwards, we needn't read them from hardware
again to avoid unnecessary PCI config traffic, which is relatively slow.

Gavin Shan (4):
  core/pci: Use cached vendor/device IDs in quirks
  hw/phb3: Use cached vendor/device IDs in phb3_check_device_quirks()
  core/pci: Use cached vendor/device/class IDs on populating device node
  core/pci: Use macro as vendor ID register offset

 core/pci-quirk.c    |  9 +++-----
 core/pci.c          | 64 +++++++++++++++++++++++------------------------------
 hw/phb3.c           | 39 ++++++++++++++++----------------
 include/pci-quirk.h |  5 +----
 include/pci.h       |  5 +++++
 5 files changed, 57 insertions(+), 65 deletions(-)

-- 
2.7.4



More information about the Skiboot mailing list