Re: [PATCH] KVM: SVM: Macrofy SEV=n versions of sev_xxx_guest()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux