soc: apple: rtkit: Add register dump decoding to crashlog
authorAsahi Lina <lina@asahilina.net>
Mon, 23 Jan 2023 03:17:28 +0000 (12:17 +0900)
committerHector Martin <marcan@marcan.st>
Tue, 31 Jan 2023 11:44:47 +0000 (20:44 +0900)
commit22991d8d57251509b8ee5c0b3dac04506fe5ed7a
tree90f00111591debe691e0ed472eacfee8c3c9d1e3
parentb3892860f50920ea46342d32bf51323877365082
soc: apple: rtkit: Add register dump decoding to crashlog

When the coprocessor crashes, it's useful to get a proper register dump
so we can find out what the firmware was doing. Add a decoder for this.

Originally this had ESR decoding by reusing the ARM64 arch header for
this, but that introduces some module linking and cross-arch compilation
issues, so let's leave that out for now.

Reviewed-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/soc/apple/rtkit-crashlog.c