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)
Tue, Apr 23, 7:08 PM
Unknown Object (File)
Feb 20 2024, 11:29 PM
Unknown Object (File)
Dec 20 2023, 5:39 AM
Unknown Object (File)
Dec 10 2023, 11:57 PM
Unknown Object (File)
Nov 27 2023, 12:18 AM
Unknown Object (File)
Nov 26 2023, 11:06 PM
Unknown Object (File)
Nov 22 2023, 7:05 PM
Unknown Object (File)
Nov 22 2023, 6:54 PM
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 Not Applicable
Unit
Tests Not Applicable