diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-11-03 15:13:19 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-06 22:46:13 +1100 |
commit | b6b3755e9bec9c686a34ec81eacced0075370cbc (patch) | |
tree | 89c140452528f41c374dc1f17f64af70e2906fe2 /arch/powerpc/kernel/dt_cpu_ftrs.c | |
parent | 6f700d38a8c9dc4d786ac4a831073194f17c5076 (diff) | |
download | lwn-b6b3755e9bec9c686a34ec81eacced0075370cbc.tar.gz lwn-b6b3755e9bec9c686a34ec81eacced0075370cbc.zip |
powerpc: add POWER9_DD20 feature
Cc: Michael Neuling <mikey@neuling.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/dt_cpu_ftrs.c')
-rw-r--r-- | arch/powerpc/kernel/dt_cpu_ftrs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/dt_cpu_ftrs.c b/arch/powerpc/kernel/dt_cpu_ftrs.c index c7bfcacc2cb6..a7ad181d0deb 100644 --- a/arch/powerpc/kernel/dt_cpu_ftrs.c +++ b/arch/powerpc/kernel/dt_cpu_ftrs.c @@ -735,6 +735,8 @@ static __init void cpufeatures_cpu_quirks(void) */ if ((version & 0xffffff00) == 0x004e0100) cur_cpu_spec->cpu_features |= CPU_FTR_POWER9_DD1; + else if ((version & 0xffffefff) == 0x004e0200) + cur_cpu_spec->cpu_features |= CPU_FTR_POWER9_DD20; } static void __init cpufeatures_setup_finished(void) |