]> asedeno.scripts.mit.edu Git - linux.git/commit
efi/bgrt: Drop BGRT status field reserved bits check
authorHans de Goede <hdegoede@redhat.com>
Wed, 29 May 2019 13:28:28 +0000 (15:28 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 11 Jun 2019 14:13:05 +0000 (16:13 +0200)
commita483fcab38b43fb34a7f12ab1daadd3907f150e2
treef190b16959ceb7587165c53651c853a98cd62ba7
parent18df7577adae6c6c778bf774b3aebcacbc1fb439
efi/bgrt: Drop BGRT status field reserved bits check

Starting with ACPI 6.2 bits 1 and 2 of the BGRT status field are no longer
reserved. These bits are now used to indicate if the image needs to be
rotated before being displayed.

The first device using these bits has now shown up (the GPD MicroPC) and
the reserved bits check causes us to reject the valid BGRT table on this
device.

Rather then changing the reserved bits check, allowing only the 2 new bits,
instead just completely remove it so that we do not end up with a similar
problem when more bits are added in the future.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
drivers/firmware/efi/efi-bgrt.c