All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v3 00/10] Cleanup low-level arch code
@ 2016-04-29 11:37 Alexander Gordeev
  2016-04-29 11:37 ` [kvm-unit-tests PATCH v3 01/10] Remove unused and unnecessary PHYS32 macro Alexander Gordeev
                   ` (9 more replies)
  0 siblings, 10 replies; 22+ messages in thread
From: Alexander Gordeev @ 2016-04-29 11:37 UTC (permalink / raw)
  To: kvm
  Cc: Alexander Gordeev, Andrew Jones, Thomas Huth,
	Radim Krčmář

Hi Andrew et al,

This is 3rd attempt to make mainly x86 arch code consistent
with other architectures. I removed/omitted your Reviewed-bys
from patches that changed as result of below updates:

Changes since v2:
  - x86 ioremap() address arithmetics nonsense fixed;
  - x86 virt_to_phys() and phys_to_virt() implementations left intact;
  - separate overrides of virt_to_phys() and phys_to_virt() added;
  - unsigned long size specifier removed from PAGE_SIZE constant;

Changes since v1:
  - arm compilation error fixed;
  - disabling memory re-ordering for generic memory barriers added;


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

Alexander Gordeev (10):
  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
  io: Separate overrides of virt_to_phys() and phys_to_virt()
  io: Disallow memory re-ordering for generic memory barriers
  io: Make ioremap() prototype conform to Linux one
  io/x86: Factor out ioremap()
  x86: Remove size specifier from PAGE_SIZE constant

 arm/selftest.c          |  1 -
 lib/alloc.h             |  5 -----
 lib/arm/asm/page.h      |  2 --
 lib/arm/setup.c         |  1 -
 lib/asm-generic/io.h    | 13 +++++++++----
 lib/libcflat.h          |  2 ++
 lib/powerpc/asm/setup.h |  1 -
 lib/ppc64/asm/io.h      |  2 ++
 lib/x86/asm/barrier.h   |  8 ++++++++
 lib/x86/{ => asm}/io.h  | 18 ++++++++++++++++--
 lib/x86/asm/page.h      | 28 ++++++++++++++++++++++++++++
 lib/x86/asm/pci.h       |  2 +-
 lib/x86/io.c            | 15 ++++++++++++++-
 lib/x86/smp.h           |  4 ----
 lib/x86/vm.c            | 17 -----------------
 lib/x86/vm.h            | 25 ++-----------------------
 x86/eventinj.c          |  7 +------
 x86/hyperv.c            |  1 +
 x86/hyperv.h            |  1 -
 x86/hyperv_stimer.c     |  2 +-
 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 -
 27 files changed, 89 insertions(+), 84 deletions(-)
 create mode 100644 lib/x86/asm/barrier.h
 rename lib/x86/{ => asm}/io.h (74%)
 create mode 100644 lib/x86/asm/page.h

-- 
1.8.3.1


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

end of thread, other threads:[~2016-04-29 19:16 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 11:37 [kvm-unit-tests PATCH v3 00/10] Cleanup low-level arch code Alexander Gordeev
2016-04-29 11:37 ` [kvm-unit-tests PATCH v3 01/10] Remove unused and unnecessary PHYS32 macro Alexander Gordeev
2016-04-29 11:37 ` [kvm-unit-tests PATCH v3 02/10] Move phys_addr_t type definition to lib/libcflat.h Alexander Gordeev
2016-04-29 14:16   ` Andrew Jones
2016-04-29 11:37 ` [kvm-unit-tests PATCH v3 03/10] x86: Introduce lib/x86/asm/page.h Alexander Gordeev
2016-04-29 14:19   ` Andrew Jones
2016-04-29 11:38 ` [kvm-unit-tests PATCH v3 04/10] x86: Introduce lib/x86/asm/io.h Alexander Gordeev
2016-04-29 14:26   ` Andrew Jones
2016-04-29 11:38 ` [kvm-unit-tests PATCH v3 05/10] x86: Introduce lib/x86/asm/barrier.h Alexander Gordeev
2016-04-29 14:29   ` Andrew Jones
2016-04-29 11:38 ` [kvm-unit-tests PATCH v3 06/10] io: Separate overrides of virt_to_phys() and phys_to_virt() Alexander Gordeev
2016-04-29 14:30   ` Andrew Jones
2016-04-29 11:38 ` [kvm-unit-tests PATCH v3 07/10] io: Disallow memory re-ordering for generic memory barriers Alexander Gordeev
2016-04-29 11:38 ` [kvm-unit-tests PATCH v3 08/10] io: Make ioremap() prototype conform to Linux one Alexander Gordeev
2016-04-29 11:38 ` [kvm-unit-tests PATCH v3 09/10] io/x86: Factor out ioremap() Alexander Gordeev
2016-04-29 14:48   ` Andrew Jones
2016-04-29 18:58     ` Alexander Gordeev
2016-04-29 19:16       ` Andrew Jones
2016-04-29 11:38 ` [kvm-unit-tests PATCH v3 10/10] x86: Remove size specifier from PAGE_SIZE constant Alexander Gordeev
2016-04-29 14:53   ` Andrew Jones
2016-04-29 17:52     ` Alexander Gordeev
2016-04-29 19:09       ` Andrew Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.