]> 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>
Wed, 22 Feb 2023 11:50:27 +0000 (12:50 +0100)
commitac9ba89e3c697c0f164ca081bc72d3f90af421dd
tree3276cd0050ea91efd4ee4da6654e316d601829de
parent15708aa05291ff99830a0f417c0f09b5017d130d
efi: Accept version 2 of memory attributes table

commit 636ab417a7aec4ee993916e688eb5c5977570836 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