Skip to content

SPRR/GXF emulation for the HV - #643

Open
svenpeter42 wants to merge 3 commits into
mainfrom
hv-sprr
Open

svenpeter42 wants to merge 3 commits into
mainfrom
hv-sprr

Conversation

@svenpeter42

Copy link
Copy Markdown
Member

No description provided.

@svenpeter42
svenpeter42 requested a review from jannau as a code owner July 28, 2026 18:11
@svenpeter42
svenpeter42 force-pushed the hv-sprr branch 2 times, most recently from 2e27497 to cd9b6ea Compare July 29, 2026 08:22

@jannau jannau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

single nit for for the preparation changes. Feel free to open a separate PR for those so we can get them out of the way.
I glanced so far only at the SPRR/GXF emulation itself

Comment thread src/hv.c
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Doing this under the big lock is dumb and wastes a lot of CPU cycles
since XNU churns on these register for every single genter/gexit.

Signed-off-by: Sven Peter <sven@svenpeter.dev>
Doing this under the big lock is also dumb because this just touches
local CPU states and there's nothing to sychronize against other cores.

Signed-off-by: Sven Peter <sven@svenpeter.dev>
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.

2 participants