diff options
author | Nicholas Piggin <[email protected]> | 2021-05-26 22:58:51 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-05-28 22:54:27 +1000 |
commit | 1438709e6328925ef496dafd467dbd0353137434 (patch) | |
tree | 11b23d8a15f2ba940fa8d0923377f6cb8f4ff220 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 5362a4b6ee6136018558ef6b2c4701aa15ebc602 (diff) |
KVM: PPC: Book3S HV: Save host FSCR in the P7/8 path
Similar to commit 25edcc50d76c ("KVM: PPC: Book3S HV: Save and restore
FSCR in the P9 path"), ensure the P7/8 path saves and restores the host
FSCR. The logic explained in that patch actually applies there to the
old path well: a context switch can be made before kvmppc_vcpu_run_hv
restores the host FSCR and returns.
Now both the p9 and the p7/8 paths now save and restore their FSCR, it
no longer needs to be restored at the end of kvmppc_vcpu_run_hv
Fixes: b005255e12a3 ("KVM: PPC: Book3S HV: Context-switch new POWER8 SPRs")
Cc: [email protected] # v3.14+
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions