Skip to content

enable SMP support for aarch64 #1705

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

enable SMP support for aarch64 #1705

wants to merge 11 commits into from

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented May 3, 2025

To realize SMP support, the entry point for new cores is implemented in smp_start. The boot core ask the hypervisor to wakeup new cores at this entry point.

In addition, the latest version of arm-gic is used, to support GIC v3 and v4.

This PR depends on #1703 and closes #737

@stlankes stlankes marked this pull request as draft May 3, 2025 20:18
@stlankes stlankes force-pushed the smp branch 3 times, most recently from 01d1ccc to dbe4d0e Compare May 3, 2025 21:26
@stlankes stlankes requested review from mkroening and fstracke May 3, 2025 21:57
stlankes added 11 commits May 4, 2025 14:02
On aarch64, uhyve doesn't support the ARM PrimeCell Real Time Clock(PL031).
To detemine the unix timestamp, the kernel uses bootinfo to determine
the boot time
Hereby, the usage of u128 can be prevented
- reusing functions from rust-aarch64
To realize SMP support, the entry point for new cores is implemented
in smp_start. The boot core ask the hypervisor to wakeup new cores
at this entry point.

In addition, the latest version of arm-gic is used, to support
GIC v3 and v4.
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.

add SMP support for aarch64
2 participants