aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPeter Gonda <[email protected]>2022-05-02 16:58:07 +0000
committerPaolo Bonzini <[email protected]>2022-05-06 17:08:04 +0000
commit0c2c7c069285374fc8feacddc0498f8ab7627117 (patch)
treec6ec000f4bca25b5db8ce92b2d9d97cc2fba0c96 /tools/perf/scripts/python/flamegraph.py
parentMerge branch 'kvm-amd-pmu-fixes' into HEAD (diff)
downloadkernel-0c2c7c069285374fc8feacddc0498f8ab7627117.tar.gz
kernel-0c2c7c069285374fc8feacddc0498f8ab7627117.zip
KVM: SEV: Mark nested locking of vcpu->lock
svm_vm_migrate_from() uses sev_lock_vcpus_for_migration() to lock all source and target vcpu->locks. Unfortunately there is an 8 subclass limit, so a new subclass cannot be used for each vCPU. Instead maintain ownership of the first vcpu's mutex.dep_map using a role specific subclass: source vs target. Release the other vcpu's mutex.dep_maps. Fixes: b56639318bb2b ("KVM: SEV: Add support for SEV intra host migration") Reported-by: John Sperbeck<[email protected]> Suggested-by: David Rientjes <[email protected]> Suggested-by: Sean Christopherson <[email protected]> Suggested-by: Paolo Bonzini <[email protected]> Cc: Hillf Danton <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Peter Gonda <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions