Re: [PATCH V2 2/3] verifiers: Core TPM support

2018-11-18 Thread Daniel P. Smith
On 11/14/2018 06:24 PM, Matthew Garrett wrote: > From: Matthew Garrett > > Add support for performing basic TPM measurements. Right now this only > supports extending PCRs statically and only on UEFI. In future we might > want to have some sort of mechanism for choosing which events get logged >

Re: [PATCH v3 01/10] efi: Rename armxx to arch

2018-11-18 Thread Bin Meng
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote: > > Some architectures want to boot Linux as plain UEFI binary. Today that > really only encompasses ARM and AArch64, but going forward more > architectures may adopt that model. > > So rename our internal API accordingly. > > Signed-off-by: Al

Re: [PATCH v3 05/10] RISC-V: Add early startup code

2018-11-18 Thread Bin Meng
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote: > > On entry, we need to save the system table pointer as well as our image > handle. Add an early startup file that saves them and then brings us > into our main function. > > Signed-off-by: Alexander Graf > Reviewed-by: Alistair Francis > -

Re: [PATCH v3 03/10] elf.h: Add RISC-V definitions

2018-11-18 Thread Bin Meng
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote: > > The RISC-V ABI document outlines ELF header structure and relocation > information. Pull the respective magic numbers into our elf header > so we can make use of them. > > Signed-off-by: Alexander Graf > Reviewed-by: Alistair Francis > --

Re: [PATCH v3 09/10] RISC-V: Add to build system

2018-11-18 Thread Bin Meng
Hi Alex, On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote: > > This patch adds support for RISC-V to the grub build system. With this > patch, I can successfully build grub on RISC-V as a UEFI application. > > Signed-off-by: Alexander Graf > Reviewed-by: Alistair Francis > > --- > > v2 -> v

Re: [PATCH v3 04/10] RISC-V: Add setjmp implementation

2018-11-18 Thread Bin Meng
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote: > > This patch adds a 32/64 capable setjmp implementation for RISC-V. > > Signed-off-by: Alexander Graf > Reviewed-by: Alistair Francis > --- > grub-core/lib/riscv/setjmp.S | 82 > +++ > include/grub

Re: [PATCH v3 02/10] PE: Add RISC-V definitions

2018-11-18 Thread Bin Meng
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote: > > The PE format defines magic numbers as well as relocation identifiers for > RISC-V. Add them to our include file, so we can make use of them. > > Signed-off-by: Alexander Graf > Reviewed-by: Leif Lindholm > Reviewed-by: Alistair Francis