]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Clear top 16 bits of va only on older cpus
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 13 Jul 2016 09:35:24 +0000 (15:05 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 17 Jul 2016 06:42:52 +0000 (16:42 +1000)
commite940ca07791cfbbd461732f262333a36372d8079
tree0c0575e8e8d17cd005ecf8b90619488bc6b2faf1
parentfa01dc0f535c0660103e24f0409c96c93947c590
powerpc/mm: Clear top 16 bits of va only on older cpus

As per ISA, we need to do this only for architecture version 2.02 and
earlier. This continued to work even for 2.07. But let's not do this for
anything after 2.02. ISA 3.0 requires these top bits to be not cleared.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mmu.h
arch/powerpc/kernel/cputable.c
arch/powerpc/mm/hash_native_64.c