Re: [PATCH v3 1/5] efi: Export boot-services code and data as debugfs-blobs

From: Greg Kroah-Hartman
Date: Mon Apr 23 2018 - 07:55:30 EST


On Sun, Apr 08, 2018 at 07:40:10PM +0200, Hans de Goede wrote:
> Sometimes it is useful to be able to dump the efi boot-services code and
> data. This commit adds these as debugfs-blobs to /sys/kernel/debug/efi,
> but only if efi=debug is passed on the kernel-commandline as this requires
> not freeing those memory-regions, which costs 20+ MB of RAM.
>
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>

For the debugfs interaction:

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>