All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] xen/arm: Properly disable M2P on Arm
@ 2021-07-03 17:11 Julien Grall
  2021-07-03 17:11 ` [PATCH v5 1/4] xen: XENMEM_exchange should only be used/compiled for arch supporting PV guest Julien Grall
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Julien Grall @ 2021-07-03 17:11 UTC (permalink / raw)
  To: xen-devel
  Cc: julien, Julien Grall, Andrew Cooper, George Dunlap, Ian Jackson,
	Jan Beulich, Stefano Stabellini, Wei Liu, Roger Pau Monné,
	Volodymyr Babchuk

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



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

end of thread, other threads:[~2021-07-14  1:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03 17:11 [PATCH v5 0/4] xen/arm: Properly disable M2P on Arm Julien Grall
2021-07-03 17:11 ` [PATCH v5 1/4] xen: XENMEM_exchange should only be used/compiled for arch supporting PV guest Julien Grall
2021-07-05  8:41   ` Jan Beulich
2021-07-07 13:39     ` Julien Grall
2021-07-07 14:06       ` Jan Beulich
2021-07-07 14:21         ` Julien Grall
2021-07-07 14:48           ` Jan Beulich
2021-07-03 17:11 ` [PATCH v5 2/4] xen: arm: Stop returning a bogus GFN for the shared info Julien Grall
2021-07-05  8:56   ` Jan Beulich
2021-07-03 17:11 ` [PATCH v5 3/4] xen: arm: Remove mfn_to_gfn() macro Julien Grall
2021-07-06  6:31   ` Michal Orzel
2021-07-14  1:15     ` Stefano Stabellini
2021-07-03 17:11 ` [PATCH v5 4/4] xen/mm: Provide dummy M2P-related helpers when the M2P is not supported Julien Grall
2021-07-05  9:15   ` Jan Beulich
2021-07-14  1:18     ` Stefano Stabellini

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.