RE: UEFI Secureboot not succeeding with Grub 2.06 and later version

2021-07-14 Thread Sayanta Pattanayak
>-Original Message- >From: Daniel Kiper >Sent: Wednesday, July 14, 2021 6:45 PM >To: Sayanta Pattanayak >Cc: grub-devel@gnu.org; nd ; javi...@redhat.com; >x...@ubuntu.com; pjo...@redhat.com; l...@nuviainc.com >Subject: Re: UEFI Secureboot not succeeding with Grub 2.06 and later version

Re: [PATCH] ibmvtpm: Add support for trusted boot using a vTPM 2.0

2021-07-14 Thread Daniel Axtens
Stefan Berger writes: > On 7/14/21 12:16 PM, Daniel Kiper wrote: >> CC-ing folks CC-ed in Daniel's patch series and Eric. >> >> On Mon, Jul 12, 2021 at 03:02:19PM -0400, Stefan Berger wrote: >>> From: Stefan Berger >>> >>> Add support for trusted boot using a vTPM 2.0 on the IBM ieee1275 >>> pla

Re: [PATCH] ibmvtpm: Add support for trusted boot using a vTPM 2.0

2021-07-14 Thread Stefan Berger
On 7/14/21 12:16 PM, Daniel Kiper wrote: CC-ing folks CC-ed in Daniel's patch series and Eric. On Mon, Jul 12, 2021 at 03:02:19PM -0400, Stefan Berger wrote: From: Stefan Berger Add support for trusted boot using a vTPM 2.0 on the IBM ieee1275 platform. With this patch grub now measures text

Re: [PATCH v2 01/22] ieee1275: drop HEAP_MAX_ADDR, HEAP_MIN_SIZE

2021-07-14 Thread Daniel Kiper
On Wed, Jun 30, 2021 at 06:40:10PM +1000, Daniel Axtens wrote: > HEAP_MAX_ADDR is confusing. Currently it is set to 32MB, except > on ieee1275 on x86, where it is 64MB. > > There is a comment which purports to explain it: > > /* If possible, we will avoid claiming heap above this address, because i

Re: [PATCH] ibmvtpm: Add support for trusted boot using a vTPM 2.0

2021-07-14 Thread Daniel Kiper
CC-ing folks CC-ed in Daniel's patch series and Eric. On Mon, Jul 12, 2021 at 03:02:19PM -0400, Stefan Berger wrote: > From: Stefan Berger > > Add support for trusted boot using a vTPM 2.0 on the IBM ieee1275 > platform. With this patch grub now measures text and binary data > into the TPM's PCRs

Re: [PATCH 1/2] osdep: Introduce major.h and use it

2021-07-14 Thread Petr Vorel
Hi Daniel, ... > > > +/* > > > + * Fix for glibc 2.25 is deprecating the namespace pollution of > > > sys/types.h > > > + * injecting major(), minor(), and makedev() into the compilation > > > environment. > > > + * See configure.ac. > > It seems to me "See configure.ac." is not relevant in the

Re: [PATCH 1/2] osdep: Introduce major.h and use it

2021-07-14 Thread Petr Vorel
Hi Daniel, > On Wed, Jul 14, 2021 at 08:54:29AM +0200, Petr Vorel wrote: > > Hi Daniel, > > > > On Thu, Jul 08, 2021 at 05:55:57PM +0200, Petr Vorel wrote: > > > > > Signed-off-by: Petr Vorel > > > > > --- > > > > > grub-core/osdep/devmapper/getroot.c | 7 +-- > > > > > grub-core/osdep/de

Re: UEFI Secureboot not succeeding with Grub 2.06 and later version

2021-07-14 Thread Daniel Kiper
On Mon, Jul 12, 2021 at 04:20:56PM +, Sayanta Pattanayak wrote: > Hi Daniel, > > Secureboot worked fine with the change(GRUB_FILE_TYPE_LINUX_KERNEL -> > GRUB_FILE_TYPE_NONE) you suggested. Great! > disk/efi/efidisk.c:531: opening hd0 succeeded > partmap/gpt.c:93: Read a valid GPT header > pa

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-14 Thread Daniel Kiper
On Tue, Jul 13, 2021 at 09:10:39PM +0200, Petr Vorel wrote: > Hi all, > > > On 7/13/21 1:48 PM, Daniel Kiper wrote: > > > On Thu, Jul 08, 2021 at 05:55:58PM +0200, Petr Vorel wrote: > > >> From: Jeff Mahoney > > > >> sysfs_partition_path calls udevadm to resolve the sysfs path for > > >> a block d

Re: [PATCH 1/2] osdep: Introduce major.h and use it

2021-07-14 Thread Daniel Kiper
On Wed, Jul 14, 2021 at 08:54:29AM +0200, Petr Vorel wrote: > Hi Daniel, > > > > On Thu, Jul 08, 2021 at 05:55:57PM +0200, Petr Vorel wrote: > > > > Signed-off-by: Petr Vorel > > > > --- > > > > grub-core/osdep/devmapper/getroot.c | 7 +-- > > > > grub-core/osdep/devmapper/hostdisk.c | 7 +