]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/mm/64s: Only use slbfee on CPUs that support it
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 6 Nov 2018 08:25:38 +0000 (19:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 6 Nov 2018 08:32:22 +0000 (19:32 +1100)
commit9586d569a369dc585a3e191dcabd72748e3c9c5c
tree7c31645463b75c5b18c9e6ac0990a02edd51c364
parent08e6a3434e2125e4b21d0d3f84678d427345bc0d
powerpc/mm/64s: Only use slbfee on CPUs that support it

The slbfee instruction was only added in ISA 2.05 (Power6), it's not
supported on older CPUs. We don't have a CPU feature for that ISA
version though, so just use the ISA 2.06 feature flag.

Fixes: e15a4fea4dee ("powerpc/64s/hash: Add some SLB debugging tests")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/slb.c