KVM: VMX: restore vmx_vmexit alignment
authorJon Kohler <jon@nutanix.com>
Wed, 31 May 2023 15:58:21 +0000 (11:58 -0400)
committerSean Christopherson <seanjc@google.com>
Thu, 1 Jun 2023 21:20:04 +0000 (14:20 -0700)
commit331f229768160dceec5b5694ea32ecf66e2e2452
tree75d1748da1f29b20bbec36c6218a8fd0f1e30fc1
parent33ab767c2628136c54c2e2160e4c536c7db9c6d0
KVM: VMX: restore vmx_vmexit alignment

Commit 8bd200d23ec4 ("KVM: VMX: Flatten __vmx_vcpu_run()") changed
vmx_vmexit from SYM_FUNC_START to SYM_INNER_LABEL, accidentally
removing 16 byte alignment as SYM_FUNC_START uses SYM_A_ALIGN and
SYM_INNER_LABEL does not. Josh mentioned [1] this was unintentional.

Fix by changing to SYM_INNER_LABEL_ALIGN instead.

[1] https://lore.kernel.org/lkml/Y3adkSe%2FJ70PqUyt@p183

Fixes: 8bd200d23ec4 ("KVM: VMX: Flatten __vmx_vcpu_run()")
Signed-off-by: Jon Kohler <jon@nutanix.com>
Suggested-by: Alexey Dobriyan <adobriyan@gmail.com>
CC: Josh Poimboeuf <jpoimboe@kernel.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Reviewed-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20230531155821.80590-1-jon@nutanix.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmenter.S