Page MenuHomeFreeBSD

Print registers on an arm64 spinlock data abort
ClosedPublic

Authored by andrew on May 23 2023, 9:30 AM.
Tags
None
Referenced Files
F68117784: D40228.diff
Sat, Sep 23, 7:00 AM
Unknown Object (File)
Sat, Aug 26, 4:43 PM
Unknown Object (File)
Jul 7 2023, 11:50 PM
Unknown Object (File)
Jul 4 2023, 3:43 AM
Unknown Object (File)
Jun 10 2023, 10:48 AM
Unknown Object (File)
May 28 2023, 3:09 AM
Unknown Object (File)
May 24 2023, 4:20 PM
Unknown Object (File)
May 23 2023, 7:47 PM
Subscribers

Details

Summary

When checking if the spinlock count is correct in a data abort we can
panic without printing the registers. These are useful to debug the
abort, e.g. by giving the fault address register.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

kib added inline comments.
sys/arm64/arm64/trap.c
332

print the spinlock nest counter as well, perhaps?

This revision is now accepted and ready to land.May 23 2023, 9:37 AM