Thread (21 messages) 21 messages, 3 authors, 2026-03-04

Re: [RFC v1 10/10] powerpc: Add MMU_FTRS_POSSIBLE & MMU_FTRS_ALWAYS

From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Date: 2026-03-04 09:09:43
Also in: linux-mm


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) [off-list ref]


quoted hunk ↗ jump to hunk
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@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
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help