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

Re: [XEN][PATCH v5 03/17] xen/arm: Add CONFIG_OVERLAY_DTB


  • To: Michal Orzel <michal.orzel@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Vikram Garhwal <vikram.garhwal@xxxxxxx>
  • Date: Thu, 13 Apr 2023 12:27:19 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PL8Oe2EKSeHiiX45CknT0nJ4Lkp6F7sg+e7i9HnZpWU=; b=PqyGtT/B9uS46so+lSK3vsSqJ079mvNcJwCGDZgdv9/kQ6dxXS/f6DmVqDsdWgJ869GvUaUR3FDsOsBkjoRf9Q6zGrkb0jWx/CtukU+vL5e14kh1Sgq4GNEItp2n9WWhgR7dgZ7AeIc1LNQUHXZzuC1VSub2TYRifW8zE+oDWaRtHkrZGTCsoLcBQZi9RdTaA7R1B88Mg6ub/7E2SSCSR+HSq0PdOTFZtDJigX7ur7bD5Dcp1ynBZKDTQlsV3lZ7GC0ezkO3TGDv2Cn2i9CwiPjV6Owdi4U26PzcAKyXCcj4wl3CLFEXi04vFhIbRAHmL0VdsAIM+cV2OtgVuOgjSg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dbMjtnn6XXHNi3qbL/Ikf97TDDREslIOhyTqgaN690dknApJVZ3EznKbCckGaSidZE5GSHMEIjxEF75EKCs+L4k0GozkkWRPA2slhDR8Rvj04XCtyeZYft/kd+vvD/wzuzRARlZppiztdMx69WE35nOmndg52BBt+mqX/RHp2QAhSg+LzV/afMArxAv9xYt2XJ3YaNRa4Na7kcfd8GdYL6fXgENoRqlyaKcB0fUDE3AmYYiQRMmD49UZSFLVBvnMtFf1kqXPPPeFJ0RvbvGBt6KuhC4j27nmvYzwHLzhzeNbt4DjUGC5TPLfoIVJuudC53pZbLcewzkvQc15SP3HdQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: sstabellini@xxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Thu, 13 Apr 2023 19:28:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Michal,

On 4/13/23 2:58 AM, Michal Orzel wrote:
Hi Vikram,

On 11/04/2023 21:16, Vikram Garhwal wrote:

Introduce a config option where the user can enable support for adding/removing
device tree nodes using a device tree binary overlay.

Signed-off-by: Vikram Garhwal <vikram.garhwal@xxxxxxx>
---
  SUPPORT.md           | 6 ++++++
  xen/arch/arm/Kconfig | 5 +++++
  2 files changed, 11 insertions(+)

diff --git a/SUPPORT.md b/SUPPORT.md
index aa1940e55f..0a31f40af4 100644
--- a/SUPPORT.md
+++ b/SUPPORT.md
@@ -822,6 +822,12 @@ No support for QEMU backends in a 16K or 64K domain.

      Status: Supported

+### Device Tree Overlays
+
+Add/Remove device tree nodes using a device tree overlay binary(.dtbo).
+
+    Status: Supported for ARM
Hmm, so here you say supported but in Kconfig - unsupported.
I think, this should be:
Status, ARM: Tech Preview
or Experimental
Experimental sounds better to me.
Will update it.
+
  ### ARM: Guest ACPI support

      Status: Supported
diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 239d3aed3c..1fe3d698a5 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -53,6 +53,11 @@ config HAS_ITS
          bool "GICv3 ITS MSI controller support (UNSUPPORTED)" if UNSUPPORTED
          depends on GICV3 && !NEW_VGIC && !ARM_32

+config OVERLAY_DTB
+       bool "DTB overlay support (UNSUPPORTED)" if UNSUPPORTED
+       help
+         Dynamic addition/removal of Xen device tree nodes using a dtbo.
+
  config HVM
          def_bool y

--
2.17.1


~Michal




 


Rackspace

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