From: Andrew Jones <drjones@redhat.com>
To: kvm@vger.kernel.org
Cc: pbonzini@redhat.com, mst@redhat.com, agordeev@redhat.com,
rkrcmar@redhat.com
Subject: [kvm-unit-tests PATCH v2 00/10] share pci-testdev with the framework
Date: Fri, 15 Jan 2016 17:51:25 +0100 [thread overview]
Message-ID: <1452876695-9240-1-git-send-email-drjones@redhat.com> (raw)
This series moves code around in order to liberate some
pci and pci-testdev code from x86-only territory. There
are no functional changes, but now x86 unit tests also get
to enjoy asm-generic/io.h and asm-generic/page.h defines.
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.
v2: cleaner moving of pci from lib/x86 to lib
Andrew Jones (10):
asm-generic: add portio accessors to io.h
x86: move io.h to asm
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
lib: add linux dir for kernel uapi headers
Revert "arm/arm64: import include/uapi/linux/psci.h"
lib/linux: import pci_regs.h
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/io.h | 52 ++
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} | 25 +-
lib/{x86 => }/pci.c | 24 +-
lib/pci.h | 42 ++
lib/x86/{ => asm}/io.h | 8 +
lib/x86/asm/page.h | 1 +
lib/x86/asm/pci.h | 19 +
lib/x86/io.c | 2 +-
lib/x86/pci.h | 16 -
lib/x86/vm.c | 7 -
lib/x86/vm.h | 4 +-
x86/hyperv.h | 2 +-
x86/hyperv_stimer.c | 2 +-
x86/hyperv_synic.c | 2 +-
x86/init.c | 2 +-
x86/svm.c | 2 +-
x86/vmexit.c | 58 +-
x86/vmx.c | 2 +-
x86/vmx_tests.c | 2 +-
31 files changed, 1158 insertions(+), 122 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} (81%)
rename lib/{x86 => }/pci.c (70%)
create mode 100644 lib/pci.h
rename lib/x86/{ => asm}/io.h (87%)
create mode 100644 lib/x86/asm/page.h
create mode 100644 lib/x86/asm/pci.h
delete mode 100644 lib/x86/pci.h
--
2.4.3
next reply other threads:[~2016-01-15 16:51 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 16:51 Andrew Jones [this message]
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 01/10] asm-generic: add portio accessors to io.h Andrew Jones
2016-01-15 21:34 ` Radim Krčmář
2016-01-18 13:52 ` Andrew Jones
2016-01-18 16:40 ` Radim Krčmář
2016-01-18 17:02 ` Andrew Jones
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 02/10] x86: move io.h to asm Andrew Jones
2016-01-15 21:39 ` Radim Krčmář
2016-01-18 13:55 ` Andrew Jones
2016-01-18 16:43 ` Radim Krčmář
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 03/10] x86: use common portio accessors from io.h Andrew Jones
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 04/10] x86: pci.h: remove useless include Andrew Jones
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 05/10] x86: move x86/pci to the common lib Andrew Jones
2016-01-15 21:57 ` Radim Krčmář
2016-01-18 13:59 ` Andrew Jones
2016-01-18 16:46 ` Radim Krčmář
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 06/10] x86: share pci-testdev hdr in " Andrew Jones
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 07/10] lib/pci: make PCIDEVADDR_INVALID truly invalid Andrew Jones
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 08/10] lib: add linux dir for kernel uapi headers Andrew Jones
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 09/10] Revert "arm/arm64: import include/uapi/linux/psci.h" Andrew Jones
2016-01-15 16:51 ` [kvm-unit-tests PATCH v2 10/10] lib/linux: import pci_regs.h Andrew Jones
2016-01-15 21:57 ` [kvm-unit-tests PATCH v2 00/10] share pci-testdev with the framework Radim Krčmář
2016-01-18 14:01 ` Andrew Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452876695-9240-1-git-send-email-drjones@redhat.com \
--to=drjones@redhat.com \
--cc=agordeev@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).