diff mbox series

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

Message ID 20230411191636.26926-4-vikram.garhwal@amd.com (mailing list archive)
State Superseded
Headers show
Series dynamic node programming using overlay dtbo | expand

Commit Message

Vikram Garhwal April 11, 2023, 7:16 p.m. UTC
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@amd.com>
---
 SUPPORT.md           | 6 ++++++
 xen/arch/arm/Kconfig | 5 +++++
 2 files changed, 11 insertions(+)

Comments

Michal Orzel April 13, 2023, 9:58 a.m. UTC | #1
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@amd.com>
> ---
>  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

> +
>  ### 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
Vikram Garhwal April 13, 2023, 7:27 p.m. UTC | #2
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@amd.com>
>> ---
>>   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
diff mbox series

Patch

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
+
 ### 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