summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-08-25 09:59:46 +0100
committerOliver Upton <oupton@kernel.org>2026-09-15 15:09:56 -0700
commita1b3c788ad31837e348075e93dbba3f447492776 (patch)
treea28f4faaa9ba5a84d901fb95de0b9ffa8edd849d /tools/perf/scripts/python/stackcollapse.py
parent2a2eb10795a1e495aebc7f829ccecb72c05b4fd9 (diff)
downloadlinux-next-a1b3c788ad31837e348075e93dbba3f447492776.tar.gz
linux-next-a1b3c788ad31837e348075e93dbba3f447492776.zip
KVM: arm64: Do not clear VM-wide SVE feature on vCPU init failure
pkvm_vcpu_init_sve() clears KVM_ARM_VCPU_SVE in kvm->arch.vcpu_features when it fails, but vcpu_has_sve() tests KVM_ARCH_FLAG_GUEST_HAS_SVE, which is left set. Later vCPUs on that VM then skip the SVE setup and register with a NULL sve_state, which the guest's first FP access hands to sve_load_state(). Return the error without touching vcpu_features. Fixes: 5db1bef93342 ("KVM: arm64: Track SVE state in the hypervisor vcpu structure") Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20260825085948.1674721-3-fuad.tabba@linux.dev Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions