]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Invalidate subpage_prot() system call on radix platforms
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Mon, 4 Dec 2017 05:49:22 +0000 (11:19 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 14:12:21 +0000 (01:12 +1100)
commit9fc36f8de4e31ad9958b84db222877217a5fce2b
treede4059bac5d83c4e9788c05c3ec941244e98182e
parent3dbd1d6de7774a6a96c1cdcf1a79532fd35a8552
powerpc/mm: Invalidate subpage_prot() system call on radix platforms

Radix enabled platforms don't support subpage_prot() system calls. But
at present the system call goes through without an error and fails
later on while validating expected subpage accesses. Lets not allow
the system call on powerpc radix platforms to begin with to prevent
this confusion in user space.

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/subpage-prot.c