Re: Xen-ARM EFI/ACPI problems (was: Re: [PATCH 0/4] xen/arm: Unbreak ACPI)

2020-10-16 Thread Elliott Mitchell
On Fri, Oct 16, 2020 at 03:33:23PM -0700, Elliott Mitchell wrote: > On the device I'm on (Raspberry PI 4B with Tianocore -> GRUB -> Xen) I > discovered a SPCR table shows up if I boot with the device the output is > plugged into is powered down. I'm guessing this causes Tianocore to > advise GRUB/

Xen-ARM EFI/ACPI problems (was: Re: [PATCH 0/4] xen/arm: Unbreak ACPI)

2020-10-16 Thread Elliott Mitchell
On Mon, Sep 28, 2020 at 10:00:35PM +0900, Masami Hiramatsu wrote: > I've missed the explanation of the attached patch. This prototype > patch was also needed for booting up the Xen on my box (for the system > which has no SPCR). I'm pretty sure of this on the hardware I'm dealing with, but don't k

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-15 Thread Stefano Stabellini
On Wed, 14 Oct 2020, Julien Grall wrote: > Hi Elliot, > > On 14/10/2020 02:37, Elliott Mitchell wrote: > > On Tue, Oct 13, 2020 at 06:06:26PM -0700, Stefano Stabellini wrote: > > > On Mon, 12 Oct 2020, Elliott Mitchell wrote: > > > > I'm on different hardware, but some folks have setup Tianocore f

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-14 Thread Julien Grall
Hi Elliot, On 14/10/2020 02:37, Elliott Mitchell wrote: On Tue, Oct 13, 2020 at 06:06:26PM -0700, Stefano Stabellini wrote: On Mon, 12 Oct 2020, Elliott Mitchell wrote: I'm on different hardware, but some folks have setup Tianocore for it. According to Documentation/arm64/acpi_object_usage.rst

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-14 Thread Julien Grall
Hi, On 12/10/2020 20:02, Stefano Stabellini wrote: On Sat, 10 Oct 2020, Julien Grall wrote: On 28/09/2020 07:47, Masami Hiramatsu wrote: Hello, Hi Masami, This made progress with my Xen boot on DeveloperBox ( https://www.96boards.org/product/developerbox/ ) with ACPI. I have reviewed th

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-13 Thread Elliott Mitchell
On Tue, Oct 13, 2020 at 06:06:26PM -0700, Stefano Stabellini wrote: > On Mon, 12 Oct 2020, Elliott Mitchell wrote: > > I'm on different hardware, but some folks have setup Tianocore for it. > > According to Documentation/arm64/acpi_object_usage.rst, > > "Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-13 Thread Stefano Stabellini
On Mon, 12 Oct 2020, Elliott Mitchell wrote: > On Mon, Oct 12, 2020 at 12:02:14PM -0700, Stefano Stabellini wrote: > > On Sat, 10 Oct 2020, Julien Grall wrote: > > > Therefore, I think the code should not try to find the STAO. Instead, it > > > should check whether the SPCR table is present. > > >

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-12 Thread Elliott Mitchell
On Mon, Oct 12, 2020 at 12:02:14PM -0700, Stefano Stabellini wrote: > On Sat, 10 Oct 2020, Julien Grall wrote: > > Therefore, I think the code should not try to find the STAO. Instead, it > > should check whether the SPCR table is present. > > Yes, that makes sense, but that brings me to the next

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-12 Thread Stefano Stabellini
On Sat, 10 Oct 2020, Julien Grall wrote: > On 28/09/2020 07:47, Masami Hiramatsu wrote: > > Hello, > > Hi Masami, > > > This made progress with my Xen boot on DeveloperBox ( > > https://www.96boards.org/product/developerbox/ ) with ACPI. > > > > I have reviewed the patch attached and I have a c

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-10 Thread Julien Grall
On 28/09/2020 07:47, Masami Hiramatsu wrote: Hello, Hi Masami, This made progress with my Xen boot on DeveloperBox ( https://www.96boards.org/product/developerbox/ ) with ACPI. I have reviewed the patch attached and I have a couple of remarks about it. The STAO table was originally create

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-09 Thread Elliott Mitchell
On Fri, Oct 09, 2020 at 07:15:20PM +0100, Julien Grall wrote: > On 09/10/2020 15:22, Elliott Mitchell wrote: > > Finding all the command-line console settings can be a challenge. I had > > thought it was supposed to be "console=hvc0 earlycon=hvc0". > > > > With that though I finally have some out

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-09 Thread Elliott Mitchell
On Mon, Sep 28, 2020 at 03:47:52PM +0900, Masami Hiramatsu wrote: > This made progress with my Xen boot on DeveloperBox ( > https://www.96boards.org/product/developerbox/ ) with ACPI. Now things have progressed a bit more and I can confirm the patch provides useful progress. I cannot say whether

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-09 Thread Julien Grall
Hi Elliott, On 09/10/2020 15:22, Elliott Mitchell wrote: On Fri, Oct 09, 2020 at 10:39:26AM +0100, Julien Grall wrote: On 08/10/2020 19:39, Elliott Mitchell wrote: Your (Masami Hiramatsu) patch seems plausible, but things haven't progressed enough for me to endorse it. Looks like something cl

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-09 Thread Elliott Mitchell
On Fri, Oct 09, 2020 at 10:39:26AM +0100, Julien Grall wrote: > On 08/10/2020 19:39, Elliott Mitchell wrote: > > Your (Masami Hiramatsu) patch seems plausible, but things haven't > > progressed enough for me to endorse it. Looks like something closer to > > the core of ACPI still needs further wor

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-09 Thread Julien Grall
Hello, On 08/10/2020 19:39, Elliott Mitchell wrote: On Mon, Sep 28, 2020 at 03:47:52PM +0900, Masami Hiramatsu wrote: This made progress with my Xen boot on DeveloperBox ( https://www.96boards.org/product/developerbox/ ) with ACPI. Adding your patch on top of Julien Grall's patch appears to p

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-10-08 Thread Elliott Mitchell
On Mon, Sep 28, 2020 at 03:47:52PM +0900, Masami Hiramatsu wrote: > This made progress with my Xen boot on DeveloperBox ( > https://www.96boards.org/product/developerbox/ ) with ACPI. Adding your patch on top of Julien Grall's patch appears to push the Xen boot of my target device (Raspberry PI 4B

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-30 Thread Julien Grall
Hi Alex, On 30/09/2020 11:38, Alex Bennée wrote: Julien Grall writes: Hi Alex, On 29/09/2020 22:11, Alex Bennée wrote: Julien Grall writes: Hi Alex, On 29/09/2020 16:29, Alex Bennée wrote: Julien Grall writes: From: Julien Grall Hi all, Xen on ARM has been broken for quite a w

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-30 Thread Alex Bennée
Julien Grall writes: > Hi Alex, > > On 29/09/2020 22:11, Alex Bennée wrote: >> >> Julien Grall writes: >> >>> Hi Alex, >>> >>> On 29/09/2020 16:29, Alex Bennée wrote: Julien Grall writes: > From: Julien Grall > > Hi all, > > Xen on ARM has been broken for

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-30 Thread Julien Grall
(Removing the x86 folks from the CC list) Hi André, On 30/09/2020 00:39, André Przywara wrote: On 29/09/2020 22:11, Alex Bennée wrote: Hi, Julien Grall writes: Hi Alex, On 29/09/2020 16:29, Alex Bennée wrote: Julien Grall writes: From: Julien Grall Hi all, Xen on ARM has been bro

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-30 Thread Julien Grall
Hi Alex, On 29/09/2020 22:11, Alex Bennée wrote: Julien Grall writes: Hi Alex, On 29/09/2020 16:29, Alex Bennée wrote: Julien Grall writes: From: Julien Grall Hi all, Xen on ARM has been broken for quite a while on ACPI systems. This series aims to fix it. Unfortunately I don't hav

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-30 Thread Alex Bennée
André Przywara writes: > On 29/09/2020 22:11, Alex Bennée wrote: > > Hi, > >> Julien Grall writes: >> >>> Hi Alex, >>> >>> On 29/09/2020 16:29, Alex Bennée wrote: Julien Grall writes: > From: Julien Grall > > Hi all, > > Xen on ARM has been broken for quit

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-29 Thread André Przywara
On 29/09/2020 22:11, Alex Bennée wrote: Hi, > Julien Grall writes: > >> Hi Alex, >> >> On 29/09/2020 16:29, Alex Bennée wrote: >>> >>> Julien Grall writes: >>> From: Julien Grall Hi all, Xen on ARM has been broken for quite a while on ACPI systems. This series ai

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-29 Thread Alex Bennée
Julien Grall writes: > Hi Alex, > > On 29/09/2020 16:29, Alex Bennée wrote: >> >> Julien Grall writes: >> >>> From: Julien Grall >>> >>> Hi all, >>> >>> Xen on ARM has been broken for quite a while on ACPI systems. This >>> series aims to fix it. >>> >>> Unfortunately I don't have a system

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-29 Thread Julien Grall
Hi Alex, On 29/09/2020 16:29, Alex Bennée wrote: Julien Grall writes: From: Julien Grall Hi all, Xen on ARM has been broken for quite a while on ACPI systems. This series aims to fix it. Unfortunately I don't have a system with ACPI v6.0 or later (QEMU seems to only support 5.1). So I di

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-29 Thread Alex Bennée
Julien Grall writes: > From: Julien Grall > > Hi all, > > Xen on ARM has been broken for quite a while on ACPI systems. This > series aims to fix it. > > Unfortunately I don't have a system with ACPI v6.0 or later (QEMU seems > to only support 5.1). So I did only some light testing. I was hop

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-29 Thread Elliott Mitchell
On Sat, Sep 26, 2020 at 06:47:08PM -0700, Elliott Mitchell wrote: > On the ARM device I'm trying to get operational the boot got distinctly > further along so appears to be a distinct ACPI improvement here. Just in case it wasn't clear, that does amount to: Tested-by: Elliott Mitchell Now to lo

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-29 Thread Rahul Singh
Hello, > On 26 Sep 2020, at 9:55 pm, Julien Grall wrote: > > From: Julien Grall > > Hi all, > > Xen on ARM has been broken for quite a while on ACPI systems. This > series aims to fix it. We also observed the panic after enabling the ACPI for ARM N1SDP board earlier. (XEN) Xen call trace: (

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-28 Thread Masami Hiramatsu
Hi, I've missed the explanation of the attached patch. This prototype patch was also needed for booting up the Xen on my box (for the system which has no SPCR). Thank you, 2020年9月28日(月) 15:47 Masami Hiramatsu : > > Hello, > > This made progress with my Xen boot on DeveloperBox ( > https://www.96

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-27 Thread Masami Hiramatsu
Hello, This made progress with my Xen boot on DeveloperBox ( https://www.96boards.org/product/developerbox/ ) with ACPI. Thank you, 2020年9月27日(日) 5:56 Julien Grall : > > From: Julien Grall > > Hi all, > > Xen on ARM has been broken for quite a while on ACPI systems. This > series aims to fix

Re: [PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-26 Thread Elliott Mitchell
On Sat, Sep 26, 2020 at 09:55:38PM +0100, Julien Grall wrote: > Xen on ARM has been broken for quite a while on ACPI systems. This > series aims to fix it. > > Unfortunately I don't have a system with ACPI v6.0 or later (QEMU seems > to only support 5.1). So I did only some light testing. > > I h

[PATCH 0/4] xen/arm: Unbreak ACPI

2020-09-26 Thread Julien Grall
From: Julien Grall Hi all, Xen on ARM has been broken for quite a while on ACPI systems. This series aims to fix it. Unfortunately I don't have a system with ACPI v6.0 or later (QEMU seems to only support 5.1). So I did only some light testing. I have only build tested the x86 side so far. Ch