[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173039500886.1507775.1819808332270567216.b4-ty@google.com>
Date: Thu, 31 Oct 2024 12:51:58 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, pbonzini@...hat.com, Yan Zhao <yan.y.zhao@...el.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Yuan Yao <yuan.yao@...el.com>
Subject: Re: [PATCH v2] KVM: VMX: Remove the unused variable "gpa" in __invept()
On Mon, 14 Oct 2024 12:59:31 +0800, Yan Zhao wrote:
> Remove the unused variable "gpa" in __invept().
>
> The INVEPT instruction only supports two types: VMX_EPT_EXTENT_CONTEXT (1)
> and VMX_EPT_EXTENT_GLOBAL (2). Neither of these types requires a third
> variable "gpa".
>
> The "gpa" variable for __invept() is always set to 0 and was originally
> introduced for the old non-existent type VMX_EPT_EXTENT_INDIVIDUAL_ADDR
> (0). This type was removed by commit 2b3c5cbc0d81 ("kvm: don't use bit24
> for detecting address-specific invalidation capability") and
> commit 63f3ac48133a ("KVM: VMX: clean up declaration of VPID/EPT
> invalidation types").
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/1] KVM: VMX: Remove the unused variable "gpa" in __invept()
https://github.com/kvm-x86/linux/commit/bc17fccb37c8
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists