Re: [XEN][RFC PATCH v2 08/12] xen/arm: Implement device tree node removal functionalities

2021-12-23 Thread Stefano Stabellini
On Wed, 22 Dec 2021, Julien Grall wrote: > Hi, > > On 09/11/2021 08:02, Vikram Garhwal wrote: > > Introduce sysctl XEN_SYSCTL_overlay to remove device-tree nodes added using > > I agree with Jan about the name being too generic. I will comment on this a > bit further down. > > > device tree over

Re: [XEN][RFC PATCH v2 08/12] xen/arm: Implement device tree node removal functionalities

2021-12-22 Thread Julien Grall
Hi, On 09/11/2021 08:02, Vikram Garhwal wrote: Introduce sysctl XEN_SYSCTL_overlay to remove device-tree nodes added using I agree with Jan about the name being too generic. I will comment on this a bit further down. device tree overlay. xl overlay remove file.dtbo: Removes all the n

Re: [XEN][RFC PATCH v2 08/12] xen/arm: Implement device tree node removal functionalities

2021-11-09 Thread Jan Beulich
On 09.11.2021 08:02, Vikram Garhwal wrote: > Introduce sysctl XEN_SYSCTL_overlay to remove device-tree nodes added using > device tree overlay. XEN_SYSCTL_overlay is too generic a name imo. > @@ -476,6 +781,73 @@ long do_sysctl(XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) > u_sysctl) > copy

[XEN][RFC PATCH v2 08/12] xen/arm: Implement device tree node removal functionalities

2021-11-08 Thread Vikram Garhwal
Introduce sysctl XEN_SYSCTL_overlay to remove device-tree nodes added using device tree overlay. xl 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 entries