[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174562168599.1002600.6563774484304415147.b4-ty@google.com>
Date: Fri, 25 Apr 2025 16:23:26 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, kvm@...r.kernel.org, x86@...nel.org,
linux-kernel@...r.kernel.org, Uros Bizjak <ubizjak@...il.com>
Cc: Paolo Bonzini <pbonzini@...hat.com>, Vitaly Kuznetsov <vkuznets@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...nel.org>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, "H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH 1/2] KVM: x86: Use asm_inline() instead of asm() in kvm_hypercall[0-4]()
On Mon, 14 Apr 2025 10:10:50 +0200, Uros Bizjak wrote:
> Use asm_inline() to instruct the compiler that the size of asm()
> is the minimum size of one instruction, ignoring how many instructions
> the compiler thinks it is. ALTERNATIVE macro that expands to several
> pseudo directives causes instruction length estimate to count
> more than 20 instructions.
>
> bloat-o-meter reports minimal code size increase
> (x86_64 defconfig, gcc-14.2.1):
>
> [...]
Applied patch 2 to kvm-x86 vmx (I'll let Paolo grab the guest change). Thanks!
[1/2] KVM: x86: Use asm_inline() instead of asm() in kvm_hypercall[0-4]()
(no commit info)
[2/2] KVM: VMX: Use LEAVE in vmx_do_interrupt_irqoff()
https://github.com/kvm-x86/linux/commit/798b9b1cb0e5
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists