mbox series

[v3,0/4] x86/P2M: allow 2M superpage use for shadowed guests

Message ID 1522137d-cfa9-22e5-64e8-b1795ddbce21@suse.com (mailing list archive)
Headers show
Series x86/P2M: allow 2M superpage use for shadowed guests | expand

Message

Jan Beulich Aug. 12, 2022, 7:43 a.m. UTC
I did notice this anomaly in the context of IOMMU side work.

1: shadow: slightly consolidate sh_unshadow_for_p2m_change() (part I)
2: shadow: slightly consolidate sh_unshadow_for_p2m_change() (part II)
3: shadow: slightly consolidate sh_unshadow_for_p2m_change() (part III)
4: P2M: allow 2M superpage use for shadowed guests

Jan

Comments

Tim Deegan Aug. 16, 2022, 11:51 a.m. UTC | #1
At 09:43 +0200 on 12 Aug (1660297391), Jan Beulich wrote:
> I did notice this anomaly in the context of IOMMU side work.
> 
> 1: shadow: slightly consolidate sh_unshadow_for_p2m_change() (part I)
> 2: shadow: slightly consolidate sh_unshadow_for_p2m_change() (part II)
> 3: shadow: slightly consolidate sh_unshadow_for_p2m_change() (part III)
> 4: P2M: allow 2M superpage use for shadowed guests


Acked-by: Tim Deegan <tim@xen.org>

FWIW I think that adding some kind of mfn_mask() opreration  would
be neater and more understandable than subtracting the PSE flag.

Cheers,

Tim.