|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v4 0/4] xen/arm: Properly disable M2P on Arm
From: Julien Grall <jgrall@xxxxxxxxxx>
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. See patch #2 for the
rationale regarding the lack of M2P on Arm.
I have dropped the typesafe patches from this series to focus on just the M2P.
Cheers,
Julien Grall (4):
xen: XENMEM_exchange should only be used/compiled for arch supporting
PV guest
xen: Introduce HAS_M2P config and use to protect mfn_to_gmfn call
xen: Remove mfn_to_gmfn macro
xen/mm: Provide dummy M2P-related helpers when !CONFIG_HAVE_M2P
xen/arch/x86/Kconfig | 1 +
xen/common/Kconfig | 3 +++
xen/common/domctl.c | 9 +++++++--
xen/common/memory.c | 7 +++++++
xen/include/asm-arm/domain.h | 5 +++++
xen/include/asm-arm/mm.h | 13 -------------
xen/include/asm-x86/mm.h | 5 -----
xen/include/public/domctl.h | 6 ++++++
xen/include/xen/domain.h | 12 ++++++++++++
xen/include/xen/mm.h | 13 +++++++++++++
10 files changed, 54 insertions(+), 20 deletions(-)
--
2.17.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |