When update to SDK BSP37 SRM release, there is a new added kernel config
NVMEM_SCMI, it is to add SCMI NVMEM support, but now the ATF transport side
is not ready, and this config will cause the following panic when STR:

 Unable to handle kernel paging request at virtual address ffffffffffffffe8
 Mem abort info:
   ESR = 0x0000000096000005
   EC = 0x25: DABT (current EL), IL = 32 bits
   SET = 0, FnV = 0
   EA = 0, S1PTW = 0
   FSC = 0x05: level 1 translation fault
 Data abort info:
   ISV = 0, ISS = 0x00000005
   CM = 0, WnR = 0
 swapper pgtable: 4k pages, 39-bit VAs, pgdp=000000008b83e000
 [ffffffffffffffe8] pgd=0000000000000000, p4d=0000000000000000, 
pud=0000000000000000
 Internal error: Oops: 96000005 [#1] PREEMPT SMP
 Modules linked in: 8021q llce_can llce_mailbox pfeng(O) llce_core sch_fq_codel 
openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
 CPU: 1 PID: 961 Comm: rtcwake Tainted: G           O      
5.15.129-yocto-standard #1
 Hardware name: NXP S32G274A-RDB2 (DT)
 pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
 pc : scmi_dev_suspend+0xc/0x40
 lr : __device_suspend+0x2bc/0x444
 sp : ffffffc00d13ba90
 x29: ffffffc00d13ba90 x28: ffffffc008ad78c4 x27: ffffff880ba2a260
 x26: 0000000000000002 x25: ffffffc009d4619c x24: ffffffc008d5b6e0
 x23: ffffff880ba28930 x22: 0000000000000000 x21: 0000000000000002
 x20: ffffffc00b299d60 x19: ffffff880ba28810 x18: ffffffffffffffff
 x17: 203a7367616c6620 x16: 7265766972642064 x15: ffffffc00aa968c2
 x14: 0000000000000000 x13: 30203a7367616c66 x12: 2072657669726420
 x11: 00000000000000f2 x10: ffffffc009d46d78 x9 : ffffffc008ad773c
 x8 : 00000000fffff287 x7 : ffffffc009d9ed78 x6 : 0000000000000001
 x5 : ffffff880ba28810 x4 : 0000000000000001 x3 : ffffffc009769008
 x2 : 0000000000000000 x1 : 0000000000000002 x0 : ffffff880ba28810
 Call trace:
  scmi_dev_suspend+0xc/0x40
  dpm_suspend+0x184/0x26c
  dpm_suspend_start+0x84/0xa0
  suspend_devices_and_enter+0x148/0x20c
  enter_state+0x148/0x1dc
  pm_suspend+0x60/0xf0
  state_store+0x94/0x120
  kobj_attr_store+0x18/0x30
  sysfs_kf_write+0x54/0x80
  kernfs_fop_write_iter+0x128/0x1c0
  new_sync_write+0xf0/0x18c
  vfs_write+0x1c4/0x220
  ksys_write+0x70/0x100
  __arm64_sys_write+0x24/0x30
  invoke_syscall+0x5c/0x130
  el0_svc_common.constprop.0+0x68/0x124
  do_el0_svc+0x4c/0xb0
  el0_svc+0x54/0x110
  el0t_64_sync_handler+0xa4/0x130
  el0t_64_sync+0x1a0/0x1a4
 Code: d503201f aa1e03e9 d503201f f9403402 (f85e8042) 
 ---[ end trace b5605e874e1249c4 ]---
 Kernel panic - not syncing: Oops: Fatal exception
 SMP: stopping secondary CPUs
 Kernel Offset: disabled
 CPU features: 0x9,00002001,20000842
 Memory Limit: none
 ---[ end Kernel panic - not syncing: Oops: Fatal exception ]---

So disable this config by default to fix the above issues, and it is will
be enabled again when related codes all ready.

Signed-off-by: Zhantao Tang <zhantao.t...@windriver.com>
---
 bsp/nxp-s32g/nxp-s32g.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsp/nxp-s32g/nxp-s32g.cfg b/bsp/nxp-s32g/nxp-s32g.cfg
index 977ee918..98610651 100644
--- a/bsp/nxp-s32g/nxp-s32g.cfg
+++ b/bsp/nxp-s32g/nxp-s32g.cfg
@@ -159,7 +159,7 @@ CONFIG_S32CC_WDT=y
 CONFIG_BLK_DEV_NVME=y
 CONFIG_NVME_TARGET=y
 CONFIG_NVMEM_S32CC_SIUL2=y
-CONFIG_NVMEM_SCMI=y
+# CONFIG_NVMEM_SCMI is not set
 
 #LLCE
 CONFIG_CAN_LLCE=y
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13100): 
https://lists.yoctoproject.org/g/linux-yocto/message/13100
Mute This Topic: https://lists.yoctoproject.org/mt/101494736/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to