Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/risc-v: fix RV32 addrenv destroy issue #12132

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

yf13
Copy link
Contributor

@yf13 yf13 commented Apr 13, 2024

Summary

This patch fixes issue 12123 and issue 11803 for RV32, where the walk should be limited to user space only.

Impact

RV32 kernel mode

Testing

rv-virt/knsh32 with DEBUG_ASSERTIONS enabled.

@yf13 yf13 changed the title arch/risc-v: fix RV32 up_addrenv_destroy arch/risc-v: fix RV32 addrenv destroy issue Apr 13, 2024
@xiaoxiang781216 xiaoxiang781216 linked an issue Apr 13, 2024 that may be closed by this pull request
This patch fixes the issue/12122 for RV32, where the scanning should be
limited to user space only.

Signed-off-by: Yanfeng Liu <[email protected]>
@xiaoxiang781216 xiaoxiang781216 merged commit 200424e into apache:master Apr 14, 2024
26 checks passed
@yf13 yf13 deleted the rv12123 branch April 16, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rv-virt/knsh32 crashes after runing ELF app Debug Assertions asserting on rv-virt:knsh32
3 participants