From: Julien Grall <julien@xen.org>
To: xen-devel@lists.xenproject.org
Cc: julien@xen.org, "Julien Grall" <jgrall@amazon.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"George Dunlap" <george.dunlap@citrix.com>,
"Ian Jackson" <iwj@xenproject.org>,
"Jan Beulich" <jbeulich@suse.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Wei Liu" <wl@xen.org>, "Roger Pau Monné" <roger.pau@citrix.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>
Subject: [PATCH v5 0/4] xen/arm: Properly disable M2P on Arm
Date: Sat, 3 Jul 2021 18:11:48 +0100 [thread overview]
Message-ID: <20210703171152.15874-1-julien@xen.org> (raw)
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
next reply other threads:[~2021-07-03 17:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-03 17:11 Julien Grall [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210703171152.15874-1-julien@xen.org \
--to=julien@xen.org \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=iwj@xenproject.org \
--cc=jbeulich@suse.com \
--cc=jgrall@amazon.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.