Re: [PATCH v8 3/8] powerpc: detect the trusted boot state of the system

2019-10-22 Thread Michael Ellerman
Nayna Jain writes: > diff --git a/arch/powerpc/kernel/secure_boot.c > b/arch/powerpc/kernel/secure_boot.c > index 99bba7915629..9753470ab08a 100644 > --- a/arch/powerpc/kernel/secure_boot.c > +++ b/arch/powerpc/kernel/secure_boot.c > @@ -28,3 +39,16 @@ bool is_ppc_secureboot_enabled(void) >

Re: [PATCH v8 1/8] powerpc: detect the secure boot mode of the system

2019-10-22 Thread Michael Ellerman
Nayna Jain writes: > diff --git a/arch/powerpc/kernel/secure_boot.c > b/arch/powerpc/kernel/secure_boot.c > new file mode 100644 > index ..99bba7915629 > --- /dev/null > +++ b/arch/powerpc/kernel/secure_boot.c > @@ -0,0 +1,30 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + *

Re: [PATCH v7 01/12] acpi/numa: Establish a new drivers/acpi/numa/ directory

2019-10-22 Thread Dan Williams
On Tue, Oct 22, 2019 at 3:02 AM Rafael J. Wysocki wrote: > > On Fri, Oct 18, 2019 at 11:25 AM Rafael J. Wysocki wrote: > > > > On Wed, Oct 16, 2019 at 3:13 AM Dan Williams > > wrote: > > > > > > Currently hmat.c lives under an "hmat" directory which does not enhance > > > the description of

Re: [PATCH v4] x86, efi: never relocate kernel below lowest acceptable address

2019-10-22 Thread Ard Biesheuvel
On Tue, 22 Oct 2019 at 09:45, Borislav Petkov wrote: > > On Tue, Oct 22, 2019 at 08:13:56AM +0200, Ard Biesheuvel wrote: > > On Thu, 17 Oct 2019 at 11:30, Kairui Song wrote: > > > > > > Currently, kernel fails to boot on some HyperV VMs when using EFI. > > > And it's a potential issue on all

Re: [PATCH v7 01/12] acpi/numa: Establish a new drivers/acpi/numa/ directory

2019-10-22 Thread Rafael J. Wysocki
On Fri, Oct 18, 2019 at 11:25 AM Rafael J. Wysocki wrote: > > On Wed, Oct 16, 2019 at 3:13 AM Dan Williams > wrote: > > > > Currently hmat.c lives under an "hmat" directory which does not enhance > > the description of the file. The initial motivation for giving hmat.c > > its own directory

Re: [PATCH v4] x86, efi: never relocate kernel below lowest acceptable address

2019-10-22 Thread Borislav Petkov
On Tue, Oct 22, 2019 at 08:13:56AM +0200, Ard Biesheuvel wrote: > On Thu, 17 Oct 2019 at 11:30, Kairui Song wrote: > > > > Currently, kernel fails to boot on some HyperV VMs when using EFI. > > And it's a potential issue on all platforms. > > > > It's caused by broken kernel relocation on EFI

Re: [PATCH v4] x86, efi: never relocate kernel below lowest acceptable address

2019-10-22 Thread Ard Biesheuvel
On Thu, 17 Oct 2019 at 11:30, Kairui Song wrote: > > Currently, kernel fails to boot on some HyperV VMs when using EFI. > And it's a potential issue on all platforms. > > It's caused by broken kernel relocation on EFI systems, when below three > conditions are met: > > 1. Kernel image is not