]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: powerpc/mm/hash: Always clear UPRT and Host Radix bits when setting...
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 22 Feb 2017 05:12:02 +0000 (10:42 +0530)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 24 Feb 2017 15:02:02 +0000 (09:02 -0600)
commitc36ebd63d3778b536ccc1a050ecd654ac2dd5363
treef990aeec42fc160709e7c39e7b6704e8f0c8869d
parent19592ca8942970085c4c89523402c0d54a0f5623
UBUNTU: SAUCE: powerpc/mm/hash: Always clear UPRT and Host Radix bits when setting up CPU

BugLink: http://bugs.launchpad.net/bugs/1667116
We will set LPCR with correct value for radix during int. This make sure we
start with a sanitized value of LPCR. In case of kexec, cpus can have LPCR
value based on the previous translation mode we were running.

Fixes: fe036a0605d60 ("powerpc/64/kexec: Fix MMU cleanup on radix")
Cc: stable@vger.kernel.org # v4.9+
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/powerpc/kernel/cpu_setup_power.S