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

[patch-axel-63] RISC-V A730 #160

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

[patch-axel-63] RISC-V A730 #160

wants to merge 11 commits into from

Conversation

axel-h
Copy link
Owner

@axel-h axel-h commented Mar 12, 2024

No description provided.

@axel-h axel-h force-pushed the patch-axel-63 branch 16 times, most recently from a505f7d to 56d7684 Compare March 18, 2024 15:07
@axel-h axel-h force-pushed the patch-axel-63 branch 2 times, most recently from 9223576 to 84161ac Compare March 27, 2024 14:56
@axel-h axel-h force-pushed the patch-axel-63 branch 5 times, most recently from 4f60ee0 to 8001b70 Compare April 11, 2024 14:12
@axel-h axel-h force-pushed the patch-axel-63 branch 4 times, most recently from 43c080f to 15b4180 Compare May 15, 2024 20:17
@axel-h axel-h force-pushed the patch-axel-63 branch 2 times, most recently from da92783 to 82c6677 Compare May 23, 2024 09:58
@axel-h axel-h force-pushed the patch-axel-63 branch 9 times, most recently from 3010fbb to b59c775 Compare May 27, 2024 13:15
Axel Heider and others added 11 commits July 4, 2024 11:37
This is most likely an artifact from the change of the IPC buffer
handling before v11.0.0, where a thread-local register (tp on RISC-V)
was reserved by the kernel for storing the pointer to the thread's
IPC buffer. Architectures such as aarch64 would set the register
inside Arch_switchToThread() and then not touch the register in
restore_user_context(). When the RISC-V port was up-streamed, it
didn't restore the register with the other registers, but also
didn't restore it in Arch_switchToThread() and so ended up restoring
it right at the end of the restore process.

Co-authored-by: Kent McLeod <[email protected]>
Signed-off-by: Axel Heider <[email protected]>
Signed-off-by: Axel Heider <[email protected]>
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.

1 participant