powerpc/mm/coproc: Handle bad address on coproc slb fault
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 15 Nov 2016 15:06:06 +0000 (20:36 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 22 Nov 2016 00:57:08 +0000 (11:57 +1100)
commit64168f4296fa507ba059307984cddcf957a81d5f
tree5db9b003260ed01bb90088419233da28afd3da1a
parent6654c9368a6ff75a36230d8eb94676da1d01f5ae
powerpc/mm/coproc: Handle bad address on coproc slb fault

VSID 0 is bad address. Don't create slb entries on coproc fault for
bad address

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
Reviewed-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/copro_fault.c