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

Handling non-homogeneous core systems? #297

Open
chungmcl opened this issue Mar 25, 2023 · 0 comments
Open

Handling non-homogeneous core systems? #297

chungmcl opened this issue Mar 25, 2023 · 0 comments

Comments

@chungmcl
Copy link

On a multi-core system, OpenSBI currently cold-boots on a first core chosen by the "cold-boot lottery" (i.e., the cold-booting core is chosen at random from a pool of eligible cores). Then, once the cold-booted core boots, the remaining cores warm-boot with the assumption that their own set of implemented RISC-V extensions and other properties are exactly the same as the cold-booted core. In other words, OpenSBI currently assumes that the system's CPU is homogeneous.

I've been contributing to the Keystone enclave project, and we've been experimenting with taking advantage of systems that don't have a homogeneous set of cores. We've been having trouble, as expected, with booting into a system with such a property -- do you guys have any thoughts on how we might be able to handle a non-homogeneous system with OpenSBI as it is now? Or would we need to wait for a change to the boot process of OpenSBI?

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

1 participant