summaryrefslogtreecommitdiff
path: root/include/linux/pgtable.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-03-05 10:21:05 +0100
committerArd Biesheuvel <ardb@kernel.org>2021-03-07 09:31:02 +0100
commit9e9888a0fe97b9501a40f717225d2bef7100a2c1 (patch)
tree1d68146fc40a13fd870d4394cd709ed6600aa3a6 /include/linux/pgtable.h
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlwn-9e9888a0fe97b9501a40f717225d2bef7100a2c1.tar.gz
lwn-9e9888a0fe97b9501a40f717225d2bef7100a2c1.zip
efi: stub: omit SetVirtualAddressMap() if marked unsupported in RT_PROP table
The EFI_RT_PROPERTIES_TABLE contains a mask of runtime services that are available after ExitBootServices(). This mostly does not concern the EFI stub at all, given that it runs before that. However, there is one call that is made at runtime, which is the call to SetVirtualAddressMap() (which is not even callable at boot time to begin with) So add the missing handling of the RT_PROP table to ensure that we only call SetVirtualAddressMap() if it is not being advertised as unsupported by the firmware. Cc: <stable@vger.kernel.org> # v5.10+ Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/pgtable.h')
0 files changed, 0 insertions, 0 deletions