Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-10 Thread Stefano Stabellini
On Sat, 8 Mar 2025, Julien Grall wrote: > On 08/03/2025 00:40, Stefano Stabellini wrote: > > On Fri, 7 Mar 2025, Jason Andryuk wrote: > > > On 2025-03-07 16:01, Julien Grall wrote: > > > > Hi Jason, > > > > > > > > On 07/03/2025 16:03, Jason Andryuk wrote: > > > > > On 2025-03-07 03:31, Julien Gra

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-10 Thread Stefano Stabellini
On Sat, 8 Mar 2025, Julien Grall wrote: > On 08/03/2025 00:53, Stefano Stabellini wrote: > > On Fri, 7 Mar 2025, Julien Grall wrote: > > > > init-dom0less only initializes non- introduced domains, so hwdom doesn't > > > > get > > > > its "domid" xenstore node populated.  That leads to other errors.

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-08 Thread Julien Grall
Hi, On 08/03/2025 00:53, Stefano Stabellini wrote: On Fri, 7 Mar 2025, Julien Grall wrote: init-dom0less only initializes non- introduced domains, so hwdom doesn't get its "domid" xenstore node populated.  That leads to other errors. So I think with Denis's patch, this isn't strictly needed. 

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-08 Thread Julien Grall
Hi Stefano, On 08/03/2025 00:40, Stefano Stabellini wrote: On Fri, 7 Mar 2025, Jason Andryuk wrote: On 2025-03-07 16:01, Julien Grall wrote: Hi Jason, On 07/03/2025 16:03, Jason Andryuk wrote: On 2025-03-07 03:31, Julien Grall wrote: Hi, On 06/03/2025 22:03, Jason Andryuk wrote: Assign do

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Stefano Stabellini
On Fri, 7 Mar 2025, Julien Grall wrote: > > init-dom0less only initializes non- introduced domains, so hwdom doesn't get > > its "domid" xenstore node populated.  That leads to other errors. > > > So I think with Denis's patch, this isn't strictly needed.  It does help > > existing toolstack code w

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Stefano Stabellini
On Fri, 7 Mar 2025, Jason Andryuk wrote: > On 2025-03-07 16:01, Julien Grall wrote: > > Hi Jason, > > > > On 07/03/2025 16:03, Jason Andryuk wrote: > > > On 2025-03-07 03:31, Julien Grall wrote: > > > > Hi, > > > > > > > > On 06/03/2025 22:03, Jason Andryuk wrote: > > > > > Assign domid 0 to the

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Julien Grall
Hi Jason, On 07/03/2025 16:03, Jason Andryuk wrote: On 2025-03-07 03:31, Julien Grall wrote: Hi, On 06/03/2025 22:03, Jason Andryuk wrote: Assign domid 0 to the hwdom.  Normally, dom0less does not use domid 0. A few years ago, we went to great length to avoid making the assumption that the

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Jason Andryuk
On 2025-03-07 16:01, Julien Grall wrote: Hi Jason, On 07/03/2025 16:03, Jason Andryuk wrote: On 2025-03-07 03:31, Julien Grall wrote: Hi, On 06/03/2025 22:03, Jason Andryuk wrote: Assign domid 0 to the hwdom.  Normally, dom0less does not use domid 0. A few years ago, we went to great lengt

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Jason Andryuk
On 2025-03-07 03:31, Julien Grall wrote: Hi, On 06/03/2025 22:03, Jason Andryuk wrote: Assign domid 0 to the hwdom.  Normally, dom0less does not use domid 0. A few years ago, we went to great length to avoid making the assumption that the hardware domain is domid 0. See all the calls to "is

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Jason Andryuk
On 2025-03-06 20:32, Stefano Stabellini wrote: On Thu, 6 Mar 2025, Jason Andryuk wrote: Assign domid 0 to the hwdom. Normally, dom0less does not use domid 0. This fixes using the Xen console which assumes domid 0 to use the hypercall interface. Signed-off-by: Jason Andryuk I hope there is

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Jan Beulich
On 06.03.2025 23:03, Jason Andryuk wrote: > Assign domid 0 to the hwdom. Normally, dom0less does not use domid 0. > > This fixes using the Xen console which assumes domid 0 to use the > hypercall interface. Iirc a patch by Denis Mukhin is taking care of that, if what's meant is the input focus s

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-07 Thread Julien Grall
Hi, On 06/03/2025 22:03, Jason Andryuk wrote: Assign domid 0 to the hwdom. Normally, dom0less does not use domid 0. A few years ago, we went to great length to avoid making the assumption that the hardware domain is domid 0. See all the calls to "is_hardware_domain()". So I am reluctant to

Re: [PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-06 Thread Stefano Stabellini
On Thu, 6 Mar 2025, Jason Andryuk wrote: > Assign domid 0 to the hwdom. Normally, dom0less does not use domid 0. > > This fixes using the Xen console which assumes domid 0 to use the > hypercall interface. > > Signed-off-by: Jason Andryuk I hope there is a check already in the code somewhere t

[PATCH 04/23] xen/arm: dom0less use domid 0 for hwdom

2025-03-06 Thread Jason Andryuk
Assign domid 0 to the hwdom. Normally, dom0less does not use domid 0. This fixes using the Xen console which assumes domid 0 to use the hypercall interface. Signed-off-by: Jason Andryuk --- xen/arch/arm/dom0less-build.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a