Page MenuHomeFreeBSD

Print registers on an arm64 spinlock data abort
ClosedPublic

Authored by andrew on Tue, May 23, 9:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 28, 3:09 AM
Unknown Object (File)
Wed, May 24, 4:20 PM
Unknown Object (File)
Tue, May 23, 7:47 PM
Unknown Object (File)
Tue, May 23, 1:23 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.Tue, May 23, 9:37 AM