[PATCH 0/2] Enable Automatic Disk Unlock with TPM2 on ieee1275

2024-11-12 Thread Stefan Berger
This series of patches enables the 'Automatic Disk Unlock with TPM2' support for ieee1275 PowerPC platforms. It adds a TCG2 driver for this platform, which has the same API as the one for EFI. Further, it adjusts the definition of TPM 2 related bit fields for big endian targets. Regards, Stefan

[PATCH 1/2] tss2: Adjust bit fields for big endian targets

2024-11-12 Thread Stefan Berger
The TPM bit fields need to be in reverse order for big endian targets, such as ieee1275 PowerPC platforms that run grub in big endian mode. Signed-off-by: Stefan Berger --- grub-core/lib/tss2/tss2_structs.h | 38 +++ 1 file changed, 38 insertions(+) diff --git a/grub

[PATCH 2/2] ieee1275: Add TCG2 driver for ieee1275 PowerPC firmware

2024-11-12 Thread Stefan Berger
Follow recent extensions of EFI support providing a TCG2 driver with a public API for getting the maximum TPM command size and passing a TPM command through to the TPM 2. Implement this functionality using ieee1275 PowerPC firmware API calls. Move common initialization functions from the ibmvtpm d

Re: [PATCH v22 33/33] docs: Document TPM2 key protector

2024-11-12 Thread Gary Lin via Grub-devel
On Mon, Nov 11, 2024 at 11:39:11AM -0500, Stefan Berger wrote: > > > On 11/11/24 2:45 AM, Gary Lin via Grub-devel wrote: > > Update the user manual to address TPM2 key protector including the two > > related commands, tpm2_key_protector_init and tpm2_key_protector_clear, > > and the user-space ut

Re: [PATCH 1/2] tss2: Adjust bit fields for big endian targets

2024-11-12 Thread Gary Lin via Grub-devel
On Tue, Nov 12, 2024 at 01:04:38PM -0500, Stefan Berger wrote: > The TPM bit fields need to be in reverse order for big endian targets, > such as ieee1275 PowerPC platforms that run grub in big endian mode. > > Signed-off-by: Stefan Berger Thanks for fixing the endianness of the TPMA structs! Re

Re: [PATCH] docs: Fix incorrect and potentially confusing language and minor formatting

2024-11-12 Thread Daniel Kiper
On Fri, Nov 08, 2024 at 01:07:45PM -0600, Glenn Washburn wrote: > Ping. Wondering what might be holding this up from being merged? Well, fell of my radar. Sorry about that. Added to the queue. Reviewed-by: Daniel Kiper Daniel ___ Grub-devel mailing l

Re: [PATCH] kern/fs: honour file->read_hook in grub_fs_blocklist_read()

2024-11-12 Thread Daniel Kiper
On Mon, Nov 11, 2024 at 12:11:27PM +0100, Rasmus Villemoes via Grub-devel wrote: > On Tue, Oct 15 2024, Daniel Kiper wrote: > > On Fri, Oct 11, 2024 at 08:12:59PM +0200, Rasmus Villemoes via Grub-devel > > wrote: > >> "Vladimir 'phcoder' Serbinenko" writes: > >> > >> > Reviewed-by: phco...@gmail

Re: [PATCH v2 0/3] More ls improvements

2024-11-12 Thread Daniel Kiper
On Fri, Nov 08, 2024 at 01:20:25PM -0600, Glenn Washburn wrote: > Ping. Wondering if this is still in the queue to be looked at. Yes, it is. Sadly we have to finish other reviews first. Sorry for delay... Daniel ___ Grub-devel mailing list Grub-devel@g