x86/ept: force WB to foreign and grant mappings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/mtrr: remove stale function prototypexen/ | +0 | 1 reply | |
| 2/3 | x86/mtrr: move epte_get_entry_emt to p2m-ept.cxen/ xen/ xen/ +2 more | +118 | 2 replies | |
| 3/3 | x86/ept: force WB cache attributes for grant and foreign mapsxen/ xen/ xen/ | +32 | 5 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Kevin Tian |
|---|---|---|
| 1/3 | A-b | |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] x86/ept: force WB to foreign and grant mappings
Hello,
The aim of this series is to force the cache attribute of foreign and grant mappings to WB for HVM/PVH guests. This is required because those mappings will be likely be using unpopulated memory ranges in the p2m, and those are usually UC in the MTRR state.
Having the guest set the correct MTRR attributes is also unlikely, because the number of MTRR ranges is finite.
Roger Pau Monne (3):
x86/mtrr: remove stale function prototype
x86/mtrr: move epte_get_entry_emt to p2m-ept.c x86/ept: force WB cache attributes for grant and foreign maps
xen/arch/x86/hvm/mtrr.c | 107 +--------------------- xen/arch/x86/hvm/vmx/vmx.c | 6 +- xen/arch/x86/mm/p2m-ept.c | 145 ++++++++++++++++++++++++++++-- xen/include/asm-x86/hvm/vmx/vmx.h | 2 + xen/include/asm-x86/mtrr.h | 7 +- 5 files changed, 147 insertions(+), 120 deletions(-)
Signature · 1 line
2.31.1