efi: Add definition of EFI_MEMORY_CPU_CRYPTO and ability to report it
authorArd Biesheuvel <ardb@kernel.org>
Thu, 24 Sep 2020 11:52:24 +0000 (13:52 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 25 Sep 2020 21:29:04 +0000 (23:29 +0200)
commit6277e374b0b07c1a93c829f0a27e38739b3b7a1b
tree22d1b5341f0ab19bad9d356df9c2977a6ca53d99
parent46908326c6b801201f1e46f5ed0db6e85bef74ae
efi: Add definition of EFI_MEMORY_CPU_CRYPTO and ability to report it

Incorporate the definition of EFI_MEMORY_CPU_CRYPTO from the UEFI
specification v2.8, and wire it into our memory map dumping routine
as well.

To make a bit of space in the output buffer, which is provided by
the various callers, shorten the descriptive names of the memory
types.

Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/efi.c
include/linux/efi.h