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

Riscv addrenv #6962

Merged
merged 2 commits into from Aug 30, 2022
Merged

Riscv addrenv #6962

merged 2 commits into from Aug 30, 2022

Conversation

masayuki2009
Copy link
Contributor

Summary

  • This PR contains the following 2 commits.
    • commit1: arch: risc-v: Assign dedicated virtual addresses for text and heap
      • Current RISC-V/NuttX implementation assumes that text/data/heap
        areas are continuous. In fact, CONFIG_ARCH_TEXT_VBASE and
        CONFIG_ARCH_HEAP_VBASE are not used for memory allocation.
      • This commit assigns dedicated virtual addresses for text and heap
        which are the same approach to ARM-v7A/NuttX implementation.
    • commit2: boards: rv-virt: Assign dedicated text/heap area in knsh64/defconfig
      • This commit assigns dedicated text/heap areas that improve
        stability issues with rv-virt:knsh64

Impact

  • None

Testing

  • Tested with qemu-6.2

Summary:
- Current RISC-V/NuttX implementation assumes that text/data/heap
  areas are continuous. In fact, CONFIG_ARCH_TEXT_VBASE and
  CONFIG_ARCH_HEAP_VBASE are not used for memory allocation.
- This commit assigns dedicated virtual addresses for text and heap
  which are the same approach to ARM-v7A/NuttX implementation.

Impact:
- None

Testing:
- Tested with rv-virt:knsh64 (will be updated later)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Summary:
- This commit assigns dedicated text/heap areas that improve
  stability issues with rv-virt:knsh64

Impact:
- None

Testing:
- Tested with qemu-6.2

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 0ba9d8e into apache:master Aug 30, 2022
@masayuki2009 masayuki2009 deleted the riscv_addrenv branch September 21, 2022 07:41
@jerpelea jerpelea added this to To-Add in Release Notes - 12.0.0 Dec 29, 2022
@jerpelea jerpelea moved this from To-Add to Added in Release Notes - 12.0.0 Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants