]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddcf21665728a1c9ef364c75e44ae5ff45490ace
tree8099ff4a321f57dfdbb18eec41d357369c93a0b2
parent63fbfc7e34dddfa7ced018b0674187b6c7ed253f
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