Hello, The current calls to memory_type_changed() are wider than strictly necessary. Move them inside the iocap handlers and also limit to only issue them when required.
I would really like to get some feedback on the Arm change, since this is now a prereq for the actual fix. Thanks, Roger. Roger Pau Monne (2): arm/vgic: drop const attribute from gic_iomem_deny_access() x86/ept: limit calls to memory_type_changed() xen/arch/arm/gic-v2.c | 2 +- xen/arch/arm/gic-v3.c | 2 +- xen/arch/arm/gic.c | 2 +- xen/arch/arm/include/asm/gic.h | 4 ++-- xen/arch/x86/domctl.c | 4 ---- xen/arch/x86/include/asm/iocap.h | 33 +++++++++++++++++++++++---- xen/arch/x86/mm/p2m-ept.c | 4 ++++ xen/common/domctl.c | 4 ---- xen/include/xen/iocap.h | 38 ++++++++++++++++++++++++++++---- 9 files changed, 72 insertions(+), 21 deletions(-) -- 2.37.3