powerpc/mm/radix: Use firmware feature to enable Radix MMU
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:26:32 +0000 (23:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:53:58 +0000 (21:53 +1000)
commit17a3dd2f5fc75fc12d0a2ebf05327cf965bdf84b
tree03f7f5ff2397c20a5456dda66b460834f436bcf9
parentab62476240d59a9d7d78ca5ff32499dd50db2069
powerpc/mm/radix: Use firmware feature to enable Radix MMU

We use the existing "ibm,pa-features" device-tree property to enable
Radix MMU mode. This means we default to hash mode unless firmware tells
us it's OK to start using Radix mode.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom.c