basic hv on !apple_sysregs_unlocked#604
Merged
Merged
Conversation
cef2167 to
0843524
Compare
Signed-off-by: Yureka <yuka@yuka.dev>
Signed-off-by: Yureka <yuka@yuka.dev>
Signed-off-by: Yureka <yuka@yuka.dev>
Signed-off-by: Yureka <yuka@yuka.dev>
Signed-off-by: Yureka <yuka@yuka.dev>
Signed-off-by: Yureka <yuka@yuka.dev>
RVBAR (cpu_impl_reg+0) isn't writable on newer chips, so we can't set it to the guest entry, and there is no way the guest can choose a different secondary entry later on. Instead, return the guest entry on reads to make m1n1 happy, and use the initial guest entry as secondary entry. Signed-off-by: Yureka <yuka@yuka.dev>
This fixes use with the new pmgr on A18 Pro / M4 Pro. Signed-off-by: Yureka <yuka@yuka.dev>
|
Tested @ 42b932b (+ #616 cherry-picked, needed for proxyclient on T8132) on a MacBook Pro 14" M4 — Mac16,1 / j604ap / T8132, stub macOS 26.2.
Install note for macOS 26.x testers: cpu_id_regs.py output (boot P-core, MIDR 0x611f0531)Happy to run more tests on this hardware. |
Contributor
Author
|
Thanks, but none of the things you reported are related to the changes in this PR at all? |
|
My bad. Better place to put it? On the forum maybe... Just new to contributing—trying to find my way. |
svenpeter42
approved these changes
Jul 13, 2026
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.
Depends on #603 for detecting apple_sysregs_unlocked from the proxyclient
This gives working m1n1 in m1n1 hv on T8132, including starting the secondaries in the guest.