diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2018-05-23 15:01:49 +0800 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-06-01 10:29:12 +1000 |
commit | 7f386af7bdb1a45bb04fb02d7b751809d63e5b09 (patch) | |
tree | 33f95cf69d7372e60c9fa60b11db1f4fa6dd997d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 6f597c6b63b6f3675914b5ec8fcd008a58678650 (diff) |
KVM: PPC: Book3S PR: Turn on FP/VSX/VMX MSR bits in kvmppc_save_tm()
kvmppc_save_tm() invokes store_fp_state/store_vr_state(). So it is
mandatory to turn on FP/VSX/VMX MSR bits for its execution, just
like what kvmppc_restore_tm() did.
Previously HV KVM has turned the bits on outside of function
kvmppc_save_tm(). Now we include this bit change in kvmppc_save_tm()
so that the logic is cleaner. And PR KVM can reuse it later.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions