On Tue, Nov 10, 2020 at 08:49:52PM +0100, Vladimir 'phcoder' Serbinenko wrote:
> From: Vladimir Serbinenko
> Date: Tue, 10 Nov 2020 20:42:12 +0100
> Subject: [PATCH 1/2] Warn on small MBR gaps on complicated setups
>
> Signed-off-by: Vladimir Serbinenko
> ---
> grub-core/partmap/gpt.c | 9
On Tue, Nov 10, 2020 at 03:44:38PM +0100, Krystian Hebel wrote:
> Hi,
>
> This is an addition to the RFC patchset which introduced TrenchBoot support
> for
> Intel TXT.
>
> It includes all original patches sent by Daniel Kiper back in May, rebased on
So .. if they are Daniel's should this..
> K
On Tue, 10 Nov 2020 01:09:20 +0300
Dmitry wrote:
> вт, 10 нояб. 2020 г. в 00:34, Glenn Washburn
> :
> >
> > On Mon, 9 Nov 2020 10:56:51 +0300
> > Dmitry wrote:
> >
> > > Thanks for feedback. First of all I think it's preferable to
> > > introduce the master-key option at the beginning. Because I
From: Vladimir Serbinenko
Date: Tue, 10 Nov 2020 20:42:12 +0100
Subject: [PATCH 1/2] Warn on small MBR gaps on complicated setups
Signed-off-by: Vladimir Serbinenko
---
grub-core/partmap/gpt.c | 9 -
grub-core/partmap/msdos.c | 7 ++-
include/grub/partition.h| 3 ++-
in
From ee235437cd82fd179574cd1838712f7b91b38f2c Mon Sep 17 00:00:00 2001
From: Vladimir Serbinenko
Date: Tue, 10 Nov 2020 20:23:56 +0100
Subject: [PATCH 2/2] Document new limitations on MBR gap support
Signed-off-by: Vladimir Serbinenko
---
docs/grub.texi | 43
Signed-off-by: Krystian Hebel
---
grub-core/Makefile.core.def | 1 +
grub-core/lib/i386/relocator32.S | 6 ++
grub-core/loader/i386/linux.c| 30 +-
grub-core/loader/i386/slaunch.c | 21 -
include/grub/i386/slaunch.h | 11 +++
Signed-off-by: Krystian Hebel
---
include/grub/i386/skinit.h | 46 ++
1 file changed, 46 insertions(+)
create mode 100644 include/grub/i386/skinit.h
diff --git a/include/grub/i386/skinit.h b/include/grub/i386/skinit.h
new file mode 100644
index ..
From: Norbert Kaminski
It will be used to properly detect and report UEFI Secure Boot status to
the x86 Linux kernel. The functionality will be added by subsequent patches.
Signed-off-by: Ignat Korchagin
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/kern/efi/efi.c
From: Norbert Kaminski
Signed-off-by: Ross Philipson
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
Signed-off-by: Krystian Hebel
---
grub-core/Makefile.am| 3 +
grub-core/Makefile.core.def | 15 +++
grub-core/lib/i386/relocator32.S | 8 ++
grub-core/loader
From: Norbert Kaminski
Signed-off-by: Ross Philipson
Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/loader/i386/txt/acmod.c | 575 ++
1 file changed, 575 insertions(+)
create mode 100644 grub-core/loader/i386/txt/acmod.c
diff --git a/grub-core/loader/
From: Norbert Kaminski
Subsequent patches will use that constant.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/loader/i386/xen.c | 35 +--
include/grub/i386/memory.h | 1 +
2 files changed, 18 insertions(+), 18 deletions(-)
diff
From: Norbert Kaminski
Signed-off-by: Ross Philipson
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/loader/i386/txt/verify.c | 297 +
1 file changed, 297 insertions(+)
create mode 100644 grub-core/loader/i386/txt/verify.c
diff --git a/g
Signed-off-by: Krystian Hebel
---
grub-core/loader/i386/skinit.c | 162 +
1 file changed, 162 insertions(+)
create mode 100644 grub-core/loader/i386/skinit.c
diff --git a/grub-core/loader/i386/skinit.c b/grub-core/loader/i386/skinit.c
new file mode 100644
index 0
From: Norbert Kaminski
Signed-off-by: Ross Philipson
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
include/grub/i386/txt.h | 690
1 file changed, 690 insertions(+)
create mode 100644 include/grub/i386/txt.h
diff --git a/include/grub
From: Norbert Kaminski
Currently rdmsr and wrmsr commands have own MSR support detection code.
This code is the same. So, it is duplicated. Additionally, this code
cannot be reused by others. Hence, extract this code to a function and
make it public. By the way, improve a code a bit.
Additionall
TCG D-RTM Architecture Specification defines DRTM ACPI table. Its fields
include Event Log base and size.
Note that not all of the firmware vendors fill that table, so leave the
previous allocation as a fallback.
Signed-off-by: Krystian Hebel
---
grub-core/loader/i386/linux.c | 20 +++---
gr
From: Norbert Kaminski
Signed-off-by: Ross Philipson
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/loader/i386/txt/txt.c | 886
include/grub/i386/memory.h | 5 +
2 files changed, 891 insertions(+)
create mode 100644 grub-cor
From: Norbert Kaminski
Signed-off-by: Ross Philipson
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
include/grub/i386/cpuid.h | 13 +++
include/grub/i386/crfr.h | 186 ++
include/grub/i386/mmio.h | 90 ++
include/grub/i3
From: Norbert Kaminski
to grub_rdmsr() and grub_wrmsr() respectively. New names are more
obvious than older ones.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/commands/i386/rdmsr.c | 2 +-
grub-core/commands/i386/wrmsr.c | 2 +-
include/grub/i386/msr.h | 4
From: Norbert Kaminski
This is needed to properly detect and report UEFI Secure Boot status
to the x86 Linux kernel. The functionality will be added by subsequent
patches.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/commands/efi/efifwsetup.c | 8
grub-c
From: Norbert Kaminski
Otherwise the kernel does not know its state and cannot enable various
security features depending on UEFI Secure Boot.
Signed-off-by: Ignat Korchagin
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/loader/i386/linux.c | 86 +++
From: Norbert Kaminski
..to avoid naming collision with TPM TIS and CRB driver introduced
by subsequent patch.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
docs/grub.texi | 15 ---
grub-core/Makefile.core.def | 4 +
From: Norbert Kaminski
The GUID will be used to properly detect and report UEFI Secure Boot
status to the x86 Linux kernel. The functionality will be added by
subsequent patches. The shim_lock protocol type is made public for
completeness.
Additionally, fix formatting of four preceding GUIDs.
S
From: Norbert Kaminski
The functions calculate lowest and highest available RAM
addresses respectively.
Both functions are needed to calculate PMR boundaries for
Intel TXT secure launcher introduced by subsequent patches.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-c
From: Norbert Kaminski
It will be used by Intel TXT secure launcher introduced
by subsequent patches.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/commands/i386/tpm.c | 182 ++
include/grub/i386/tpm.h | 36 +++
2 files ch
From: Norbert Kaminski
..to avoid potential conflicts and confusion.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
grub-core/lib/i386/xen/relocator.S | 6 +++---
grub-core/lib/x86_64/xen/relocator.S | 4 ++--
grub-core/loader/i386/xen.c | 28 ++--
From: Norbert Kaminski
It does not make sense to have separate headers for separate static
functions. Additionally, we have to add some constants with MSR addresses
in subsequent patches. So, make one common place to store them.
Signed-off-by: Daniel Kiper
Signed-off-by: Norbert Kaminski
---
Hi,
This is an addition to the RFC patchset which introduced TrenchBoot support for
Intel TXT.
It includes all original patches sent by Daniel Kiper back in May, rebased on
the top of current master so the AMD-specific changes can be applied cleanly.
Additionally, a small bug fix to patch 18 was
Hi,
Next GRUB mini-summit session starts on Tue Nov 10 at 15:00 UTC.
More you can find here:
https://twitter.com/3mdeb_com/status/1325876700840943618
Daniel
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-de
29 matches
Mail list logo