[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UEFI support in ARM DomUs


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Tue, 23 Jun 2020 05:31:58 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1vOkOwfSKYJz+QCvsXcJFiDvR8ra5FU5+BzRpP0dZnQ=; b=ki7aEw+uAHy5Tvl8ANTL2fMbXuGDSx015vc2U4Qn+LZiB+ifWqsI8CrXIHLPOIBZLjDANK4P52je3jkXuFl+i/3ga/B++nOg5Z2W2hjmQqNvQvAte/qxY+ak6dcoHPc53bF5Ajq8xZtH5auVkoJtci6br9AdWkvnvFoECDwz636rb+DtFDpfOVSaK9v/JTsVMTzPoeZ0NuJqRW/LSlEZlWgSAMQYqa2a8QfNkJcnLjEfQgGIvC76bVnmpjprGU+OfAnKGeRtoxUqBCqFNY83rc0E0AT1lFjW4IlNuiojumrQoTdSDtXr4KnSGpZPRyEjFgD9R8/beX89Gv92BGk0tA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n/zLWZ7IsmFGxawv7bBFp1jRt+cUKe/EojuCv5H8yEGEl4vRPknv7t+ztH3i94bS6r4tUtkG+v0omQRBuLzw2dzQ2lpoUtLdJHiapZGsEkjzeXzf866ZC4YprpLK1My811X+9357OL5lFNiNvKgPy4uy/Ow6ktTQkvq8og1c2lCbT85h3R/hUk6dQ0JyMBRgQZCnF8alFJAOMoqj14VRpLADRS6YuvPQF095lEhgZK4r82bMJ/Hi2a1JhcTrxsLmBJWiLKROkIhKxjfTPpMzIeSV4AVAJYUE62wyLqDMTRmPK+4ja2lK6L3rT7dLOaOyjfLea5+Ll1I25WjA1wZAjw==
  • Authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=epam.com;
  • Cc: Anastasiia Lukianenko <Anastasiia_Lukianenko@xxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Peng Fan <peng.fan@xxxxxxx>, Oleksandr Andrushchenko <andr2000@xxxxxxxxx>, Roman Shaposhnik <roman@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Nataliya Korovkina <malus.brandywine@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <julien.grall.oss@xxxxxxxxx>
  • Delivery-date: Tue, 23 Jun 2020 05:32:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWOoSI1wnhumD+IkWBnAQX9mudyajIlWsAgBVWbwCAAJ62gIAAeBOAgAANxQCAAWPDgIAEUtgAgAAGgYCAAAHAgIAANpaAgAB+IgCAAEYyAA==
  • Thread-topic: UEFI support in ARM DomUs

On 6/23/20 4:20 AM, Stefano Stabellini wrote:
> On Mon, 22 Jun 2020, Julien Grall wrote:
>>>>> For the first part (__XEN_INTERFACE_VERSION__) I think we can provide it
>>>>> via
>>>>>
>>>>> CFLAGS or something. This can also be done for the location of Xen
>>>>> headers.
>>>> __XEN_INTERFACE_VERSION__ should work through the CFLAGS. An alternative
>>>> would be to allow the user to specify through the Kconfig.
>>> You mean specifying via Kconfig something like "0x00040d00"?
>> Possibly yes.
>>
>>> And what about the headers? How will we provide their location if we decide
>>> not to include those
>>>
>>> in the tree?
>> I would do through Kconfig as well.
> If we specify the external location of the Xen headers via Kconfig, it
> seems to me that we should be able to detect the interface version
> automatically from any Makefile as part of the build. No need to ask the
> user.
>
> However, if Oleksandr is thinking of using the Xen headers for the
> hypercalls definitions, then I think we might not need external headers
> at all because that is a stable interface, as Julien wrote. We could
> just define our own few headers for just what you need like Linux does.

This is a good idea: I'll try to get the minimal set of headers from Linux

instead of Xen as those seem to be well prepared for such a use-case. This

way we'll have headers in U-boot tree and guarantee that we have a minimal

subset which is easier to maintain. I'll keep you updated on the progress

>
> If you can do that, I think it would be better because we decouple the
> UBoot build from the Xen build completely. We don't even need the Xen
> tree checked out to build UBoot. It would be a huge advantage because it
> makes it far easier to build-test changes for others in the community
> that don't know about Xen and also it becomes far easier to integrate
> into any build system.

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.