Add run_thread to LVBS platform and revise its syscall handling#566
Merged
sangho2 merged 5 commits intosanghle/lvbs/fix_vtl_switchfrom Jan 22, 2026
Merged
Add run_thread to LVBS platform and revise its syscall handling#566sangho2 merged 5 commits intosanghle/lvbs/fix_vtl_switchfrom
sangho2 merged 5 commits intosanghle/lvbs/fix_vtl_switchfrom
Conversation
898c3d5 to
1cbad25
Compare
120d077 to
657ec94
Compare
What do you mean by an upcall here? |
Contributor
Author
This is related to #556 and #564. Basically, we want to make the platform be unaware of OP-TEE stuffs. The platform delegates any OP-TEE commands to the runner and the shim via an upcall (technically, just a callback), and they will handle those commands. |
|
LGTM!. I am not familiar with the register handling, so not approving the PR. |
wdcui
reviewed
Jan 19, 2026
Member
wdcui
left a comment
There was a problem hiding this comment.
Overall, the code looks good to me. I left some comments below.
Contributor
Author
9f80306 to
c85aac5
Compare
3445eaf to
75dac12
Compare
sangho2
pushed a commit
that referenced
this pull request
Jan 23, 2026
This PR adds `run_thread` support for LVBS platform and revise its syscall handling routine based on Linux userland platform's syscall handling. It has suppressed new page table creation for now because it needs to be done by the runner via an upcall (userspace support still exists, but doesn't create a separate one for each TA instance for now). --------- Co-authored-by: Sangho Lee <sanghle@microsoft.com>
sangho2
pushed a commit
that referenced
this pull request
Jan 23, 2026
This PR adds `run_thread` support for LVBS platform and revise its syscall handling routine based on Linux userland platform's syscall handling. It has suppressed new page table creation for now because it needs to be done by the runner via an upcall (userspace support still exists, but doesn't create a separate one for each TA instance for now). --------- Co-authored-by: Sangho Lee <sanghle@microsoft.com>
sangho2
pushed a commit
that referenced
this pull request
Jan 23, 2026
This PR adds `run_thread` support for LVBS platform and revise its syscall handling routine based on Linux userland platform's syscall handling. It has suppressed new page table creation for now because it needs to be done by the runner via an upcall (userspace support still exists, but doesn't create a separate one for each TA instance for now). --------- Co-authored-by: Sangho Lee <sanghle@microsoft.com>
sangho2
pushed a commit
that referenced
this pull request
Jan 24, 2026
This PR adds `run_thread` support for LVBS platform and revise its syscall handling routine based on Linux userland platform's syscall handling. It has suppressed new page table creation for now because it needs to be done by the runner via an upcall (userspace support still exists, but doesn't create a separate one for each TA instance for now). --------- Co-authored-by: Sangho Lee <sanghle@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds
run_threadsupport for LVBS platform and revise its syscall handling routine based onLinux userland platform's syscall handling. It has suppressed new page table creation for now
because it needs to be done by the runner via an upcall (userspace support still exists, but doesn't
create a separate one for each TA instance for now).