]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Print registers on an arm64 spinlock data abort
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 23 May 2023 09:21:39 +0000 (10:21 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Wed, 24 May 2023 16:20:06 +0000 (17:20 +0100)
commit0731b0a9f1f9e3b4ec699ec67b6eb24159fa9b05
treee72bcdfa92de75ea92ab6294a9a80c0339002271
parentb81e1c6b72f1b0ee57311c2bf51c3549d5c44d3a
Print registers on an arm64 spinlock data abort

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.

Reviewed by: kib
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D40228
sys/arm64/arm64/trap.c