aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-01-12 15:28:05 -0800
committerSean Christopherson <seanjc@google.com>2026-01-14 13:09:50 -0800
commitcfbe371194d1f342bdd88f87a9b36407d1ec0f52 (patch)
tree2b52811e16b7e77e2e259f94b3a0929e8ec6f5b7 /tools/perf/scripts/python/flamegraph.py
parentselftests: kvm: Verify TILELOADD actually #NM faults when XFD[18]=1 (diff)
downloadlinux-cfbe371194d1f342bdd88f87a9b36407d1ec0f52.tar.gz
linux-cfbe371194d1f342bdd88f87a9b36407d1ec0f52.zip
KVM: SVM: Check vCPU ID against max x2AVIC ID if and only if x2AVIC is enabled
When allocating the AVIC backing page, only check one of the max AVIC vs. x2AVIC ID based on whether or not x2AVIC is enabled. Doing so fixes a bug where KVM incorrectly inhibits AVIC if x2AVIC is _disabled_ and any vCPU with a non-zero APIC ID is created, as x2avic_max_physical_id is left '0' when x2AVIC is disabled. Fixes: 940fc47cfb0d ("KVM: SVM: Add AVIC support for 4k vCPUs in x2AVIC mode") Cc: stable@vger.kernel.org Cc: Naveen N Rao (AMD) <naveen@kernel.org> Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Reviewed-by: Naveen N Rao (AMD) <naveen@kernel.org> Link: https://patch.msgid.link/20260112232805.1512361-1-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions