Page MenuHomeFreeBSD

arm64: Stop setting x0 for pcb_onfault handlers
ClosedPublic

Authored by andrew on Sep 27 2024, 3:49 PM.
Tags
None
Referenced Files
F174708100: D46814.id144940.diff
Mon, Oct 5, 9:17 AM
Unknown Object (File)
Fri, Oct 2, 8:59 PM
Unknown Object (File)
Sep 3 2026, 12:41 AM
Unknown Object (File)
Aug 24 2026, 2:32 AM
Unknown Object (File)
Aug 23 2026, 9:09 PM
Unknown Object (File)
Aug 12 2026, 11:46 PM
Unknown Object (File)
Aug 12 2026, 11:46 PM
Unknown Object (File)
Aug 12 2026, 11:46 PM
Subscribers

Details

Summary

All handlers set x0 before returning, there is no need to also do so
in the data abort exception handler.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
sys/arm64/arm64/trap.c
378

This is the Mach error too, so not correct.

This revision is now accepted and ready to land.Sep 30 2024, 8:58 AM