Skip to content

Conversation

shrik3
Copy link
Collaborator

@shrik3 shrik3 commented May 3, 2024

@CharlyYu may I have your Signoffs for the first two commits? since you suggested the changes. You could also push them on your own if you prefer.

(I added Suggested-by commit trailers, but are not recognized by github)

This fixes the fork-wait issues we had.

  1. restore userspace sp correctly
  2. invalidate tlb when switching address space
  3. (wip) ignore some panic conditions in PF handler

The test programs work without issue.

Note: for the above testing program to work, take #1215 as well.

@shrik3 shrik3 requested a review from CharlyYu May 3, 2024 13:52
@chl337 chl337 mentioned this pull request May 3, 2024
@shrik3 shrik3 force-pushed the armdev_address_space+pr branch from 2723a04 to a58f33a Compare May 4, 2024 02:02
@shrik3 shrik3 changed the title [wip] aarch64: fix context switching issues aarch64: fix context switching issues May 4, 2024
shrik3 added 2 commits May 4, 2024 04:16
Signed-off-by: Tianhao <[email protected]>
Suggested-by: CharlyYu <[email protected]>
The generated code does not restore user sp when returning from
exception handler. That's how a bug hides in plain sight. The assembler
does not even give error!

Signed-off-by: Tianhao <[email protected]>
Suggested-by: CharlyYu <[email protected]>
@shrik3 shrik3 force-pushed the armdev_address_space+pr branch from a58f33a to 0883d4f Compare May 4, 2024 02:16
@shrik3 shrik3 merged commit fd48c9e into QuarkContainer:armdev May 10, 2024
@shrik3 shrik3 deleted the armdev_address_space+pr branch May 14, 2024 08:34
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.

1 participant