Re: [XEN][PATCH v6 15/19] xen/arm: Implement device tree node removal functionalities

2023-05-09 Thread Andrew Cooper
On 09/05/2023 3:30 pm, Michal Orzel wrote: > On 03/05/2023 01:36, Vikram Garhwal wrote: >> diff --git a/xen/include/xen/dt-overlay.h b/xen/include/xen/dt-overlay.h >> new file mode 100644 >> index 00..5b369f8eb7 >> --- /dev/null >> +++ b/xen/include/xen/dt-overlay.h >> @@ -0,0 +1,58 @@ >> +

Re: [XEN][PATCH v6 15/19] xen/arm: Implement device tree node removal functionalities

2023-05-09 Thread Michal Orzel
On 03/05/2023 01:36, Vikram Garhwal wrote: > Introduce sysctl XEN_SYSCTL_dt_overlay to remove device-tree nodes added using > device tree overlay. > > xl dt-overlay remove file.dtbo: > Removes all the nodes in a given dtbo. > First, removes IRQ permissions and MMIO accesses. Next, it fi

Re: [XEN][PATCH v6 15/19] xen/arm: Implement device tree node removal functionalities

2023-05-03 Thread Jan Beulich
On 03.05.2023 01:36, Vikram Garhwal wrote: > Introduce sysctl XEN_SYSCTL_dt_overlay to remove device-tree nodes added using > device tree overlay. > > xl dt-overlay remove file.dtbo: > Removes all the nodes in a given dtbo. > First, removes IRQ permissions and MMIO accesses. Next, it finds

Re: [XEN][PATCH v6 15/19] xen/arm: Implement device tree node removal functionalities

2023-05-03 Thread Jan Beulich
On 03.05.2023 01:36, Vikram Garhwal wrote: > --- a/xen/include/public/sysctl.h > +++ b/xen/include/public/sysctl.h > @@ -1057,6 +1057,24 @@ typedef struct xen_sysctl_cpu_policy > xen_sysctl_cpu_policy_t; > DEFINE_XEN_GUEST_HANDLE(xen_sysctl_cpu_policy_t); > #endif > > +#if defined(__arm__) ||

[XEN][PATCH v6 15/19] xen/arm: Implement device tree node removal functionalities

2023-05-02 Thread Vikram Garhwal
Introduce sysctl XEN_SYSCTL_dt_overlay to remove device-tree nodes added using device tree overlay. xl dt-overlay remove file.dtbo: Removes all the nodes in a given dtbo. First, removes IRQ permissions and MMIO accesses. Next, it finds the nodes in dt_host and delete the device node en