aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-07-13 09:32:56 -0700
committerPaolo Bonzini <[email protected]>2021-08-02 11:01:52 -0400
commit4547700a4d190ac419abffa317069aaccf1ac118 (patch)
tree44b63c2c4535ed78980876f3bf70c2fa96462f86 /tools/perf/scripts/python/stackcollapse.py
parent421221234ada41b4a9f0beeb08e30b07388bd4bd (diff)
KVM: x86: Consolidate APIC base RESET initialization code
Consolidate the APIC base RESET logic, which is currently spread out across both x86 and vendor code. For an in-kernel APIC, the vendor code is redundant. But for a userspace APIC, KVM relies on the vendor code to initialize vcpu->arch.apic_base. Hoist the vcpu->arch.apic_base initialization above the !apic check so that it applies to both flavors of APIC emulation, and delete the vendor code. Reviewed-by: Reiji Watanabe <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions