xen/arm: Properly disable M2P on Arm.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 48 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | xen/arm: Use mfn_to_pdx instead of pfn_to_pdx when possiblexen/ xen/ | +4 | 7 replies | |
| 2/9 | xen/x86: Constify the parameter "d" in mfn_to_mfnxen/ | +1 | 1 reply | |
| 3/9 | xen/x86: Use mfn_to_gfn rather than mfn_to_gmfnxen/ xen/ xen/ +1 more | +7 | 2 replies | |
| 4/9 | xen/grant-table: Make arch specific macros typesafexen/ xen/ xen/ | +16 | 3 replies | |
| 5/9 | xen: Convert hotplug page function to use typesafe MFNxen/ xen/ xen/ +1 more | +32 | 2 replies | |
| 6/9 | xen: Convert is_xen_fixed_mfn to use typesafe MFNxen/ xen/ xen/ +1 more | +6 | 2 replies | |
| 7/9 | xen: Convert is_xen_heap_mfn to use typesafe MFNxen/ xen/ xen/ +3 more | +14 | 9 replies | |
| 8/9 | xen: Introduce HAS_M2P config and use to protect mfn_to_gmfn callxen/ xen/ xen/ +4 more | +28 | 10 replies | |
| 9/9 | xen: Remove mfn_to_gmfn macroxen/ xen/ xen/ | +4 | 12 replies |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Stefano Stabellini |
|---|---|---|
| 1/9 | ||
| 2/9 | R-b | |
| 3/9 | ||
| 4/9 | A-b | |
| 5/9 | A-b | |
| 6/9 | R-b | A-b |
| 7/9 | R-b | A-b |
| 8/9 | ||
| 9/9 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH for-next 0/9] xen/arm: Properly disable M2P on Arm.
Hi all,
Arm never supported an M2P yet there are some helpers implemented to deal with the common code. However, the implementation of mfn_to_gmfn is completely bogus.
This series aims to properly disable the M2P on Arm. See patch #8 for the rationale regarding the lack of M2P on Arm.
While looking at the code, I also continue to convert some code to use typesafe MFN/GFN.
Cheers,
Julien Grall (9):
xen/arm: Use mfn_to_pdx instead of pfn_to_pdx when possible xen/x86: Constify the parameter "d" in mfn_to_mfn xen/x86: Use mfn_to_gfn rather than mfn_to_gmfn xen/grant-table: Make arch specific macros typesafe
xen: Convert hotplug page function to use typesafe MFN
xen: Convert is_xen_fixed_mfn to use typesafe MFN
xen: Convert is_xen_heap_mfn to use typesafe MFN
xen: Introduce HAS_M2P config and use to protect mfn_to_gmfn call
xen: Remove mfn_to_gmfn macro
xen/arch/arm/mm.c | 2 +- xen/arch/x86/Kconfig | 1 + xen/arch/x86/cpu/mcheck/mcaction.c | 18 ++++++++++-------- xen/arch/x86/domain.c | 2 +- xen/arch/x86/mm.c | 11 ++++++----- xen/arch/x86/mm/p2m.c | 2 +- xen/arch/x86/mm/shadow/multi.c | 2 +- xen/arch/x86/pv/emul-priv-op.c | 4 ++-- xen/arch/x86/tboot.c | 2 +- xen/common/Kconfig | 3 +++ xen/common/domctl.c | 2 +- xen/common/grant_table.c | 4 ++-- xen/common/memory.c | 4 ++++ xen/common/page_alloc.c | 26 +++++++++++++------------- xen/common/sysctl.c | 14 +++++++------- xen/drivers/passthrough/iommu.c | 12 ++++++++---- xen/drivers/passthrough/x86/iommu.c | 6 +++--- xen/include/asm-arm/domain.h | 5 +++++ xen/include/asm-arm/grant_table.h | 12 ++++++------ xen/include/asm-arm/mm.h | 22 ++++++++++------------ xen/include/asm-x86/grant_table.h | 20 ++++++++------------ xen/include/asm-x86/mm.h | 11 +++-------- xen/include/asm-x86/p2m.h | 2 +- xen/include/xen/domain.h | 9 +++++++++ xen/include/xen/mm.h | 6 +++--- 25 files changed, 110 insertions(+), 92 deletions(-)
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel