Re: [PATCH v2 0/5] beautify EFI memmap logs
From: Ard Biesheuvel
Date: Wed Sep 03 2014 - 09:01:38 EST
On 3 September 2014 13:32, Laszlo Ersek <lersek@xxxxxxxxxx> wrote:
> changes in v2:
> - explain with examples how the log's appearance changes, in patches 3-5
> [Ingo]
>
> v1 blurb:
>
>> It's a pain to analyze EFI memmap logs while debugging, especially to
>> verify the memory types (an enum) and the memory attributes (a
>> bitmap). This series renders those columns human-readable, and unifies
>> their formatting between x86, ia64 and arm64.
>
Tested-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
(on arm64 only)
+1 for aligning between architectures
+1 for cleaning up the output to make it more readable
The only thing I am not entirely convinced about is printing all those
memory attributes: is it really so interesting to know that region X
/can/ be configured as writeback, write through, write combining etc
etc, as most regions seem to support most attributes, yet it tells you
nothing about what the kernel ends up doing with that information. In
the arm64 case, for instance, all MEMORY_WB ranges are mapped
writeback cached, and everything else is mapped uncached.
--
Ard.
> Laszlo Ersek (5):
> efi: add macro for EFI_MEMORY_UCE memory attribute
> efi: introduce efi_md_typeattr_format()
> x86: efi: format EFI memory type & attrs with efi_md_typeattr_format()
> ia64: efi: format EFI memory type & attrs with
> efi_md_typeattr_format()
> arm64: efi: format EFI memory type & attrs with
> efi_md_typeattr_format()
>
> include/linux/efi.h | 8 +++++++
> arch/arm64/kernel/efi.c | 26 +++++----------------
> arch/ia64/kernel/efi.c | 6 +++--
> arch/x86/platform/efi/efi.c | 7 ++++--
> drivers/firmware/efi/efi.c | 57 +++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 80 insertions(+), 24 deletions(-)
>
> --
> 1.8.3.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/