]> 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)
commita95e9ae8f99f270d77873b7bc3c4d41865f33679
tree8099ff4a321f57dfdbb18eec41d357369c93a0b2
parent52e18914bef31a85b7b49a93ac7845a61b6307b7
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