There are some clean-up/improvement work that can be done in the
Arm P2M code triggered by [1] and [2]. These were found at the 4.17
code freeze period so the issues were not fixed at that time.
Therefore do the follow-ups here.
Patch#1 addresses one comment in [1]. It was sent earlier and reviewed
once. Pick the updated version, i.e. "[PATCH v2] xen/arm: Reduce
redundant clear root pages when teardown p2m", to this series.
Patch#2 and #3 addresses the comment in [2] following the discussion
between two possible options.
[1] https://lore.kernel.org/xen-devel/a947e0b4-8f76-cea6-893f-abf30ff95e0d@xen.org/
[2] https://lore.kernel.org/xen-devel/e6643bfc-5bdf-f685-1b68-b28d341071c1@xen.org/
Henry Wang (3):
xen/arm: Reduce redundant clear root pages when teardown p2m
xen/arm: Defer GICv2 CPU interface mapping until the first access
xen/arm: Clean-up in p2m_init() and p2m_final_teardown()
xen/arch/arm/domain.c | 12 ++++++++
xen/arch/arm/include/asm/p2m.h | 5 +--
xen/arch/arm/include/asm/vgic.h | 2 ++
xen/arch/arm/p2m.c | 54 +++++++++------------------------
xen/arch/arm/traps.c | 19 ++++++++++--
xen/arch/arm/vgic-v2.c | 25 ++++-----------
6 files changed, 52 insertions(+), 65 deletions(-)
--
2.25.1