[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN][PATCH v7 15/19] xen/arm: Implement device tree node removal functionalities
- To: Vikram Garhwal <vikram.garhwal@xxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Fri, 2 Jun 2023 11:31:52 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=vmNHSfInRAhrtVgDotdb8NNw9x0eFd8MmApJ0PCFmyk=; b=LgGNtsf98sXwWGir3ztn/9AXXMUEicIjMh0Xm+dO2bOJbV1J3EdjqAMyrhUcHr65VjmbQ+Vx9xCjnT9QkwirzDgy9oRdmjVaaP1G8glZG1lm6TpS99gyCc/irISU/qpkUaunZTKN+1T6BX6OyExOAFyipA6kHb+pK1p/H3lJfRe4pENXOl2Dh5taIai+5Fs0u26epLjDc4IYWEiLRWSEJVrW4DrZlGggXxT7s2YpbJpUkTS0CpMAuSRahlSHGpr3KPV2fHKVBOVEVdHFvm6K2dsMiKmL7S3vGa0WzVMaEu2DmX7s4xqYbpOESiNfQGIIufO7lt9aJ6xwFwmOxSBBZA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hGpGQPhMrZ7IYoPorscP4fLo8ORxD9ORT0VzHo+Op71vapvGESO2MELrMBCEm18stQ149q6xm6fvQdXPwmjeL/D1cLvA1llJeP8wMZfoPdPJe7gxdDx+kOqArELlBMissZoWmAsBkClJvlj5NiIZlLcx9QzwqG/JQk95Q3JNZjih8y9bwtgl2wHIlhVqmE+po+CVHUx4pwSdlMxR6hLA+yG+Nm3B/P/0yfDIH7sb3vJlmOc6TkgYKOJtTypsZJtA/Mgp9fYJTOqydFzSWGKWmlmRJatS6jLn0EMBHsvhfcvZJ4k5HYomxWmZ7Qss1MAdeQVpwpbtStcx/GhXIeXplg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: michal.orzel@xxxxxxx, sstabellini@xxxxxxxxxx, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 02 Jun 2023 09:32:11 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 02.06.2023 02:48, Vikram Garhwal wrote:
> --- a/xen/include/public/sysctl.h
> +++ b/xen/include/public/sysctl.h
> @@ -1057,6 +1057,25 @@ typedef struct xen_sysctl_cpu_policy
> xen_sysctl_cpu_policy_t;
> DEFINE_XEN_GUEST_HANDLE(xen_sysctl_cpu_policy_t);
> #endif
>
> +#if defined(__arm__) || defined (__aarch64__)
> +/*
> + * XEN_SYSCTL_dt_overlay
> + * Performs addition/removal of device tree nodes under parent node using
> dtbo.
> + * This does in three steps:
> + * - Adds/Removes the nodes from dt_host.
> + * - Adds/Removes IRQ permission for the nodes.
> + * - Adds/Removes MMIO accesses.
> + */
> +struct xen_sysctl_dt_overlay {
> + XEN_GUEST_HANDLE_64(void) overlay_fdt; /* IN: overlay fdt. */
If the comment is correct, then const_void please.
Jan
|