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

RE: [RFC PATCH 0/4] Introducing a common representation of boot info


  • To: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Wed, 6 Jul 2022 07:30:34 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bDSJvr1aCT51I79vsIGcfJxrL07Fyi9UKI54RhWZPI8=; b=F5PHR9vrSaOnAMuzHe8e+fy+AwX79NJuk+kDMgoKlHUQTl50zeZQxlXfj7WbrAmsS78WmSbYIPvWMExEQ5O6U1isHrKJYNZ7KV0ZVm58NOedAyNUj0i2baxOzpCjEBY0OLoMwZpOZrkxRuerKwvDKtmgOoTw8jWrIgw8jqWv2RHCFJ3/0+Xo2AhjHK0C/zpc661GiWjSoBc9aUY//AkVPnkkQ64f7phUikb3jEHMUCQnuOCra290HfiqTDSTSArDBpjCC3bh7W/pr6vmQUVt/NRO2nmmQVH1lLutOt5CujisB5wYV+PmzHRazrV3W6+TskrqXDhrQcjOTvF1xquenQ==
  • 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bDSJvr1aCT51I79vsIGcfJxrL07Fyi9UKI54RhWZPI8=; b=igp47OEjqtT9fgbyrhjFu4hM5DhsxDKyDZ5BJ1q2t84cBFtXtZ4DG5Hl1h/GVU4uhc3usLrdtTIslxS157mvEBJBX8C6SXe4gBcrzRTT8E8QW/LthiHgeVjwkELEt8Q4N09K3u8S8iWiT6M8euv2A1hdMGu0KnmZgtB4ws299HTVUpqdXvEXXDE+H7gkoi7Ep/iu+eGgyQo8F16f4pn52dYNSiC4fTg2U7eltcKeNn4mgGe2txowbhbHEOhHTnH2xcGLfDQatr6RZ9XYDQ5Kt/J4mI8K/C+RAGSYgdX0GshvQQg/gsBqXUY1x2pecfPKdYtEUcpRD/HeQRwQvnEjsg==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=d6xYBZDtNx9YGubQz9chj+MfyNuI4U5jZplSaEpQVxJCuWlQ8cxB34DQoUYAjI0O9IYkgaiNEGosrHX4Cu9no3uyqRNZS9szlJrtM2dzBWupnnuKVVFRC2mAFwgi5/Pt7BTy2+BssG7xxjruLgDSkAGb7GIA4lBW0tqfGtH+NPmMn7B/VWNSYfUqf/AT5kO5HMi8ItxDApogu3JzCzIzwG4SOVXo42nQ9nLQESKjqYXVhycPrq9q6h2EavUIu8ciqTgjvmI40AyZrHroMDxPNX09t+yT30AFGTFHEDGr7iB6VdUaz9guTD8g/Z14FrfVipfgrK7Pnt97tzZU2u2NHw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PW5vRR9XQebdPwmulEXg5trJI/hjLh482uy48uA832QASX010PDP46ynxB7WAXn04ENTqhppm6aVuyfWU3xmnZ8+50pT5Ddj7GAwq8vB3ksqsm1wGSzR/3ZKEo97hr2jq0w+Rrf4AjZgQ38mOJUCfC1FKiv//ssNdAVqyV4BMmt0yQuPeFJyxDwerG1CLzWFYztdneVY4v0ux3igcTSimoPGL/aROve/kDa7rNwGYZQmiJvmLwTPXNoZyDI88K4Ebyr2XFyUn/rMuHFKZWhlJzFg6Kpa/oyPizFuX4VC0i5gPok/XNFo9Ka1Qop3IXLViEFlHvm3VtqLHb8Zvr3NVA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "scott.davis@xxxxxxxxxx" <scott.davis@xxxxxxxxxx>, "christopher.clark@xxxxxxxxxx" <christopher.clark@xxxxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>
  • Delivery-date: Wed, 06 Jul 2022 07:30:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYdHf6JvWZG2GXVE2XLLkq14FnwK1xI0fQ
  • Thread-topic: [RFC PATCH 0/4] Introducing a common representation of boot info

Hi,

It seems that this series has been stale for more than a month, with:

Patch #1 has some discussions in thread.
Patch #2 #3 #4 need some feedback from maintainers.

So sending this email as a gentle reminder. Thanks!

Kind regards,
Henry

> -----Original Message-----
> Subject: [RFC PATCH 0/4] Introducing a common representation of boot info
> 
> This series serves as a proposal to arrive at a common, cross-architecture
> way
> for boot information to be represented during startup. This proposal is
> derived
> from the structures devised to represent hyperlaunch boot information. The
> hyperlaunch boot information structures themselves were based on the boot
> info
> structures used by Arm and dom0less. A significant effort went into ensuring
> the structures are able to support dom0less as well as hyperlaunch.
> 
> Arm and x86 both have arch specific information that must be represented.
> The
> approach here sought to support this through arch structures while
> attempting
> to maximize what was retained in the common structures. For this series, the
> focus was on converting x86 over to the new boot info structures.
> 
> The motivation for this series is due to the fact that the multiboot v1
> structures used by x86 are not sufficient for hyperlaunch. In the previously
> submited hyperlaunch RFC, this was managed by wrapping the mb structures
> inside⎄ the hyperlaunch structures. This at best was could be considered
> crude, but really it was just a hack. One of the goals of hyperlaunch is to
> unify as much as possible with dom0less to remove any unnecessary
> duplication.
> Adopting a common representation for boot information will provide a solid
> foundation for this unification. The added benefit is that in few places this
> will enable an unnecessary arch specific version of logic, XSM for example
> would be able to drop arch specific init functions.
> 
> This series being submitted as an RFC due to,
> * the number of design decisions being made within the series
> * the limited testing able to be completed
> * how extensive the changes will be for x86
> 
> NB: This series is built on top of the v2 patch series, "xsm: refactor and
> optimize policy loading".
> 
> 
> Daniel P. Smith (4):
>   kconfig: allow configuration of maximum modules
>   headers: introduce generalized boot info
>   x86: adopt new boot info structures
>   x86: refactor entrypoints to new boot info
> 
>  xen/arch/Kconfig                          |  12 ++
>  xen/arch/arm/include/asm/setup.h          |   5 +-
>  xen/arch/x86/boot/boot_info32.h           |  81 ++++++++
>  xen/arch/x86/boot/defs.h                  |  17 +-
>  xen/arch/x86/boot/reloc.c                 | 187 +++++++++++------
>  xen/arch/x86/bzimage.c                    |  16 +-
>  xen/arch/x86/cpu/microcode/core.c         | 134 ++++++++-----
>  xen/arch/x86/dom0_build.c                 |  13 +-
>  xen/arch/x86/efi/efi-boot.h               |  96 +++++----
>  xen/arch/x86/guest/xen/pvh-boot.c         |  58 ++++--
>  xen/arch/x86/hvm/dom0_build.c             |  42 ++--
>  xen/arch/x86/include/asm/bootinfo.h       |  45 +++++
>  xen/arch/x86/include/asm/bzimage.h        |   5 +-
>  xen/arch/x86/include/asm/dom0_build.h     |  15 +-
>  xen/arch/x86/include/asm/guest/pvh-boot.h |   6 +-
>  xen/arch/x86/include/asm/setup.h          |  14 +-
>  xen/arch/x86/pv/dom0_build.c              |  34 ++--
>  xen/arch/x86/setup.c                      | 234 ++++++++++++----------
>  xen/common/efi/boot.c                     |   4 +-
>  xen/include/xen/bootinfo.h                | 101 ++++++++++
>  xen/include/xsm/xsm.h                     |  26 ++-
>  xen/xsm/xsm_core.c                        |  22 +-
>  xen/xsm/xsm_policy.c                      |  44 ++--
>  23 files changed, 804 insertions(+), 407 deletions(-)
>  create mode 100644 xen/arch/x86/boot/boot_info32.h
>  create mode 100644 xen/arch/x86/include/asm/bootinfo.h
>  create mode 100644 xen/include/xen/bootinfo.h
> 
> --
> 2.20.1
> 


 


Rackspace

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