Re: Issue with shared information page on Xen/ARM 4.17

2023-10-05 Thread Stefano Stabellini
On Thu, 5 Oct 2023, Roger Pau Monné wrote: > On Wed, Oct 04, 2023 at 03:52:54PM -0700, Stefano Stabellini wrote: > > On Wed, 4 Oct 2023, Julien Grall wrote: > > > > > If we want to handle such firmware, I think it would be better if we > > > > > provide > > > > > an hypercall that would return the

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-05 Thread Elliott Mitchell
On Thu, Oct 05, 2023 at 09:54:26AM +0100, Julien Grall wrote: > On 04/10/2023 22:13, Elliott Mitchell wrote: > >>> I understand the situation is different on Arm vs x86, so if > >>> edk2 is not supported on arm I guess it doesn't matter much whether > >>> it's broken. It would be a much worse issu

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-05 Thread Roger Pau Monné
On Wed, Oct 04, 2023 at 03:52:54PM -0700, Stefano Stabellini wrote: > On Wed, 4 Oct 2023, Julien Grall wrote: > > > > If we want to handle such firmware, I think it would be better if we > > > > provide > > > > an hypercall that would return the GFN where it is currently mapped. > > > > > > Sure,

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-05 Thread Julien Grall
On 04/10/2023 22:13, Elliott Mitchell wrote: I understand the situation is different on Arm vs x86, so if edk2 is not supported on arm I guess it doesn't matter much whether it's broken. It would be a much worse issue on x86 where edk2 is supported. AFAIK, we have CI for x86 on EDK2 but we don

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Elliott Mitchell
On Wed, Oct 04, 2023 at 03:52:54PM -0700, Stefano Stabellini wrote: > On Wed, 4 Oct 2023, Julien Grall wrote: > > > > If we want to handle such firmware, I think it would be better if we > > > > provide > > > > an hypercall that would return the GFN where it is currently mapped. > > > > > > Sure,

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Stefano Stabellini
On Wed, 4 Oct 2023, Julien Grall wrote: > > > This is not very different here. For Arm we decided to not follow a > > > behavior > > > that I consider incorrect and potentially more harmful than trying to > > > support bootloader not removing the shared page. > > > > I think this is not very frien

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Stefano Stabellini
On Wed, 4 Oct 2023, Elliott Mitchell wrote: > On Wed, Oct 04, 2023 at 03:21:04PM -0700, Stefano Stabellini wrote: > > On Wed, 4 Oct 2023, Elliott Mitchell wrote: > > > On Wed, Oct 04, 2023 at 03:39:16PM +0200, Roger Pau Monné wrote: > > > > On Wed, Oct 04, 2023 at 02:03:43PM +0100, Julien Grall wro

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Elliott Mitchell
On Wed, Oct 04, 2023 at 03:21:04PM -0700, Stefano Stabellini wrote: > On Wed, 4 Oct 2023, Elliott Mitchell wrote: > > On Wed, Oct 04, 2023 at 03:39:16PM +0200, Roger Pau Monné wrote: > > > On Wed, Oct 04, 2023 at 02:03:43PM +0100, Julien Grall wrote: > > > > > > > > On 04/10/2023 13:53, Roger Pau

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Stefano Stabellini
On Wed, 4 Oct 2023, Elliott Mitchell wrote: > On Wed, Oct 04, 2023 at 03:39:16PM +0200, Roger Pau Monné wrote: > > On Wed, Oct 04, 2023 at 02:03:43PM +0100, Julien Grall wrote: > > > > > > On 04/10/2023 13:53, Roger Pau Monné wrote: > > > > > > > > When using UEFI there's RAM that will always be

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Elliott Mitchell
Heavily trimming earlier messages. Also doing one response to cover several items. Hopefully I'm not missing something which needs a response. On Wed, Oct 04, 2023 at 03:39:16PM +0200, Roger Pau Monné wrote: > On Wed, Oct 04, 2023 at 02:03:43PM +0100, Julien Grall wrote: > > > > On 04/10/2023

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Julien Grall
Hi, On 04/10/2023 15:53, Roger Pau Monné wrote: On Wed, Oct 04, 2023 at 03:06:14PM +0100, Julien Grall wrote: Neither of the two behaviors help the users. In fact, I think they only make the experience worse because you don't know when the issue will happen. AFAICT, there is no way for an HVM

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Oleksandr Tyshchenko
On 04.10.23 15:59, Roger Pau Monné wrote: Hello Roger > On Wed, Oct 04, 2023 at 11:42:32AM +, Oleksandr Tyshchenko wrote: >> >> >> On 04.10.23 13:55, Julien Grall wrote: >> >> Hello all. >> >>> Hi Roger, >>> >>> On 04/10/2023 09:13, Roger Pau Monné wrote: On Tue, Oct 03, 2023 at 12:1

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Roger Pau Monné
On Wed, Oct 04, 2023 at 03:06:14PM +0100, Julien Grall wrote: > Hi Roger, > > On 04/10/2023 14:39, Roger Pau Monné wrote: > > On Wed, Oct 04, 2023 at 02:03:43PM +0100, Julien Grall wrote: > > > Hi Roger, > > > > > > On 04/10/2023 13:53, Roger Pau Monné wrote: > > > > On Wed, Oct 04, 2023 at 11:55

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Julien Grall
Hi Roger, On 04/10/2023 14:39, Roger Pau Monné wrote: On Wed, Oct 04, 2023 at 02:03:43PM +0100, Julien Grall wrote: Hi Roger, On 04/10/2023 13:53, Roger Pau Monné wrote: On Wed, Oct 04, 2023 at 11:55:05AM +0100, Julien Grall wrote: Hi Roger, On 04/10/2023 09:13, Roger Pau Monné wrote: On T

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Roger Pau Monné
On Wed, Oct 04, 2023 at 02:03:43PM +0100, Julien Grall wrote: > Hi Roger, > > On 04/10/2023 13:53, Roger Pau Monné wrote: > > On Wed, Oct 04, 2023 at 11:55:05AM +0100, Julien Grall wrote: > > > Hi Roger, > > > > > > On 04/10/2023 09:13, Roger Pau Monné wrote: > > > > On Tue, Oct 03, 2023 at 12:18

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Julien Grall
Hi Roger, On 04/10/2023 13:53, Roger Pau Monné wrote: On Wed, Oct 04, 2023 at 11:55:05AM +0100, Julien Grall wrote: Hi Roger, On 04/10/2023 09:13, Roger Pau Monné wrote: On Tue, Oct 03, 2023 at 12:18:35PM -0700, Elliott Mitchell wrote: On Tue, Oct 03, 2023 at 10:26:28AM +0200, Roger Pau Monn

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Roger Pau Monné
On Wed, Oct 04, 2023 at 11:42:32AM +, Oleksandr Tyshchenko wrote: > > > On 04.10.23 13:55, Julien Grall wrote: > > Hello all. > > > Hi Roger, > > > > On 04/10/2023 09:13, Roger Pau Monné wrote: > >> On Tue, Oct 03, 2023 at 12:18:35PM -0700, Elliott Mitchell wrote: > >>> On Tue, Oct 03, 202

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Roger Pau Monné
On Wed, Oct 04, 2023 at 11:55:05AM +0100, Julien Grall wrote: > Hi Roger, > > On 04/10/2023 09:13, Roger Pau Monné wrote: > > On Tue, Oct 03, 2023 at 12:18:35PM -0700, Elliott Mitchell wrote: > > > On Tue, Oct 03, 2023 at 10:26:28AM +0200, Roger Pau Monné wrote: > > > > On Thu, Sep 28, 2023 at 07:

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Oleksandr Tyshchenko
On 04.10.23 13:55, Julien Grall wrote: Hello all. > Hi Roger, > > On 04/10/2023 09:13, Roger Pau Monné wrote: >> On Tue, Oct 03, 2023 at 12:18:35PM -0700, Elliott Mitchell wrote: >>> On Tue, Oct 03, 2023 at 10:26:28AM +0200, Roger Pau Monné wrote: On Thu, Sep 28, 2023 at 07:49:18PM -0700,

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Julien Grall
Hi Roger, On 04/10/2023 09:13, Roger Pau Monné wrote: On Tue, Oct 03, 2023 at 12:18:35PM -0700, Elliott Mitchell wrote: On Tue, Oct 03, 2023 at 10:26:28AM +0200, Roger Pau Monné wrote: On Thu, Sep 28, 2023 at 07:49:18PM -0700, Elliott Mitchell wrote: I'm trying to get FreeBSD/ARM operational

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-04 Thread Roger Pau Monné
On Tue, Oct 03, 2023 at 12:18:35PM -0700, Elliott Mitchell wrote: > On Tue, Oct 03, 2023 at 10:26:28AM +0200, Roger Pau Monné wrote: > > On Thu, Sep 28, 2023 at 07:49:18PM -0700, Elliott Mitchell wrote: > > > I'm trying to get FreeBSD/ARM operational on Xen/ARM. Current issue is > > > the changes

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-03 Thread Elliott Mitchell
On Tue, Oct 03, 2023 at 10:26:28AM +0200, Roger Pau Monné wrote: > On Thu, Sep 28, 2023 at 07:49:18PM -0700, Elliott Mitchell wrote: > > I'm trying to get FreeBSD/ARM operational on Xen/ARM. Current issue is > > the changes with the handling of the shared information page appear to > > have broken

Re: Issue with shared information page on Xen/ARM 4.17

2023-10-03 Thread Roger Pau Monné
On Thu, Sep 28, 2023 at 07:49:18PM -0700, Elliott Mitchell wrote: > I'm trying to get FreeBSD/ARM operational on Xen/ARM. Current issue is > the changes with the handling of the shared information page appear to > have broken things for me. > > With a pre-4.17 build of Xen/ARM things worked fine.

Issue with shared information page on Xen/ARM 4.17

2023-09-28 Thread Elliott Mitchell
I'm trying to get FreeBSD/ARM operational on Xen/ARM. Current issue is the changes with the handling of the shared information page appear to have broken things for me. With a pre-4.17 build of Xen/ARM things worked fine. Yet with a build of the 4.17 release, mapping the shared information page