[PATCH 0/4] PCI related changes

Colin King colin.king at canonical.com
Fri Oct 25 14:12:30 UTC 2013


From: Colin Ian King <colin.king at canonical.com>

In order to remove some really awful lspci parsing I've added a 
fwts_pci.h header with a bunch of #defines and structures common
to some new code and also the apsm test.

The mtrr and maxreadreq tests are now simplified by removing the
lspci exec and parsing code and instead they now just use the
raw PCI config data.   Addresses bugs LP#1244673 and LP#1244676)

Colin Ian King (4):
  lib: add new PCI definitions
  pci: aspm: use new fwts PCI defintions
  bios: mtrr: don't use lspci to get PCI specific data (LP: #1244673)
  pci: maxreadreq: don't use lspci to get PCI specific data (LP:
    #1244676)

 src/bios/mtrr/mtrr.c            |  84 ++++++++++++------
 src/lib/include/fwts.h          |   1 +
 src/lib/include/fwts_pci.h      | 186 ++++++++++++++++++++++++++++++++++++++++
 src/pci/aspm/aspm.c             |  72 +++-------------
 src/pci/maxreadreq/maxreadreq.c | 139 ++++++++++++++----------------
 5 files changed, 325 insertions(+), 157 deletions(-)
 create mode 100644 src/lib/include/fwts_pci.h

-- 
1.8.3.2




More information about the fwts-devel mailing list