diff options
author | Sean Christopherson <[email protected]> | 2022-12-13 06:09:08 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-01-24 10:36:27 -0800 |
commit | 11633f69506d038120925691626f2851203af241 (patch) | |
tree | 9abe5aef23e4ae410200ad3b5fadddf30316b8e2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8578f59657c505982e1d05232272c6bf304cf8aa (diff) |
KVM: VMX: Always inline eVMCS read/write helpers
Tag all evmcs_{read,write}() helpers __always_inline so that they can be
freely used in noinstr sections, e.g. to get the VM-Exit reason in
vcpu_vmx_enter_exit() (in a future patch). For consistency and to avoid
more spot fixes in the future, e.g. see commit 010050a86393 ("x86/kvm:
Always inline evmcs_write64()"), tag all accessors even though
evmcs_read32() is the only anticipated use case in the near future. In
practice, non-KASAN builds are all but guaranteed to inline the helpers
anyways.
vmlinux.o: warning: objtool: vmx_vcpu_enter_exit+0x107: call to evmcs_read32()
leaves .noinstr.text section
Reported-by: kernel test robot <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions