[PASEMI] Nemo board doesn't boot anymore after the commit "powerpc/book3s64/pkeys: Simplify pkey disable branch"

Aneesh Kumar K.V aneesh.kumar at linux.ibm.com
Mon Aug 10 18:58:43 AEST 2020


On 8/10/20 2:15 PM, Christian Zigotzky wrote:
> Hello Aneesh,
> 
> I tested the new kernel today and unfortunately it doesn't run very well.
> 
> I have only one core (1 physical processor; 1 core; 2 threads) instead 
> of two cores (1 physical processor; 2 cores; 2 threads) so the system is 
> slower.
> 
> Boot log: http://www.xenosoft.de/dmesg_nemo_board_kernel_5.9.txt
> 
> Could you please check the updates?


modified   arch/powerpc/mm/book3s64/hash_utils.c
@@ -1116,7 +1116,8 @@ void hash__early_init_mmu_secondary(void)
  		tlbiel_all();

  #ifdef CONFIG_PPC_MEM_KEYS
-	mtspr(SPRN_UAMOR, default_uamor);
+	if (mmu_has_feature(MMU_FTR_PKEY))
+		mtspr(SPRN_UAMOR, default_uamor);
  #endif
  }
  #endif /* CONFIG_SMP */



-aneesh


More information about the Linuxppc-dev mailing list