Re: [PATCH] commands/bli: set UINT32_MAX in LoaderTpm2ActivePcrBanks if TPM2 present but no banks protocol
Daniel Kiper <[email protected]> Sat, 20 Dec 2025 15:01:56 +0100
| Newsgroups | org.gnu.grub-devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Dec 10, 2025 at 11:47:53PM +0000, [email protected] wrote: > From: Luca Boccassi <[email protected]> > > The implementation in sd-boot was changed to return UINT32_MAX when > the EFI environment detects a working TPM2, but with an older firmware > that doesn't implement the protocol to get the list of active banks. > This allows distinguishing with the case where there is no working TPM2, > in which case userspace just gives up, and instead lets userspace try to > figure it out later. > > Fixes: f326c5c47 (commands/bli: Set LoaderTpm2ActivePcrBanks runtime variable) > > Signed-off-by: Luca Boccassi <[email protected]> Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel