This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Atomic instruction(e.g. LDXR, STXR) can't execute by CPU Cortex-A78

Hi All,

Currently, I'm working on linux kernel bootup task on "Arm-A78" CPU.

Linux kernel version : linux-kernel 5.10.39.

Uboot version : U-Boot 2021.10-rc2

Currently, Uboot is execute successfully and it's load kernel and Device tree on RAM which is configured by uboot and now kernel start it's execution from the RAM.

Problem : Kernel execution stuck at "pr_info" function, Using debugger I found that, When CPU tries to execute atomic (LDXR, STXR) instruction from the "_percpu_or_case_32" function which is in "_pcp_protect" function which is part of percpu.h file of the kernel, It's not able to read from memory as well as not able to write the memory by "STXR" instruction.

Question : Is this problem with kernel or uboot configurations or something missing in kernel configuration, Or is there any solution for that?

Please help me the same.

Regards,

Romit