Re: [PATCH 0/3] KVM: SVM: SEV-ES save area fix+cleanups

From: Sean Christopherson
Date: Fri Jun 28 2024 - 18:58:08 EST


On Mon, 17 Jun 2024 14:04:29 -0700, Sean Christopherson wrote:
> Fix a noinstr violation with allyesconfig builds due a missing __always_inline
> on sev_es_host_save_area(), and tidy up related code.
>
> Sean Christopherson (3):
> KVM: SVM: Force sev_es_host_save_area() to be inlined (for noinstr
> usage)
> KVM: SVM: Use sev_es_host_save_area() helper when initializing tsc_aux
> KVM: SVM: Use compound literal in lieu of __maybe_unused rdmsr() param
>
> [...]

Applied 1-2 to kvm-x86 svm. The compound literal magic is unnecessary, and
hopefully someday we'll fixup the rdmsr mess.

[1/3] KVM: SVM: Force sev_es_host_save_area() to be inlined (for noinstr usage)
https://github.com/kvm-x86/linux/commit/34830b3c02ae
[2/3] KVM: SVM: Use sev_es_host_save_area() helper when initializing tsc_aux
https://github.com/kvm-x86/linux/commit/704ec48fc2fb
[3/3] KVM: SVM: Use compound literal in lieu of __maybe_unused rdmsr() param
(not applied)

--
https://github.com/kvm-x86/linux/tree/next