Re: [PATCH] loader/i386/linux: report UEFI secure boot status to the Linux kernel

2018-10-17 Thread Daniel Kiper
On Tue, Oct 09, 2018 at 04:04:03PM +, Ignat Korchagin wrote: > Linux kernel from 4.11 has secure_boot member as part of linux_kernel_params. > Currently, GRUB does not populate it, so the kernel reports > "Secure boot could not be determined" on boot. We can populate it in EFI mode, > so the

[PATCH v2 1/2] efi: add function to read EFI variables with attributes

2018-10-17 Thread Ignat Korchagin
Signed-off-by: Ignat Korchagin --- grub-core/kern/efi/efi.c | 13 +++-- include/grub/efi/efi.h | 4 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c index 708581fcb..5f7d1478f 100644 --- a/grub-core/kern/efi/efi.c

[PATCH v2 2/2] loader/i386/linux: report UEFI secure boot status to the Linux kernel

2018-10-17 Thread Ignat Korchagin
Linux kernel from 4.11 has secure_boot member as part of linux_kernel_params. Currently, GRUB does not populate it, so the kernel reports "Secure boot could not be determined" on boot. We can populate it in EFI mode, so the kernel "knows" the status. Signed-off-by: Ignat Korchagin ---

Re: [PATCH 7/9] btrfs: Add support for recovery for a RAID 5 btrfs profiles.

2018-10-17 Thread Goffredo Baroncelli
On 17/10/2018 16.14, Daniel Kiper wrote: > On Thu, Oct 11, 2018 at 08:51:01PM +0200, Goffredo Baroncelli wrote: >> From: Goffredo Baroncelli >> >> Add support for recovery for a RAID 5 btrfs profile. In addition >> it is added some code as preparatory work for RAID 6 recovery code. >> >>

Re: [PATCH 1/9] btrfs: Add support for reading a filesystem with a RAID 5 or RAID 6 profile.

2018-10-17 Thread Daniel Kiper
On Thu, Oct 11, 2018 at 08:50:55PM +0200, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli > > Signed-off-by: Goffredo Baroncelli > Signed-off-by: Daniel Kiper One nit pick below... Otherwise you can add Reviewed-by: Daniel Kiper > --- > grub-core/fs/btrfs.c | 73

Re: [PATCH 4/9] btrfs: Avoid a rescan for a device which was already not found.

2018-10-17 Thread Daniel Kiper
On Thu, Oct 11, 2018 at 08:50:58PM +0200, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli > > Currently read from missing device triggers rescan. However, it is never > recorded that the device is missing. So, each read of a missing device > triggers rescan again and again. This behavior

Re: [PATCH 7/9] btrfs: Add support for recovery for a RAID 5 btrfs profiles.

2018-10-17 Thread Daniel Kiper
On Thu, Oct 11, 2018 at 08:51:01PM +0200, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli > > Add support for recovery for a RAID 5 btrfs profile. In addition > it is added some code as preparatory work for RAID 6 recovery code. > > Signed-off-by: Goffredo Baroncelli > --- >

Re: [PATCH 9/9] btrfs: Add RAID 6 recovery for a btrfs filesystem.

2018-10-17 Thread Daniel Kiper
On Thu, Oct 11, 2018 at 08:51:03PM +0200, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli > > Add the RAID 6 recovery, in order to use a RAID 6 filesystem even if some > disks (up to two) are missing. This code use the md RAID 6 code already > present in grub. > > Signed-off-by: Goffredo