This series contains: 1. The first patch from Andrew that reworks p2m_init() so that fallible operations in p2m_init() will not lead to leakage of VMID or the root table. 2. The patch in [1] rebased on top of the p2m_init() rework that populate default 16 pages to the p2m pool for the mapping of GICv2 at the domain creation stage.
[1] https://lore.kernel.org/xen-devel/20221017165133.17066-1-henry.w...@arm.com/ Andrew Cooper (1): arm/p2m: Rework p2m_init() Henry Wang (1): xen/arm: p2m: Populate pages for GICv2 mapping in p2m_init() xen/arch/arm/domain.c | 2 +- xen/arch/arm/include/asm/p2m.h | 14 +++++--- xen/arch/arm/p2m.c | 58 ++++++++++++++++++++++++++-------- 3 files changed, 55 insertions(+), 19 deletions(-) -- 2.17.1