kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v3 0/8] share pci-testdev with the framework
@ 2016-01-18 18:00 Andrew Jones
  2016-01-18 18:00 ` [kvm-unit-tests PATCH v3 1/8] lib: add linux dir for kernel uapi headers Andrew Jones
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Andrew Jones @ 2016-01-18 18:00 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, mst, agordeev, rkrcmar

This series moves code around in order to liberate some
pci and pci-testdev code from x86-only territory. There
are no functional changes. 

A couple other non-function changes made are; the value
of PCIDEVADDR_INVALID is now more invalid, and we import
linux-uapi/pci_regs.h, which is necessary for additional
architectures to use lib/pci.

v3:
 - drop integration of x86 with asm-generic headers [Radim]
 - Radim's r-b's
 - improve order of series; bring pci_regs.h to the framework
   before making pci.c (which includes it) common [drew]
 - grab latest copy of psci.h [drew]
v2:
 - cleaner moving of pci from lib/x86 to lib [drew]


Andrew Jones (8):
  lib: add linux dir for kernel uapi headers
  Revert "arm/arm64: import include/uapi/linux/psci.h"
  lib/linux: import pci_regs.h
  x86: use common portio accessors from io.h
  x86: pci.h: remove useless include
  x86: move x86/pci to the common lib
  x86: share pci-testdev hdr in common lib
  lib/pci: make PCIDEVADDR_INVALID truly invalid

 Makefile                                  |   2 +-
 config/config-x86-common.mak              |   2 +-
 lib/arm/asm/page.h                        |   2 +-
 lib/arm/asm/psci.h                        |   2 +-
 lib/arm64/asm/page.h                      |   2 +-
 lib/arm64/asm/psci.h                      |   2 +-
 lib/arm64/asm/uapi-psci.h                 |   1 -
 lib/asm-generic/page.h                    |   4 +-
 lib/asm-generic/pci.h                     |   4 +
 lib/const.h                               |  11 -
 lib/linux/const.h                         |  27 +
 lib/linux/pci_regs.h                      | 949 ++++++++++++++++++++++++++++++
 lib/{arm/asm/uapi-psci.h => linux/psci.h} |  43 +-
 lib/{x86 => }/pci.c                       |  24 +-
 lib/pci.h                                 |  42 ++
 lib/x86/asm/pci.h                         |  19 +
 lib/x86/pci.h                             |  16 -
 x86/vmexit.c                              |  58 +-
 18 files changed, 1104 insertions(+), 106 deletions(-)
 delete mode 100644 lib/arm64/asm/uapi-psci.h
 create mode 100644 lib/asm-generic/pci.h
 delete mode 100644 lib/const.h
 create mode 100644 lib/linux/const.h
 create mode 100644 lib/linux/pci_regs.h
 rename lib/{arm/asm/uapi-psci.h => linux/psci.h} (66%)
 rename lib/{x86 => }/pci.c (70%)
 create mode 100644 lib/pci.h
 create mode 100644 lib/x86/asm/pci.h
 delete mode 100644 lib/x86/pci.h

-- 
2.4.3


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-01-19 14:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 18:00 [kvm-unit-tests PATCH v3 0/8] share pci-testdev with the framework Andrew Jones
2016-01-18 18:00 ` [kvm-unit-tests PATCH v3 1/8] lib: add linux dir for kernel uapi headers Andrew Jones
2016-01-18 18:00 ` [kvm-unit-tests PATCH v3 2/8] Revert "arm/arm64: import include/uapi/linux/psci.h" Andrew Jones
2016-01-18 18:00 ` [kvm-unit-tests PATCH v3 3/8] lib/linux: import pci_regs.h Andrew Jones
2016-01-18 18:01 ` [kvm-unit-tests PATCH v3 4/8] x86: use common portio accessors from io.h Andrew Jones
2016-01-18 18:01 ` [kvm-unit-tests PATCH v3 5/8] x86: pci.h: remove useless include Andrew Jones
2016-01-18 18:01 ` [kvm-unit-tests PATCH v3 6/8] x86: move x86/pci to the common lib Andrew Jones
2016-01-18 18:01 ` [kvm-unit-tests PATCH v3 7/8] x86: share pci-testdev hdr in " Andrew Jones
2016-01-18 18:01 ` [kvm-unit-tests PATCH v3 8/8] lib/pci: make PCIDEVADDR_INVALID truly invalid Andrew Jones
2016-01-19 14:12 ` [kvm-unit-tests PATCH v3 0/8] share pci-testdev with the framework Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).