aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorAlistair Popple <[email protected]>2020-05-21 01:43:41 +0000
committerMichael Ellerman <[email protected]>2020-06-02 10:59:20 +0000
commita3ea40d5c7365e7e5c7c85b6f30b15142b397571 (patch)
tree532cf6685dc2d13a0d70826e9824dbe2eac81352 /arch/powerpc/lib/code-patching.c
parentpowerpc/dt_cpu_ftrs: Add MMA feature (diff)
downloadkernel-a3ea40d5c7365e7e5c7c85b6f30b15142b397571.tar.gz
kernel-a3ea40d5c7365e7e5c7c85b6f30b15142b397571.zip
powerpc: Add POWER10 architected mode
PVR value of 0x0F000006 means we are arch v3.1 compliant (i.e. POWER10). This is used by phyp and kvm when booting as a pseries guest to detect the presence of new P10 features and to enable the appropriate hwcap and facility bits. Signed-off-by: Alistair Popple <[email protected]> Signed-off-by: Cédric Le Goater <[email protected]> [mpe: Fall through to __init_FSCR rather than duplicating it, drop hack to set current->thread.fscr now that is handled elsewhere.] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions