[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zh0jLB5Ym8eUPLp2@chao-email>
Date: Mon, 15 Apr 2024 20:53:00 +0800
From: Chao Gao <chao.gao@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>
CC: <linux-kernel@...r.kernel.org>, <kvm@...r.kernel.org>, Sean Christopherson
<seanjc@...gle.com>, Isaku Yamahata <isaku.yamahata@...el.com>, Xiaoyao Li
<xiaoyao.li@...el.com>, Binbin Wu <binbin.wu@...ux.intel.com>
Subject: Re: [PATCH 02/10] KVM: x86/mmu: Replace hardcoded value 0 for the
initial value for SPTE
>@@ -194,7 +196,7 @@ extern u64 __read_mostly shadow_nonpresent_or_rsvd_mask;
> *
> * Only used by the TDP MMU.
> */
>-#define REMOVED_SPTE 0x5a0ULL
>+#define REMOVED_SPTE (SHADOW_NONPRESENT_VALUE | 0x5a0ULL)
>
"Use only low bits to avoid 64-bit immediates" in the comment above becomes
stale w/ patch 3 applied.
Powered by blists - more mailing lists