[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v1 06/18] fdt: make fdt handling reusable across arch


  • To: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Thu, 7 Jul 2022 01:44:31 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=BzKMgzJn6lcDh8AQWns1RMHYti4lDAifTNrK95jdCmc=; b=AHgmC2OzcMcidgT4wQfHxijiz7rnM8GS+kWMFIUfZIf+rrFHfVDNAwT9vOBg3/Sbd4H6RXeRGOB6G+HFU0Czdnochvr2jVA7QyJwiSz6gxiQuuqmBVGnJwCLG0SXLYdxhxqFX4uwsoNYZzqPr2xcJmmNfcyfdDSlYEzjVB7k8jMAxHVRWiwRiS3Q6U6eNlzvEcNVRiCJTRNYjpE49wzHcUSFv6qwACbc38bv1rJnSLLp0zT2tEOWPZ32ON1ypaaTsoFqLpr08kCY1+CKGq/BfgMmjE+6Mq/S5RfYLKqysw01XUiKr0ZKI9sVmUv6rMdD/SVq8njpjmcSfJMe+tRzTw==
  • 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=BzKMgzJn6lcDh8AQWns1RMHYti4lDAifTNrK95jdCmc=; b=eFPvzyoUbCqasYk3QRvwvQO/YdRW8d7jYy4ECm1n0CEW8eLqgcN5ohOkWf2uqVOdJhR8PO5XGFHx8pyN4NkU97zp84U0hjsmA4Hud6DfVTy/HOSVQE6w09B2xCUqjv+4dcEGmwlibWJUtCtVfoFSJNKBVCbMekpRUz64nlXPjUIEEVz7O4UO0mLgLRl4SexqeFkQ17+md/Eb11o4B77cBPv2nEDZjiXNtaczzzGOQ7qG3Ln56F+HfPhqflvnc2uPQNsTgCJfFaDHp3a8VlyOI/MfMEG2jYXA1Kh77cFExYSYbC7LtDPQzbM/ybX4ljOvUuzZ8LQb+9SUSDC5mz7IEg==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=FCE5E7E5GQQ20K+G6fptxCog1Dsq9FzC9+ZMkGeJGF5welKSD0a1TDNCZO4mlFX2geojW3bj/jvpOY2+5Xa13hLLpbvjdB2IucfMuGLhQrgaQXLOiaE8W0OoWnRo8MEdn6GBpXQLdHsZ+v3ZQ1SEDUtFAGYtQqBfGJ3U+LBBwxS35xziVLzuAIkTBb2zysH+cv5NymgKzAM3DIwgZsohspd3L0pNfcSvk5Qrap+kaZdy0NwzYcF0wclxBr2bnHvNwlrV2wQW9RdqFr5w1oENNFlZlC/GM4t35gUaEZcK1k7I9U6mmgDCklXSQAOnbzgXqW739dLk9NbyiwzLzpMc8Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iezwvvoHHyQPk9LxU4ElVQ2okNYkP3KyJH4FdXPRFxqXriR1LWI1bqeKZMbQv5L8LxmwA3cKae3/4sLMSPlp5cKEMGeQEAQeruTfclPwyHIIh4qCOTGTczhfOjYcAn1mALtj4X0Y6VIZL+1+bCEvss1jbZj+57raklB4LkCYNw+/OssMCfmS22rWrSo6UiO6eFVQXun7KBgKtgcfOxKc1O9JcZLhhqatASY6lnJGWWG81THWieLXXs33VRUO040x7jLX8PFUl+sguLnaVwJWA2Pk2C1L1Mw36K35dshCVZMn7POkjTluCHZFNYx5bPMro2EPN6MchCm1zaIVow4mmQ==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "scott.davis@xxxxxxxxxx" <scott.davis@xxxxxxxxxx>, "christopher.clark@xxxxxxxxxx" <christopher.clark@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 07 Jul 2022 01:45:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYkXyfE6AfBDgn4kCb1ygs7X9Eba1yIjhw
  • Thread-topic: [PATCH v1 06/18] fdt: make fdt handling reusable across arch

Hi Daniel,

> -----Original Message-----
> Subject: [PATCH v1 06/18] fdt: make fdt handling reusable across arch
> 
> 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>
> Reviewed-by: Christopher Clark <christopher.clark@xxxxxxxxxx>

Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx>

Kind regards,
Henry

> ---
>  xen/arch/arm/bootfdt.c        | 115 +----------------------------
>  xen/common/Kconfig            |   4 ++
>  xen/common/Makefile           |   3 +-
>  xen/common/fdt.c              | 131 ++++++++++++++++++++++++++++++++++
>  xen/include/xen/device_tree.h |  50 +------------
>  xen/include/xen/fdt.h         |  79 ++++++++++++++++++++




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.