All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] x86: Move the pv hypercall into C
@ 2016-07-18  9:51 Andrew Cooper
  2016-07-18  9:51 ` [PATCH 1/9] x86/hypercall: Move some of the hvm hypercall infrastructure into hypercall.h Andrew Cooper
                   ` (8 more replies)
  0 siblings, 9 replies; 48+ messages in thread
From: Andrew Cooper @ 2016-07-18  9:51 UTC (permalink / raw)
  To: Xen-devel
  Cc: Stefano Stabellini, Wei Liu, George Dunlap, Andrew Cooper,
	Tim Deegan, Julien Grall, Jan Beulich

I decided to dust off this series, and found it had been accumulating dust for
18 months.  Oops.

There is no practical change from the point of view of guests, but:

 * There is a net reduction in LoC
 * There is a net reduction in compiled size (according to bloat-o-meter)
 * Easier to maintain/edit/hotpatch

I think there is also now room to simplify how continuations are handled,
but I have tried not to get too carried away yet.

Andrew Cooper (9):
  x86/hypercall: Move some of the hvm hypercall infrastructure into
    hypercall.h
  x86/pv: Support do_set_segment_base() for compat guests
  x86/hypercall: Move the hypercall arg tables into C
  x86/pv: Implement pv_hypercall() in C
  x86/hypercall: Move the hypercall tables into C
  xen/multicall: Rework arch multicall handling
  x86/pv: Merge the pv hypercall tables
  x86/hypercall: Merge the hypercall arg tables
  x86/hypercall: Reduce the size of the hypercall tables

 xen/arch/arm/traps.c               |   3 +-
 xen/arch/x86/Makefile              |   1 +
 xen/arch/x86/hvm/hvm.c             |  33 ++---
 xen/arch/x86/hypercall.c           | 295 +++++++++++++++++++++++++++++++++++++
 xen/arch/x86/trace.c               |  27 ----
 xen/arch/x86/x86_64/asm-offsets.c  |   1 -
 xen/arch/x86/x86_64/compat.c       |   1 -
 xen/arch/x86/x86_64/compat/entry.S | 184 +----------------------
 xen/arch/x86/x86_64/compat/traps.c |   2 -
 xen/arch/x86/x86_64/entry.S        | 173 +---------------------
 xen/arch/x86/x86_64/mm.c           |   3 +
 xen/arch/x86/x86_64/traps.c        |   1 +
 xen/common/kernel.c                |   6 -
 xen/common/multicall.c             |   2 +-
 xen/include/asm-arm/multicall.h    |  14 --
 xen/include/asm-x86/hypercall.h    |  65 +++++++-
 xen/include/asm-x86/multicall.h    |  72 ---------
 xen/include/xen/hypercall.h        |  18 ++-
 xen/include/xen/multicall.h        |   3 +-
 19 files changed, 399 insertions(+), 505 deletions(-)
 create mode 100644 xen/arch/x86/hypercall.c
 delete mode 100644 xen/include/asm-arm/multicall.h
 delete mode 100644 xen/include/asm-x86/multicall.h

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

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

end of thread, other threads:[~2016-08-11 12:36 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18  9:51 [PATCH 0/9] x86: Move the pv hypercall into C Andrew Cooper
2016-07-18  9:51 ` [PATCH 1/9] x86/hypercall: Move some of the hvm hypercall infrastructure into hypercall.h Andrew Cooper
2016-08-02 12:50   ` Jan Beulich
2016-08-02 13:14     ` Andrew Cooper
2016-08-02 13:28       ` Jan Beulich
2016-08-02 14:04         ` Julien Grall
2016-08-02 14:17           ` Jan Beulich
2016-08-02 14:26             ` Julien Grall
2016-08-02 14:54               ` Jan Beulich
2016-08-02 14:59                 ` Andrew Cooper
2016-08-02 15:05                   ` Jan Beulich
2016-08-02 18:43                     ` Stefano Stabellini
2016-08-03  8:53                       ` Jan Beulich
2016-08-03 10:55                         ` Julien Grall
2016-08-03 18:20                           ` Stefano Stabellini
2016-08-04 11:27                             ` Julien Grall
2016-07-18  9:51 ` [PATCH 2/9] x86/pv: Support do_set_segment_base() for compat guests Andrew Cooper
2016-08-02 12:52   ` Jan Beulich
2016-08-02 13:25     ` Andrew Cooper
2016-08-02 13:31       ` Jan Beulich
2016-08-02 13:39         ` Andrew Cooper
2016-08-02 13:47           ` Jan Beulich
2016-07-18  9:51 ` [PATCH 3/9] x86/hypercall: Move the hypercall arg tables into C Andrew Cooper
2016-08-02 12:59   ` Jan Beulich
2016-07-18  9:51 ` [PATCH 4/9] x86/pv: Implement pv_hypercall() in C Andrew Cooper
2016-08-02 13:12   ` Jan Beulich
2016-08-02 14:06     ` Andrew Cooper
2016-08-02 14:19       ` Jan Beulich
2016-08-11 11:57     ` Andrew Cooper
2016-08-11 12:20       ` Jan Beulich
2016-07-18  9:51 ` [PATCH 5/9] x86/hypercall: Move the hypercall tables into C Andrew Cooper
2016-08-02 13:23   ` Jan Beulich
2016-08-02 13:30     ` Andrew Cooper
2016-08-02 13:40       ` Jan Beulich
2016-08-11 12:00         ` Andrew Cooper
2016-07-18  9:51 ` [PATCH 6/9] xen/multicall: Rework arch multicall handling Andrew Cooper
2016-07-20 12:35   ` Julien Grall
2016-08-03 15:02   ` Jan Beulich
2016-08-03 15:12     ` Andrew Cooper
2016-07-18  9:51 ` [PATCH 7/9] x86/pv: Merge the pv hypercall tables Andrew Cooper
2016-08-03 15:07   ` Jan Beulich
2016-08-11 12:36     ` Andrew Cooper
2016-07-18  9:51 ` [PATCH 8/9] x86/hypercall: Merge the hypercall arg tables Andrew Cooper
2016-08-03 15:12   ` Jan Beulich
2016-08-03 15:15     ` Andrew Cooper
2016-08-03 15:28       ` Jan Beulich
2016-07-18  9:51 ` [PATCH 9/9] x86/hypercall: Reduce the size of the hypercall tables Andrew Cooper
2016-08-03 15:17   ` Jan Beulich

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.