]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Parse the command line before calling CAS
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Tue, 28 Feb 2017 06:03:47 +0000 (17:03 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Mar 2017 10:44:08 +0000 (21:44 +1100)
commit3de5bf9fef7edc5ecfb088deb4031029f78c37b0
tree8af6ff63d0cf4b3fa2fbaf1bbd6ef0481b4c073f
parentec98887b29d060c12222a8a0a4f968a685afbeab
powerpc: Parse the command line before calling CAS

On POWER9 the hypervisor requires the guest to decide whether it would
like to use a hash or radix mmu model at the time it calls
ibm,client-architecture-support (CAS) based on what the hypervisor has
said it's allowed to do. It is possible to disable radix by passing
"disable_radix" on the command line. The next patch will add support for
the new CAS format, thus we need to parse the command line before calling
CAS so we can correctly select which mmu we would like to use.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c