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)
commit44f155b4b07b8293472c9797d5b39839b91041ca
tree4a734671bebe2d961959ad5cec36d514e084fe3d
parent4da87c51705815fe1fbd41cc61640bb80da5bc54
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