[PATCH v5 0/4] xen/arm: Properly disable M2P on Arm

Julien Grall posted 4 patches 2 years, 9 months ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20210703171152.15874-1-julien@xen.org
xen/arch/x86/Kconfig         |  1 +
xen/arch/x86/domain.c        |  9 +++++++++
xen/common/Kconfig           |  3 +++
xen/common/domctl.c          | 10 +++++++---
xen/common/memory.c          | 24 ++++++++++++------------
xen/include/asm-arm/mm.h     | 12 ------------
xen/include/asm-x86/domain.h |  3 +++
xen/include/public/domctl.h  |  6 ++++++
xen/include/xen/domain.h     |  7 +++++++
xen/include/xen/mm.h         | 17 +++++++++++++++++
10 files changed, 65 insertions(+), 27 deletions(-)
[PATCH v5 0/4] xen/arm: Properly disable M2P on Arm
Posted by Julien Grall 2 years, 9 months ago
From: Julien Grall <jgrall@amazon.com>

Hi all,

Arm never supported a M2P yet there are some helpers implemented to deal with
the common code. However, the implementation of mfn_to_gmfn is completely
bogus.

This series aims to properly disable the M2P on Arm.

Cheers,

Julien Grall (4):
  xen: XENMEM_exchange should only be used/compiled for arch supporting
    PV guest
  xen: arm: Stop returning a bogus GFN for the shared info
  xen: arm: Remove mfn_to_gfn() macro
  xen/mm: Provide dummy M2P-related helpers when the M2P is not
    supported

 xen/arch/x86/Kconfig         |  1 +
 xen/arch/x86/domain.c        |  9 +++++++++
 xen/common/Kconfig           |  3 +++
 xen/common/domctl.c          | 10 +++++++---
 xen/common/memory.c          | 24 ++++++++++++------------
 xen/include/asm-arm/mm.h     | 12 ------------
 xen/include/asm-x86/domain.h |  3 +++
 xen/include/public/domctl.h  |  6 ++++++
 xen/include/xen/domain.h     |  7 +++++++
 xen/include/xen/mm.h         | 17 +++++++++++++++++
 10 files changed, 65 insertions(+), 27 deletions(-)

-- 
2.17.1