diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-08-07 19:27:19 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-07 22:03:53 +0300 |
commit | 31c77a50992e8dd136feed7b67073bb5f1f978cc (patch) | |
tree | 17eb4e6a59cd635dba3fb6c74a0aa50d98ed7d03 /arch/arm64/boot/dts/arm | |
parent | bc5ddceff4c14494d83449ad45c985e6cd353fce (diff) | |
download | linux-31c77a50992e8dd136feed7b67073bb5f1f978cc.tar.xz |
x86/efistub: Perform SNP feature test while running in the firmware
Before refactoring the EFI stub boot flow to avoid the legacy bare metal
decompressor, duplicate the SNP feature check in the EFI stub before
handing over to the kernel proper.
The SNP feature check can be performed while running under the EFI boot
services, which means it can force the boot to fail gracefully and
return an error to the bootloader if the loaded kernel does not
implement support for all the features that the hypervisor enabled.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230807162720.545787-23-ardb@kernel.org
Diffstat (limited to 'arch/arm64/boot/dts/arm')
0 files changed, 0 insertions, 0 deletions