]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub: x86/mixed: increase supported argument count
authorArd Biesheuvel <ardb@kernel.org>
Fri, 19 Nov 2021 11:47:43 +0000 (13:47 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 21 Nov 2021 16:08:10 +0000 (17:08 +0100)
commit78a971c4269b4a1076b45d6d50d10f65c9178b40
tree4a734671bebe2d961959ad5cec36d514e084fe3d
parent7d0485fb4b95af4d36915f9ddb8bef426fbc6aec
efi/libstub: x86/mixed: increase supported argument count

Increase the number of arguments supported by mixed mode calls, so that
we will be able to call into the TCG2 protocol to measure the initrd
and extend the associated PCR. This involves the TCG2 protocol's
hash_log_extend_event() method, which takes five arguments, three of
which are u64 and need to be split, producing a total of 8 outgoing

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Link: https://lore.kernel.org/r/20211119114745.1560453-3-ilias.apalodimas@linaro.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/boot/compressed/efi_thunk_64.S
arch/x86/include/asm/efi.h
arch/x86/platform/efi/efi_thunk_64.S