public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander Gordeev <agordeev@redhat.com>
To: kvm@vger.kernel.org
Cc: "Alexander Gordeev" <agordeev@redhat.com>,
	"Andrew Jones" <drjones@redhat.com>,
	"Thomas Huth" <thuth@redhat.com>,
	"Radim Krčmář" <rkrcmar@redhat.com>
Subject: [PATCH 0/9] x86: Cleanup low-level arch code
Date: Wed, 20 Apr 2016 15:18:46 +0200	[thread overview]
Message-ID: <cover.1461155725.git.agordeev@redhat.com> (raw)

Hi all,

This is an attempt to make mainly x86 IO code more consistent
with other architectures. The series paves the way for the
PCI update I sent earlier, but it also may be of interest
by itself.

Thanks!

Cc: Andrew Jones <drjones@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>

Alexander Gordeev (9):
  Remove unused and unnecessary PHYS32 macro
  Move phys_addr_t type definition to lib/libcflat.h
  x86: Introduce lib/x86/asm/page.h
  x86: Introduce lib/x86/asm/io.h
  x86: Introduce lib/x86/asm/barrier.h
  x86: Optimize virt_to_phys() and phys_to_virt()
  io: Introduce generic IO accessors
  io: Make ioremap() prototype conform to Linux one
  io/x86: Factor out ioremap()

 arm/selftest.c          |  1 -
 lib/alloc.h             |  7 -------
 lib/arm/asm/page.h      |  2 --
 lib/arm/asm/setup.h     |  1 -
 lib/arm/setup.c         |  1 -
 lib/asm-generic/io.h    | 48 ++++++++++++++++++++++++++++++++++++++++--
 lib/libcflat.h          |  3 +++
 lib/powerpc/asm/setup.h |  1 -
 lib/x86/asm/barrier.h   |  8 +++++++
 lib/x86/asm/io.h        | 56 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/x86/asm/page.h      | 30 ++++++++++++++++++++++++++
 lib/x86/asm/pci.h       |  2 +-
 lib/x86/io.c            | 16 +++++++++++++-
 lib/x86/io.h            | 40 -----------------------------------
 lib/x86/smp.h           |  4 ----
 lib/x86/vm.c            | 17 ---------------
 lib/x86/vm.h            | 24 +--------------------
 x86/eventinj.c          |  7 +------
 x86/hyperv.c            |  1 +
 x86/hyperv.h            |  1 -
 x86/hyperv_stimer.c     |  1 -
 x86/hyperv_synic.c      |  1 -
 x86/init.c              |  2 +-
 x86/kvmclock.c          |  1 +
 x86/svm.c               |  1 -
 x86/vmexit.c            | 11 ++--------
 x86/vmx.c               |  1 -
 x86/vmx_tests.c         |  1 -
 28 files changed, 166 insertions(+), 123 deletions(-)
 create mode 100644 lib/x86/asm/barrier.h
 create mode 100644 lib/x86/asm/io.h
 create mode 100644 lib/x86/asm/page.h
 delete mode 100644 lib/x86/io.h

-- 
1.8.3.1


             reply	other threads:[~2016-04-20 13:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 13:18 Alexander Gordeev [this message]
2016-04-20 13:18 ` [PATCH 1/9] Remove unused and unnecessary PHYS32 macro Alexander Gordeev
2016-04-20 13:54   ` Andrew Jones
2016-04-20 13:18 ` [PATCH 2/9] Move phys_addr_t type definition to lib/libcflat.h Alexander Gordeev
2016-04-20 14:02   ` Andrew Jones
2016-04-20 13:18 ` [PATCH 3/9] x86: Introduce lib/x86/asm/page.h Alexander Gordeev
2016-04-20 13:18 ` [PATCH 4/9] x86: Introduce lib/x86/asm/io.h Alexander Gordeev
2016-04-20 13:18 ` [PATCH 5/9] x86: Introduce lib/x86/asm/barrier.h Alexander Gordeev
2016-04-20 13:18 ` [PATCH 6/9] x86: Optimize virt_to_phys() and phys_to_virt() Alexander Gordeev
2016-04-20 13:18 ` [PATCH 7/9] io: Introduce generic IO accessors Alexander Gordeev
2016-04-20 14:09   ` Andrew Jones
2016-04-21  6:37     ` Alexander Gordeev
2016-04-20 13:18 ` [PATCH 8/9] io: Make ioremap() prototype conform to Linux one Alexander Gordeev
2016-04-20 14:10   ` Andrew Jones
2016-04-21  6:19     ` Alexander Gordeev
2016-04-20 13:18 ` [PATCH 9/9] io/x86: Factor out ioremap() Alexander Gordeev
2016-04-20 14:13 ` [PATCH 0/9] x86: Cleanup low-level arch code 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=cover.1461155725.git.agordeev@redhat.com \
    --to=agordeev@redhat.com \
    --cc=drjones@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=rkrcmar@redhat.com \
    --cc=thuth@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