Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-11 Thread Oleksandr
On 09.10.21 01:14, Stefano Stabellini wrote: Hi Stefano On Fri, 8 Oct 2021, Oleksandr wrote: On 08.10.21 15:36, Jan Beulich wrote: On 08.10.2021 12:25, Oleksandr wrote: Just a quick question. What do you think can XEN_DOMCTL_getdomaininfo be reused to retrieve gpaddr_bits? I don't see why

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-08 Thread Stefano Stabellini
On Fri, 8 Oct 2021, Oleksandr wrote: > On 08.10.21 15:36, Jan Beulich wrote: > > On 08.10.2021 12:25, Oleksandr wrote: > > > Just a quick question. What do you think can XEN_DOMCTL_getdomaininfo be > > > reused to retrieve gpaddr_bits? I don't see why not at the moment, but > > > maybe there are

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-08 Thread Oleksandr
On 08.10.21 15:36, Jan Beulich wrote: Hi Jan On 08.10.2021 12:25, Oleksandr wrote: Just a quick question. What do you think can XEN_DOMCTL_getdomaininfo be reused to retrieve gpaddr_bits? I don't see why not at the moment, but maybe there are some implications/concerns which are invisible

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-08 Thread Jan Beulich
On 08.10.2021 12:25, Oleksandr wrote: > Just a quick question. What do you think can XEN_DOMCTL_getdomaininfo be > reused to retrieve gpaddr_bits? I don't see why not at the moment, but > maybe there are some implications/concerns which are invisible to me. > > I see that arch_get_domain_info()

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-08 Thread Oleksandr
On 08.10.21 11:13, Jan Beulich wrote: Hi Jan On 07.10.2021 22:23, Stefano Stabellini wrote: On Thu, 7 Oct 2021, Jan Beulich wrote: On 07.10.2021 15:12, Oleksandr wrote: On 07.10.21 15:43, Jan Beulich wrote: Hi Jan. On 07.10.2021 14:30, Oleksandr wrote: On 07.10.21 10:42, Jan Beulich

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-08 Thread Jan Beulich
On 07.10.2021 22:23, Stefano Stabellini wrote: > On Thu, 7 Oct 2021, Jan Beulich wrote: >> On 07.10.2021 15:12, Oleksandr wrote: >>> >>> On 07.10.21 15:43, Jan Beulich wrote: >>> >>> Hi Jan. >>> On 07.10.2021 14:30, Oleksandr wrote: > On 07.10.21 10:42, Jan Beulich wrote: >> On

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-07 Thread Stefano Stabellini
On Thu, 7 Oct 2021, Jan Beulich wrote: > On 07.10.2021 15:12, Oleksandr wrote: > > > > On 07.10.21 15:43, Jan Beulich wrote: > > > > Hi Jan. > > > >> On 07.10.2021 14:30, Oleksandr wrote: > >>> On 07.10.21 10:42, Jan Beulich wrote: > On 06.10.2021 13:22, Oleksandr Tyshchenko wrote: > >

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-07 Thread Oleksandr
On 07.10.21 03:49, Stefano Stabellini wrote: Hi Stefano On Wed, 6 Oct 2021, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko We need to pass info about maximum supported guest physical address space size to the toolstack on Arm in order to properly calculate the base and size of

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-07 Thread Jan Beulich
On 07.10.2021 15:12, Oleksandr wrote: > > On 07.10.21 15:43, Jan Beulich wrote: > > Hi Jan. > >> On 07.10.2021 14:30, Oleksandr wrote: >>> On 07.10.21 10:42, Jan Beulich wrote: On 06.10.2021 13:22, Oleksandr Tyshchenko wrote: > Changes V4 -> V5: > - update patch subject and

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-07 Thread Oleksandr
On 07.10.21 15:43, Jan Beulich wrote: Hi Jan. On 07.10.2021 14:30, Oleksandr wrote: On 07.10.21 10:42, Jan Beulich wrote: On 06.10.2021 13:22, Oleksandr Tyshchenko wrote: Changes V4 -> V5: - update patch subject and description - drop Michal's R-b - pass gpaddr_bits via

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-07 Thread Jan Beulich
On 07.10.2021 14:30, Oleksandr wrote: > On 07.10.21 10:42, Jan Beulich wrote: >> On 06.10.2021 13:22, Oleksandr Tyshchenko wrote: >>> Changes V4 -> V5: >>> - update patch subject and description >>> - drop Michal's R-b >>> - pass gpaddr_bits via createdomain domctl >>> (struct

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-07 Thread Oleksandr
On 07.10.21 10:42, Jan Beulich wrote: Hi Jan. On 06.10.2021 13:22, Oleksandr Tyshchenko wrote: Changes V4 -> V5: - update patch subject and description - drop Michal's R-b - pass gpaddr_bits via createdomain domctl (struct xen_arch_domainconfig) I'm afraid I can't bring

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-07 Thread Jan Beulich
On 06.10.2021 13:22, Oleksandr Tyshchenko wrote: > Changes V4 -> V5: >- update patch subject and description >- drop Michal's R-b >- pass gpaddr_bits via createdomain domctl > (struct xen_arch_domainconfig) I'm afraid I can't bring this in line with ... > ---

Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-06 Thread Stefano Stabellini
On Wed, 6 Oct 2021, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > We need to pass info about maximum supported guest physical > address space size to the toolstack on Arm in order to properly > calculate the base and size of the extended region (safe range) > for the guest. The

[PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig

2021-10-06 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko We need to pass info about maximum supported guest physical address space size to the toolstack on Arm in order to properly calculate the base and size of the extended region (safe range) for the guest. The extended region is unused address space which could be safely