powerpc/64s: Add dt_cpu_ftrs boot time setup option
authorNicholas Piggin <npiggin@gmail.com>
Thu, 11 May 2017 11:24:41 +0000 (21:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Jun 2017 09:54:33 +0000 (19:54 +1000)
commita2b05b7aa60e1e9b60faf01dfb1cca35638d1ab1
tree8099ff4a321f57dfdbb18eec41d357369c93a0b2
parenta4700a26107241cc7b9ac8528b2c6714ff99983d
powerpc/64s: Add dt_cpu_ftrs boot time setup option

Provide a dt_cpu_ftrs= cmdline option to disable the dt_cpu_ftrs CPU
feature discovery, and fall back to the "cputable" based version.

Also allow control of advertising unknown features to userspace and
with this parameter, and remove the clunky CONFIG option.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Add explicit early check of bootargs in dt_cpu_ftrs_init()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/admin-guide/kernel-parameters.txt
arch/powerpc/Kconfig
arch/powerpc/kernel/dt_cpu_ftrs.c