]> git.baikalelectronics.ru Git - kernel.git/commit
efi: Accept version 2 of memory attributes table
authorArd Biesheuvel <ardb@kernel.org>
Thu, 2 Feb 2023 17:30:06 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:17 +0000 (11:28 +0100)
commit195caef4db263e60b24bbb73427110ca2dc9bd74
tree42c500c7249c95f0a511ecd2e790f1ca7ee2b743
parent0731e480ed8d7de36a6189dadecd3ca40ea8f85d
efi: Accept version 2 of memory attributes table

commit 185bfe01e1bcc177e27d8a2744073aaf1261e87c upstream.

UEFI v2.10 introduces version 2 of the memory attributes table, which
turns the reserved field into a flags field, but is compatible with
version 1 in all other respects. So let's not complain about version 2
if we encounter it.

Cc: <stable@vger.kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/efi/memattr.c