Re: [PATCH 0/2] arm64: Support HP Envy X2

2018-11-29 Thread Leif Lindholm
Hi Alex, On Wed, Nov 28, 2018 at 03:31:05PM +0100, Alexander Graf wrote: > I got a new toy this week: An HP Envy X2 system. This is one of those shiny > new Qualcomm Snapdragon based Windows tablet/notebook hybrid things. > > While running Windows on those is actually not a terribly bad experienc

Re: [PATCH 0/2] arm64: Support HP Envy X2

2018-11-29 Thread Jon Masters
On 11/28/18 9:31 AM, Alexander Graf wrote: > I got a new toy this week: An HP Envy X2 system. This is one of those shiny > new Qualcomm Snapdragon based Windows tablet/notebook hybrid things. Cool! I've got one too, and hadn't poked since we looked a while back, so it'll be great to have a motiva

Re: [PATCH v6 11/20] xen: setup hypercall page for PVH

2018-11-29 Thread Daniel Kiper
On Wed, Nov 28, 2018 at 02:55:21PM +0100, Juergen Gross wrote: > Add the needed code to setup the hypercall page for calling into the > Xen hypervisor. > > Import the XEN_HVM_DEBUGCONS_IOPORT define from Xen unstable into > include/xen/arch-x86/xen.h > > Signed-off-by: Juergen Gross > Reviewed-by:

Re: [PATCH v6 16/20] grub-module-verifier: Ignore all_video for xenpvh

2018-11-29 Thread Daniel Kiper
On Wed, Nov 28, 2018 at 11:21:54PM +0100, Hans van Kranenburg wrote: > On 11/28/18 2:55 PM, Juergen Gross wrote: > > From: Hans van Kranenburg > > > > This solves the build failing with "Error: no symbol table and no > > .moddeps section" > > > > Also see: > > - 6371e9c10433578bb236a8284ddb9ce9e20

Re: [PATCH v6 00/20] xen: add pvh guest support

2018-11-29 Thread Daniel Kiper
On Wed, Nov 28, 2018 at 02:55:10PM +0100, Juergen Gross wrote: > This patch series adds support for booting Linux as PVH guest. > > Similar to i386/xen and x86_64/xen platforms the new i386/xenpvh > platform grub is booted as a standalone image directly by Xen. > > For booting Linux kernel it is us

Re: [Xen-devel] [PATCH v6 00/20] xen: add pvh guest support

2018-11-29 Thread Hans van Kranenburg
Hi Daniel, On 11/29/18 1:22 PM, Daniel Kiper wrote: > On Wed, Nov 28, 2018 at 02:55:10PM +0100, Juergen Gross wrote: >> This patch series adds support for booting Linux as PVH guest. >> >> Similar to i386/xen and x86_64/xen platforms the new i386/xenpvh >> platform grub is booted as a standalone i

Re: [Xen-devel] [PATCH v6 00/20] xen: add pvh guest support

2018-11-29 Thread Daniel Kiper
On Thu, Nov 29, 2018 at 01:40:35PM +0100, Hans van Kranenburg wrote: > Hi Daniel, > > On 11/29/18 1:22 PM, Daniel Kiper wrote: > > On Wed, Nov 28, 2018 at 02:55:10PM +0100, Juergen Gross wrote: > >> This patch series adds support for booting Linux as PVH guest. > >> > >> Similar to i386/xen and x86

Re: [PATCH 0/2] arm64: Support HP Envy X2

2018-11-29 Thread Alexander Graf
On 11/29/2018 11:01 AM, Jon Masters wrote: On 11/28/18 9:31 AM, Alexander Graf wrote: I got a new toy this week: An HP Envy X2 system. This is one of those shiny new Qualcomm Snapdragon based Windows tablet/notebook hybrid things. Cool! I've got one too, and hadn't poked since we looked a whil

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

2018-11-29 Thread Matthew Garrett
On Tue, Nov 27, 2018 at 8:37 AM Daniel Kiper wrote: > > On Mon, Nov 26, 2018 at 05:00:03PM +1100, Matthew Garrett wrote: > > The implementation here should work fine with TPM 1.2, so the only > > Hmmm... IIRC UEFI interface only supports TPM 2.0. However, there is > a chance that I am missing some

[PATCH V3 1/3] verifiers: Verify commands executed by grub

2018-11-29 Thread Matthew Garrett
From: Matthew Garrett Pass all commands executed by grub to the verifiers layer. Most verifiers will ignore this, but some (such as the TPM verifier) want to be able to measure and log each command executed in order to ensure that the boot state is as expected. Signed-off-by: Matthew Garrett --

[PATCH V3 2/3] verifiers: Core TPM support

2018-11-29 Thread Matthew Garrett
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 to which PCRs, but this seems like a good default policy an

[PATCH V3 3/3] verifiers: Add TPM documentation

2018-11-29 Thread Matthew Garrett
Describe the behaviour of grub when the TPM module is in use. Signed-off-by: Matthew Garrett --- docs/grub.texi | 38 ++ 1 file changed, 38 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index 471d97c95..6bd3783a4 100644 --- a/docs/grub.texi +++ b

Re: [PATCH v4 10/10] fdt: Treat device tree file type like ACPI

2018-11-29 Thread Alistair Francis
On Mon, 2018-11-26 at 00:38 +0100, Alexander Graf wrote: > We now have signature check logic in grub which allows us to treat > files differently depending on their file type. > > Treat a loaded device tree like an overlayed ACPI table. > Both describe hardware, so I suppose their threat level is

Re: [PATCH v4 08/10] RISC-V: Add auxiliary files

2018-11-29 Thread Alistair Francis
On Mon, 2018-11-26 at 00:38 +0100, Alexander Graf wrote: > To support a new architecture we need to provide a few helper > functions > for memory, cache, timer, etc support. > > This patch adds the remainders of those. Some bits are still > disabled, > as I couldn't guarantee that we're always run