Page MenuHomeFreeBSD

arm64: cpu_switch: don't zero out pcb_onfault
ClosedPublic

Authored by kevans on Mar 26 2023, 4:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 10:20 AM
Unknown Object (File)
Oct 5 2024, 8:21 PM
Unknown Object (File)
Oct 5 2024, 6:10 PM
Unknown Object (File)
Oct 5 2024, 5:03 AM
Unknown Object (File)
Oct 3 2024, 10:03 AM
Unknown Object (File)
Oct 2 2024, 4:11 AM
Unknown Object (File)
Oct 2 2024, 2:04 AM
Unknown Object (File)
Oct 2 2024, 12:09 AM
Subscribers

Details

Summary

Previously this would zero out x18 in the pcb, now it's attacking the
innocent pcb_onfault -- drop it entirely.

This technically fixes
e605b87a9e7 ("Save only callee-saved registers in pcb"), but it's
harmless until the below commit trims down pcb_x.

Reported by: mmel
Fixes: 1c1f31a5e517 ("Remove unused registes from the arm pcb")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 50593
Build 47484: arc lint + arc unit