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

Partitions might introduce timing differences #2

Open
francislaus opened this issue Dec 2, 2024 · 2 comments
Open

Partitions might introduce timing differences #2

francislaus opened this issue Dec 2, 2024 · 2 comments

Comments

@francislaus
Copy link

Having partitions of microarchitectural state might introduce a timing difference. Depending on which code has run before and thus how many and which partition changes have happened, the timing of the currently running instructions can be impacted. It will run slower or faster depending on whether its partition exists anymore or not. Would this be in contrast to your definition of fence.time?

I have copied in the definition just for reference:
The timing of any instruction or sequence of instructions executing after the fence must be independent of any microarchitectural state before the fence. The flags may exclude this requirement for some subsets of microarchitectural state.

@niwis
Copy link
Collaborator

niwis commented Dec 2, 2024

Hi @francislaus, partitions can be allocated and switched statically, or in some other way that does not leak sensitive information. This is up to SW and the system's security policy. Does this answer your question? (Of course, we can also discuss this further at the next TG meeting)

@francislaus
Copy link
Author

@niwis I probably have assumptions on my side that differ from what is actually the case. It would be good to learn more about that and use that for a more elaborate answer. Can you point me to more material on what a partition exactly constitutes and how you would want to use it?

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

No branches or pull requests

2 participants