x86/p2m: restrict more code to build just for HVM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 22 repliesIn review
- v16 patches 22 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | x86/p2m: set_{foreign,mmio}_p2m_entry() are HVM-onlyxen/ | +7 | 3 replies | |
| 2/12 | x86/p2m: {,un}map_mmio_regions() are HVM-onlyxen/ xen/ xen/ | +65 | 2 replies | |
| 3/12 | x86/mm: the gva_to_gfn() hook is HVM-onlyxen/ xen/ xen/ +1 more | +16 | 1 reply | |
| 4/12 | AMD/IOMMU: guest IOMMU support is for HVM onlyxen/ xen/ | +5 | 1 reply | |
| 5/12 | x86/p2m: change_entry_type_* hooks are HVM-onlyxen/ xen/ xen/ +2 more | +24 | 1 reply | |
| 6/12 | x86/p2m: hardware-log-dirty related hooks are HVM-onlyxen/ xen/ | +12 | 1 reply | |
| 7/12 | x86/p2m: the recalc hook is HVM-onlyxen/ xen/ xen/ | +2 | 1 reply | |
| 8/12 | x86: mem-access is HVM-onlyxen/ xen/ xen/ +1 more | +4 | 2 replies | |
| 9/12 | x86: make mem-paging configuarable and default it to off for being unsupportedxen/ xen/ xen/ +14 more | +37 | 6 replies | |
| 10/12 | x86/p2m: {get,set}_entry hooks and p2m-pt.c are HVM-onlyxen/ xen/ xen/ +2 more | +41 | 1 reply | |
| 11/12 | x86/p2m: write_p2m_entry_{pre,post} hooks are HVM-onlyxen/ xen/ xen/ | +137 | 1 reply | |
| 12/12 | x86/p2m: re-arrange struct p2m_domainxen/ xen/ | +35 | 1 reply |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Tamas K Lengyel | Alexandru Isaila | Tim Deegan | Roger Pau Monné |
|---|---|---|---|---|
| 1/12 | A-b | |||
| 2/12 | A-b | |||
| 3/12 | A-b | |||
| 4/12 | R-b | |||
| 5/12 | A-b | |||
| 6/12 | A-b | |||
| 7/12 | A-b | |||
| 8/12 | A-b | R-b | ||
| 9/12 | R-b | A-b | ||
| 10/12 | A-b | |||
| 11/12 | A-b | |||
| 12/12 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v2 00/12] x86/p2m: restrict more code to build just for HVM
Since it was brought up in the discussion of v1: I think the end goal is to be for mm/p2m.c to become a HVM-only file. Any "wrappers" also trying to take care of !paging_mode_translate() guests ought to be moved elsewhere. To see what actually still needs taking care of, incrementally extending the #ifdef CONFIG_HVM regions there is the way to go imo.
Compared to v1 there are many new patches here plus build fixes to two of the three remaining ones from v1.
01: p2m: set_{foreign,mmio}_p2m_entry() are HVM-only
02: p2m: {,un}map_mmio_regions() are HVM-only
03: mm: the gva_to_gfn() hook is HVM-only
04: AMD/IOMMU: guest IOMMU support is for HVM only
05: p2m: change_entry_type_* hooks are HVM-only
06: p2m: hardware-log-dirty related hooks are HVM-only
07: p2m: the recalc hook is HVM-only
08: mem-access is HVM-only
09: make mem-paging configuarable and default it to off for being unsupported 10: p2m: {get,set}_entry hooks and p2m-pt.c are HVM-only
11: p2m: write_p2m_entry_{pre,post} hooks are HVM-only
12: p2m: re-arrange struct p2m_domain
Jan