]> git.ipfire.org Git - thirdparty/kernel/stable.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, 15 Feb 2023 16:22:17 +0000 (17:22 +0100)
commit55cf65461b2090ee541e77664080c05cd2a03bbd
tree03ca6666fbb5727389f5dab8da45d47389e1d06f
parent8fb515c8b127c852bbbc23738e27c7a08e79b9fd
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