]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit777dd838d261204f0cad390a133b6feb0a2029c8
tree03f7f5ff2397c20a5456dda66b460834f436bcf9
parent772c206c19264c3c0a92d134253171e8bf0747f6
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