[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173457545920.3294890.15735431566312816303.b4-ty@google.com>
Date: Wed, 18 Dec 2024 18:40:54 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] KVM: SVM: Macrofy SEV=n versions of sev_xxx_guest()
On Wed, 27 Nov 2024 15:46:59 -0800, Sean Christopherson wrote:
> Define sev_{,es_,snp_}guest() as "false" when SEV is disabled via Kconfig,
> i.e. when CONFIG_KVM_AMD_SEV=n. Despite the helpers being __always_inline,
> gcc-12 is somehow incapable of realizing that the return value is a
> compile-time constant and generates sub-optimal code.
>
> Opportunistically clump the paths together to reduce the amount of
> ifdeffery.
>
> [...]
Applied to kvm-x86 svm, thanks!
[1/1] KVM: SVM: Macrofy SEV=n versions of sev_xxx_guest()
https://github.com/kvm-x86/linux/commit/45d522d3ee9c
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists