Skip to content

fix(loongarch64): fix LA release build - #375

Open
weifenjihe wants to merge 1 commit into
syswonder:devfrom
weifenjihe:fixLArelease
Open

fix(loongarch64): fix LA release build#375
weifenjihe wants to merge 1 commit into
syswonder:devfrom
weifenjihe:fixLArelease

Conversation

@weifenjihe

Copy link
Copy Markdown

Summary

  • fix LoongArch release-mode boot failures caused by early interrupt enabling
  • enable global interrupts only after the per-CPU trap context and stack are ready
  • explicitly pass the guest context to the return assembly and mark the path as non-returning

Validation

  • built with make elf ARCH=loongarch64 BOARD=ls3a6000 MODE=release LOG=info
  • verified the guest context handling in the release disassembly

@github-actions github-actions Bot added loongarch64 bug Something isn't working labels Aug 7, 2026
@li041
li041 self-requested a review August 7, 2026 09:12

@li041 li041 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution. I have verified this change on the LA3A6000 platform. Both root and non-root Linux boot processes have been tested and confirmed to work without any issues. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working loongarch64

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants