[RFC v1 10/10] powerpc: Add MMU_FTRS_POSSIBLE & MMU_FTRS_ALWAYS
Christophe Leroy (CS GROUP)
chleroy at kernel.org
Wed Mar 4 20:09:36 AEDT 2026
Le 25/02/2026 à 12:04, Ritesh Harjani (IBM) a écrit :
> Similar to CPU_FTRS_[POSSIBLE|ALWAYS], let's also print
> MMU_FTRS_[ALWAYS|ALWAYS]. This has some useful data to capture during
> bootup.
The patch subject is misleading, should be something like:
powerpc: Print MMU_FTRS_POSSIBLE & MMU_FTRS_ALWAYS at startup
With that fixed, Reviewed-by: Christophe Leroy (CS GROUP)
<chleroy at kernel.org>
>
> Signed-off-by: Ritesh Harjani (IBM) <ritesh.list at gmail.com>
> ---
> arch/powerpc/kernel/setup-common.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
> index cb5b73adc250..002b312eb7e9 100644
> --- a/arch/powerpc/kernel/setup-common.c
> +++ b/arch/powerpc/kernel/setup-common.c
> @@ -866,6 +866,10 @@ static __init void print_system_info(void)
> cur_cpu_spec->cpu_user_features,
> cur_cpu_spec->cpu_user_features2);
> pr_info("mmu_features = 0x%08x\n", cur_cpu_spec->mmu_features);
> + pr_info(" possible = 0x%016lx\n",
> + (unsigned long)MMU_FTRS_POSSIBLE);
> + pr_info(" always = 0x%016lx\n",
> + (unsigned long)MMU_FTRS_ALWAYS);
> #ifdef CONFIG_PPC64
> pr_info("firmware_features = 0x%016lx\n", powerpc_firmware_features);
> #ifdef CONFIG_PPC_BOOK3S
> --
> 2.53.0
>
More information about the Linuxppc-dev
mailing list