[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] fdt: make fdt handling reusable across arch
- To: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 2 Aug 2023 09:27:07 +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=5pRboXmPxAwZ6LRmPy3jmICi5TEhvx+Bu2Lh7GmNhJs=; b=dq7hDxBgh+B85l3t3GtP332ayiZdUp8OoU2Tfb3jLRle1f8dg54FTZmdpMV8G+gGJ+mKU37ZbZ3yqbdVdkLjV7wktOEdcE1jSCWqcTGnhgqz9BFSZozJoAXe0Mwq372yNzy0gzdJ72EJsyb/peFRkKLm5Y9G7QDKTwpku7ZbZKDlmmnI1CyBhcL1o/dumOzZ5mXiKws5oCGOVZ1z1mxbAo+mj5shyCHpFhBom7WxDwVQe6UHvMra9s0OcbXeWzoc7qME4g4FpUwgrRRA98DkQ+O2pXHJL55yMWL7XVBsnMMOU1fwUTtWXhFAj37MVFRWqFDAHEGcVohHAM/0DcMgog==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LLJ1bccHBmM8NFJvdgXz9YumDHKh1xh76rscYl8UkkX1Sa/KXtfteUA5P1I0hOt0tu8SW0arXi3Pe4wZ8tLhsI4LI1JtCzZPUfNnnau7pLMlxjyc2bwshmQ92OVsdoG8HPddg8P4uiNm70snzjfZFyowbU4Fuz33BaBBhtP5ZFusIo+U2jo/F13w0C/2Jf1cHnemYM7O7ozPU9TsCvd9hIBajAc2jCO/BvrQpzXJfCdQFteGhFKWXEerQ9pnoO5KYt9PGKyqsz1jGD8Q4GuL/VnKFB24kt1crLx9i2pcwTTvjIr/V/q07gL/FE/mlAGCkav0vhUr50kPz7QMsogJsQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 02 Aug 2023 07:27:47 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 01.08.2023 18:14, Daniel P. Smith wrote:
> This refactors reusable code from Arm's bootfdt.c and device-tree.h that is
> general fdt handling code. The Kconfig parameter CORE_DEVICE_TREE is
> introduced for when the ability of parsing DTB files is needed by a capability
> such as hyperlaunch.
>
> Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
> ---
> MAINTAINERS | 2 +
> xen/arch/arm/bootfdt.c | 141 +------------------------------
> xen/common/Kconfig | 4 +
> xen/common/Makefile | 3 +-
> xen/common/fdt.c | 153 ++++++++++++++++++++++++++++++++++
> xen/include/xen/device_tree.h | 50 +----------
> xen/include/xen/fdt.h | 79 ++++++++++++++++++
> 7 files changed, 242 insertions(+), 190 deletions(-)
> create mode 100644 xen/common/fdt.c
> create mode 100644 xen/include/xen/fdt.h
The filename here ...
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -303,7 +303,9 @@ F: xen/common/libfdt/
> F: xen/common/device_tree.c
> F: xen/include/xen/libfdt/
> F: xen/include/xen/device_tree.h
> +F: include/xen/fdt.h
> F: xen/drivers/passthrough/device_tree.c
> +F: common/fdt.c
... don't match the additions here. Also please insert in alphabetically
sorted order, ignoring the previously misplaced final entry (entries),
unless you want to take the opportunity and get things properly sorted
again in this section.
Jan
|