Re: [PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-24 Thread Stefano Stabellini
On Fri, 24 Sep 2021, Luca Fancellu wrote: > > On 23 Sep 2021, at 17:59, Stefano Stabellini wrote: > > > > On Thu, 23 Sep 2021, Luca Fancellu wrote: > +/* > + * Binaries will be translated into bootmodules, the maximum number for > them is > + * MAX_MODULES where we should rem

Re: [PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-24 Thread Luca Fancellu
> On 24 Sep 2021, at 15:02, Jan Beulich wrote: > > On 22.09.2021 16:13, Luca Fancellu wrote: >> +static unsigned int __init allocate_dom0less_file(EFI_FILE_HANDLE >> dir_handle, >> + const char *name, >> +

Re: [PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-24 Thread Jan Beulich
On 22.09.2021 16:13, Luca Fancellu wrote: > +static unsigned int __init allocate_dom0less_file(EFI_FILE_HANDLE dir_handle, > + const char *name, > + unsigned int name_len) > +{ > +dom0less_module_n

Re: [PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-24 Thread Luca Fancellu
> On 23 Sep 2021, at 17:59, Stefano Stabellini wrote: > > On Thu, 23 Sep 2021, Luca Fancellu wrote: +/* + * Binaries will be translated into bootmodules, the maximum number for them is + * MAX_MODULES where we should remove a unit for Xen and one for Xen DTB + */

Re: [PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-23 Thread Stefano Stabellini
On Thu, 23 Sep 2021, Luca Fancellu wrote: > >> +/* > >> + * Binaries will be translated into bootmodules, the maximum number for > >> them is > >> + * MAX_MODULES where we should remove a unit for Xen and one for Xen DTB > >> + */ > >> +#define MAX_DOM0LESS_MODULES (MAX_MODULES - 2) > >> +static s

Re: [PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-23 Thread Luca Fancellu
> On 22 Sep 2021, at 22:51, Stefano Stabellini wrote: > > On Wed, 22 Sep 2021, Luca Fancellu wrote: >> This patch introduces the support for dom0less configuration >> when using UEFI boot on ARM, it permits the EFI boot to >> continue if no dom0 kernel is specified but at least one domU >> is

Re: [PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-22 Thread Stefano Stabellini
On Wed, 22 Sep 2021, Luca Fancellu wrote: > This patch introduces the support for dom0less configuration > when using UEFI boot on ARM, it permits the EFI boot to > continue if no dom0 kernel is specified but at least one domU > is found. > > Introduce the new property "uefi,binary" for device tre

[PATCH v2 2/2] arm/efi: Use dom0less configuration when using EFI boot

2021-09-22 Thread Luca Fancellu
This patch introduces the support for dom0less configuration when using UEFI boot on ARM, it permits the EFI boot to continue if no dom0 kernel is specified but at least one domU is found. Introduce the new property "uefi,binary" for device tree boot module nodes that are subnode of "xen,domain" c