Skip to content

Move calls to memory_type_changed()

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 7 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm/vgic: drop const attribute from gic_iomem_deny_access()xen/arch/arm/gic-v2.c xen/arch/arm/gic-v3.c xen/arch/arm/gic.c +1 more+5 -51 reply
2/2x86/ept: limit calls to memory_type_changed()xen/arch/x86/domctl.c xen/arch/x86/include/asm/iocap.h xen/arch/x86/mm/p2m-ept.c +2 more+67 -162 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBertrand MarquisJan Beulich
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Move calls to memory_type_changed()

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(-)
Signature · 1 line
2.37.3