Skip to content
Snippets Groups Projects
Commit d1211af3 authored by Madhavan Srinivasan's avatar Madhavan Srinivasan Committed by Benjamin Herrenschmidt
Browse files

powerpc/sysfs: Disable writing to PURR in guest mode


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: default avatarMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org>
parent 8f21bd00
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment