Re: [PATCH v8 02/10] x86/cpu: KVM: Move macro to encode PAT value to common header
From: Thomas Gleixner
Date: Thu Aug 15 2024 - 11:36:34 EST
On Wed, Jun 05 2024 at 16:19, Sean Christopherson wrote:
> Move pat/memtype.c's PAT() macro to msr-index.h as PAT_VALUE(), and use it
> in KVM to define the default (Power-On / RESET) PAT value instead of open
> coding an inscrutable magic number.
>
> No functional change intended.
>
> Reviewed-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>
> Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>