]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: apple: rtkit: Pass the crashlog to the crashed() callback
authorAsahi Lina <lina@asahilina.net>
Sun, 2 Feb 2025 13:48:47 +0000 (22:48 +0900)
committerSven Peter <sven@svenpeter.dev>
Tue, 18 Feb 2025 16:59:11 +0000 (17:59 +0100)
commitbf8b4e49777d944f84cf7d47360fe80dd3f69d96
treee1e40a0e059f7b1ff757e4df72bcbae7b83d88f8
parentca0272d8638a4c50ecc2c63719f81e022d3450f1
soc: apple: rtkit: Pass the crashlog to the crashed() callback

Client drivers might want a copy of the crashlog to stash into a
devcoredump blob. Since device memory management can be very variable,
the actual devcoredump implementation is left to client drivers. Pass
the raw crashlog buffer to the client callback so it can use it if
desired.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20250202-rtkit-crashdump-v1-1-9d38615b4e12@asahilina.net
Signed-off-by: Sven Peter <sven@svenpeter.dev>
drivers/nvme/host/apple.c
drivers/soc/apple/rtkit.c
include/linux/soc/apple/rtkit.h