[PASEMI] Nemo board doesn't boot anymore after the commit "powerpc/book3s64/pkeys: Simplify pkey disable branch"
Christian Zigotzky
chzigotzky at xenosoft.de
Mon Aug 10 20:22:52 AEST 2020
Am 10.08.20 um 10:58 schrieb Aneesh Kumar K.V:
> 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
Hello Aneesh,
Your modifications work! I have 2 cores again and I can see the boot
messages.
Thanks a lot!
Cheers,
Christian
More information about the Linuxppc-dev
mailing list