Wind River Support Network

HomeDefectsLIN10-6104
Fixed

LIN10-6104 : When boot up target, it may block at very begining

Created: Jul 10, 2019    Updated: Dec 9, 2019
Resolved Date: Sep 5, 2019
Found In Version: 10.17.41.13
Fix Version: 10.17.41.18
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: BSP

Description

Hang on CPU features detect and enable: detected feature: Kernel page table isolation (KPTI)

It's only happen on specific board.It can't be reproduced on fsl-ls1046a-rdb.

The test with this:

1.enable CONFIG_ARM64_LSE_ATOMICS, no reproduce.

2.

boot args with maxcpus=1 or maxcpus=2,no reproduce.

maxcpus=3, can reproduce.

3.

only enable cpu@0 cpu@1, no reproduce.

only enable cpu@0 cpu@2, can reproduce.

4.NXP SDK V2.0-1703 kernel 4.1.x,no reproduce

5.NXP SDK LSDK1903 kernel  4.14.67,no reproduce

6.NXP LSDK-18.06-V4.14,no reproduce.



Workaround

enable CONFIG_ARM64_LSE_ATOMICS

Steps to Reproduce

project configure:

--machines=nxp-ls1046 --distro=wrlinux --templates=feature/gdb --dl-layers

When boot the kernel, the kernel hang on :

enable_cpu_capabilities->cpu_install_idmap->local_flush_tlb_all
Live chat
Online