summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/iommu.c
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2013-10-01 21:04:10 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-03 09:22:53 +0200
commitd1211af3049f4c9c1d8d4eb8f8098cc4f4f0d0c7 (patch)
treee7dedb4f171f28b2a07f4fc759a5a7de6fc1d1e1 /arch/powerpc/kernel/iommu.c
parentpowerpc: Restore registers on error exit from csum_partial_copy_generic() (diff)
downloadlinux-d1211af3049f4c9c1d8d4eb8f8098cc4f4f0d0c7.tar.xz
linux-d1211af3049f4c9c1d8d4eb8f8098cc4f4f0d0c7.zip
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: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: <stable@vger.kernel.org>
Diffstat (limited to 'arch/powerpc/kernel/iommu.c')
0 files changed, 0 insertions, 0 deletions