Re: [RFC][PATCH v3 15/16] kmemdump: Add Kinfo backend driver

From: Tudor Ambarus

Date: Mon Sep 22 2025 - 06:01:56 EST


Hi,

On 9/12/25 4:08 PM, Eugen Hristev wrote:
> Add Kinfo backend driver.
> This backend driver will select only regions of interest for the firmware,
> and it copy those into a shared memory area that is supplied via OF.
> The firmware is only interested in addresses for some symbols.
> The list format is kinfo-compatible, with devices like Google Pixel phone.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@xxxxxxxxxx>
> ---
> MAINTAINERS | 5 +
> mm/kmemdump/Kconfig.debug | 13 ++
> mm/kmemdump/Makefile | 1 +
> mm/kmemdump/kinfo.c | 293 ++++++++++++++++++++++++++++++++++++++
> 4 files changed, 312 insertions(+)
> create mode 100644 mm/kmemdump/kinfo.c

I tested the series on pixel 6 and I could see the backtraces correctly
decoded by the bootloader:

Tested-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>

Thanks!