Skip to contentSkip to conversation

x86/EPT: drop "tm" field of EPT entry

PATCH In review Jan Beulich 2 participants 2 messages Aug 30, 2021 – Aug 31, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/EPT: drop "tm" field of EPT entry

VT-d spec 3.2 converted this bit (back) to reserved. Since there's no use of it anywhere in the tree, simply rename it and adjust its comment.

xen/include/asm-x86/hvm/vmx/vmx.h +1 -2
@@ -46,8 +46,7 @@ typedef union {
         mfn         :   40, /* bits 51:12 - Machine physical frame number */
         sa_p2mt     :   6,  /* bits 57:52 - Software available 2 */
         access      :   4,  /* bits 61:58 - p2m_access_t */
-        tm          :   1,  /* bit 62 - VT-d transient-mapping hint in
-                               shared EPT/VT-d usage */
+        _rsvd       :   1,  /* bit 62 - reserved */
         suppress_ve :   1;  /* bit 63 - suppress #VE */
     };
     u64 epte;
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines

From: Jan Beulich <[email protected]>
Sent: Monday, August 30, 2021 10:22 PM

VT-d spec 3.2 converted this bit (back) to reserved. Since there's no use of it anywhere in the tree, simply rename it and adjust its comment.

Quoted 13 lines
xen/include/asm-x86/hvm/vmx/vmx.h +1 -2
@@ -46,8 +46,7 @@ typedef union {
         mfn         :   40, /* bits 51:12 - Machine physical frame number */
         sa_p2mt     :   6,  /* bits 57:52 - Software available 2 */
         access      :   4,  /* bits 61:58 - p2m_access_t */
-        tm          :   1,  /* bit 62 - VT-d transient-mapping hint in
-                               shared EPT/VT-d usage */
+        _rsvd       :   1,  /* bit 62 - reserved */
         suppress_ve :   1;  /* bit 63 - suppress #VE */
     };
     u64 epte;