aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Huth <[email protected]>2016-05-12 13:26:44 +0200
committerMichael Ellerman <[email protected]>2016-05-31 20:07:56 +1000
commitd23fac2b27d94aeb7b65536a50d32bfdc21fe01e (patch)
tree9b60ba21b6bac88d3217a42fffbbb917be94ae9b /tools/perf/scripts/python/export-to-postgresql.py
parentbd000b82e86503d5e8b9e6d40a3257bc9dddb96d (diff)
powerpc: Fix definition of SIAR and SDAR registers
The SIAR and SDAR registers are available twice, one time as SPRs 780 / 781 (unprivileged, but read-only), and one time as the SPRs 796 / 797 (privileged, but read and write). The Linux kernel code currently uses the unprivileged SPRs - while this is OK for reading, writing to that register of course does not work. Since the KVM code tries to write to this register, too (see the mtspr in book3s_hv_rmhandlers.S), the contents of this register sometimes get lost for the guests, e.g. during migration of a VM. To fix this issue, simply switch to the privileged SPR numbers instead. Cc: [email protected] Signed-off-by: Thomas Huth <[email protected]> Acked-by: Paul Mackerras <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions