Streamlining the process of the realm managment #230
Replies: 3 comments
-
I think we are not going to only support Arm RMM interface. But, At this point, it would be better to follow the RMM interface because there is no particular reason to take it separately. My suggestion is
|
Beta Was this translation helpful? Give feedback.
-
Good to raise this dicussion topic! I guess that everyone would agree on removing duplicate fields. I agree on @bitboom's direction: integrating Realm and Rd as well as Vcpu and Rec. I think that we don't have to maintain similar data structures for almost the same purpose. By the way, I am not sure whether we should consider the possibility that this platform is extended for supporting other platforms. I personally perfer that islet targets only Arm CCA. |
Beta Was this translation helpful? Give feedback.
-
Rd vs Realm, Rec vs Vcpu, they have the same goal with mananging a realm and its vcpus respectively. I would like to share my thoughts that there should be a streamlining and disscuss how these can be resolved.
For example,
When we access Rd, locking is involved. So is Realm. The locks itself are diffent objects, but we are indeed locking twice for managing a single realm management request. (This is the same as the scenario with Rec and Vcpu.)
The way that realm execution contexts are referenced are different. Keeping
Realm has a field to reference its realm execution contexts, vcpus. To access vcpus, we have to go through realm first.
On the other hand, we directly take reference Rec at rmi.
What if Rec could directly reference Vcpu?
Do we even need to have sperate data structures, Realm and Rd, for the same purpose?
If yes, we need to define each role and keep the only things that conforms the definition.
Maybe this needs to be answered first; "Is islet going to only support Arm RMM interface?"
Beta Was this translation helpful? Give feedback.
All reactions