[PATCH 0/3] x86/pv: Start to trim 32bit support

Andrew Cooper posted 3 patches 4 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200417155004.16806-1-andrew.cooper3@citrix.com
docs/misc/xen-command-line.pandoc | 12 +++++++++++-
xen/arch/x86/Kconfig              | 16 +++++++++++++++
xen/arch/x86/cpu/common.c         |  5 +++--
xen/arch/x86/desc.c               |  2 ++
xen/arch/x86/domctl.c             |  4 ++--
xen/arch/x86/pv/domain.c          | 41 ++++++++++++++++++++++++++++++++++++---
xen/arch/x86/pv/hypercall.c       |  2 ++
xen/arch/x86/setup.c              |  9 +++++++--
xen/arch/x86/smpboot.c            |  5 ++++-
xen/arch/x86/traps.c              | 10 +++++++---
xen/arch/x86/x86_64/asm-offsets.c |  4 +++-
xen/include/asm-x86/domain.h      |  4 ++--
xen/include/asm-x86/pv/domain.h   |  6 ++++++
xen/include/xen/sched.h           | 15 ++++++++++++--
14 files changed, 116 insertions(+), 19 deletions(-)
[PATCH 0/3] x86/pv: Start to trim 32bit support
Posted by Andrew Cooper 4 years ago
Downstreams may want this for either security or performance reasons.  Offer
some options, and take advantage of some of the very low hanging fruit it
offers.

There is plenty more incremental cleanup which can be done at a later point.

Andrew Cooper (3):
  x86/pv: Options to disable and/or compile out 32bit PV support
  x86/pv: Short-circuit is_pv_{32,64}bit_domain() in !CONFIG_PV32 builds
  x86/pv: Compile out compat_gdt in !CONFIG_PV builds

 docs/misc/xen-command-line.pandoc | 12 +++++++++++-
 xen/arch/x86/Kconfig              | 16 +++++++++++++++
 xen/arch/x86/cpu/common.c         |  5 +++--
 xen/arch/x86/desc.c               |  2 ++
 xen/arch/x86/domctl.c             |  4 ++--
 xen/arch/x86/pv/domain.c          | 41 ++++++++++++++++++++++++++++++++++++---
 xen/arch/x86/pv/hypercall.c       |  2 ++
 xen/arch/x86/setup.c              |  9 +++++++--
 xen/arch/x86/smpboot.c            |  5 ++++-
 xen/arch/x86/traps.c              | 10 +++++++---
 xen/arch/x86/x86_64/asm-offsets.c |  4 +++-
 xen/include/asm-x86/domain.h      |  4 ++--
 xen/include/asm-x86/pv/domain.h   |  6 ++++++
 xen/include/xen/sched.h           | 15 ++++++++++++--
 14 files changed, 116 insertions(+), 19 deletions(-)

-- 
2.11.0


Re: [PATCH 0/3] x86/pv: Start to trim 32bit support
Posted by Wei Liu 4 years ago
On Fri, Apr 17, 2020 at 04:50:01PM +0100, Andrew Cooper wrote:
> Downstreams may want this for either security or performance reasons.  Offer
> some options, and take advantage of some of the very low hanging fruit it
> offers.
> 
> There is plenty more incremental cleanup which can be done at a later point.
> 
> Andrew Cooper (3):
>   x86/pv: Options to disable and/or compile out 32bit PV support
>   x86/pv: Short-circuit is_pv_{32,64}bit_domain() in !CONFIG_PV32 builds
>   x86/pv: Compile out compat_gdt in !CONFIG_PV builds

Reviewed-by: Wei Liu <wl@xen.org>