public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] UefiCpuPkg/Cpuid.h: Update CPUID.7H.ECX structure for 5-level paging
@ 2019-04-08  7:32 Ni, Ray
  2019-04-08  8:00 ` Dong, Eric
  0 siblings, 1 reply; 2+ messages in thread
From: Ni, Ray @ 2019-04-08  7:32 UTC (permalink / raw)
  To: devel; +Cc: Eric Dong

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
---
 UefiCpuPkg/Include/Register/Cpuid.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/UefiCpuPkg/Include/Register/Cpuid.h b/UefiCpuPkg/Include/Register/Cpuid.h
index e0f4f968f4..0e8fd17b78 100644
--- a/UefiCpuPkg/Include/Register/Cpuid.h
+++ b/UefiCpuPkg/Include/Register/Cpuid.h
@@ -1506,8 +1506,11 @@ typedef union {
     /// [Bits 14] AVX512_VPOPCNTDQ. (Intel Xeon Phi only.).
     ///
     UINT32  AVX512_VPOPCNTDQ:1;
-    UINT32  Reserved6:2;
-
+    UINT32  Reserved6:1;
+    ///
+    /// [Bits 16] Supports 5-level paging if 1.
+    ///
+    UINT32  FiveLevelPage:1;
     ///
     /// [Bits 21:17] The value of MAWAU used by the BNDLDX and BNDSTX instructions
     /// in 64-bit mode.
-- 
2.21.0.windows.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] UefiCpuPkg/Cpuid.h: Update CPUID.7H.ECX structure for 5-level paging
  2019-04-08  7:32 [PATCH] UefiCpuPkg/Cpuid.h: Update CPUID.7H.ECX structure for 5-level paging Ni, Ray
@ 2019-04-08  8:00 ` Dong, Eric
  0 siblings, 0 replies; 2+ messages in thread
From: Dong, Eric @ 2019-04-08  8:00 UTC (permalink / raw)
  To: Ni, Ray, devel@edk2.groups.io

Hi Ray,

Please use new Reserved7 for the reserved field because Reserve6 bit width has change.

Thanks,
Eric
> -----Original Message-----
> From: Ni, Ray
> Sent: Monday, April 8, 2019 3:33 PM
> To: devel@edk2.groups.io
> Cc: Dong, Eric <eric.dong@intel.com>
> Subject: [PATCH] UefiCpuPkg/Cpuid.h: Update CPUID.7H.ECX structure for 5-
> level paging
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Ray Ni <ray.ni@intel.com>
> Cc: Eric Dong <eric.dong@intel.com>
> ---
>  UefiCpuPkg/Include/Register/Cpuid.h | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/UefiCpuPkg/Include/Register/Cpuid.h
> b/UefiCpuPkg/Include/Register/Cpuid.h
> index e0f4f968f4..0e8fd17b78 100644
> --- a/UefiCpuPkg/Include/Register/Cpuid.h
> +++ b/UefiCpuPkg/Include/Register/Cpuid.h
> @@ -1506,8 +1506,11 @@ typedef union {
>      /// [Bits 14] AVX512_VPOPCNTDQ. (Intel Xeon Phi only.).
>      ///
>      UINT32  AVX512_VPOPCNTDQ:1;
> -    UINT32  Reserved6:2;
> -
> +    UINT32  Reserved6:1;
> +    ///
> +    /// [Bits 16] Supports 5-level paging if 1.
> +    ///
> +    UINT32  FiveLevelPage:1;
>      ///
>      /// [Bits 21:17] The value of MAWAU used by the BNDLDX and BNDSTX
> instructions
>      /// in 64-bit mode.
> --
> 2.21.0.windows.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-08  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-08  7:32 [PATCH] UefiCpuPkg/Cpuid.h: Update CPUID.7H.ECX structure for 5-level paging Ni, Ray
2019-04-08  8:00 ` Dong, Eric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox