aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2013-10-02 00:34:10 +0530
committerBen Hutchings <ben@decadent.org.uk>2013-10-26 21:06:07 +0100
commit28cfcc851d5c8a7075ea8bb9b8695bb376f6872d (patch)
tree9b098d681e5cc3c143208c75c6dabb508f3af0cc /tools/perf/util/scripting-engines/trace-event-python.c
parent0b2d10f8f2e686c9f4b718251765f09f77ee8088 (diff)
powerpc/sysfs: Disable writing to PURR in guest mode
commit d1211af3049f4c9c1d8d4eb8f8098cc4f4f0d0c7 upstream. arch/powerpc/kernel/sysfs.c exports PURR with write permission. This may be valid for kernel in phyp mode. But writing to the file in guest mode causes crash due to a priviledge violation Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [bwh: Backported to 3.2: - Adjust context - CPUs are sysdev and we must use the sysdev API] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions