[PATCH] x86/EPT: drop "tm" field of EPT entry

Jan Beulich posted 1 patch 2 years, 8 months ago
Failed in applying to current master (apply log)
[PATCH] x86/EPT: drop "tm" field of EPT entry
Posted by Jan Beulich 2 years, 8 months ago
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.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/include/asm-x86/hvm/vmx/vmx.h
+++ b/xen/include/asm-x86/hvm/vmx/vmx.h
@@ -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;


RE: [PATCH] x86/EPT: drop "tm" field of EPT entry
Posted by Tian, Kevin 2 years, 7 months ago
> From: Jan Beulich <jbeulich@suse.com>
> 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.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Kevin Tian <kevin.tian@intel.com>

> 
> --- a/xen/include/asm-x86/hvm/vmx/vmx.h
> +++ b/xen/include/asm-x86/hvm/vmx/vmx.h
> @@ -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;