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

[PATCH v2 0/2] Common device tree stuff



The current patch series introduces the common device tree functions
between several architectures: Arm, PPC, RISC-V.

Originally these patches were a part of Shawn's patch series [1].
At that moment it was v4 version of this patches.

After RISC-V started to need this changes these patches have been
rebased on top of the current staging with addional updates after
rebase.
For some time, these patches from v5 to v7 version were the part of
the patch series [2] but not to block almost ready patches for merging
it was decided to move them to separate patch series.

CI tests results:
 https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/1402476423

[1]
https://lore.kernel.org/xen-devel/cover.1712893887.git.sanastasio@xxxxxxxxxxxxxxxxxxxxx/

[2]
https://lore.kernel.org/xen-devel/cover.1721834549.git.oleksii.kurochko@xxxxxxxxx/
---
Changes in v2:
 - add Acked-by: Julien Grall <julien@xxxxxxx> for Patch 2
 - rename xen/common/device_tree.c to xen/common/device-tree.c
 - update MAINTAINERS file: drop xen/common/device_tree.c from it.
 - make diff smaller using git's options:
      --diff-algorithm=minimal --find-renames
---

Shawn Anastasio (2):
  xen/device-tree: Move Arm's setup.c bootinfo functions to common
  xen/common: Move Arm's bootfdt.c to common

 MAINTAINERS                                   |   3 +-
 xen/arch/arm/Makefile                         |   1 -
 xen/arch/arm/include/asm/setup.h              | 198 +-------
 xen/arch/arm/include/asm/static-shmem.h       |   9 -
 xen/arch/arm/setup.c                          | 432 -----------------
 xen/common/Makefile                           |   2 +-
 xen/common/device-tree/Makefile               |   3 +
 .../arm => common/device-tree}/bootfdt.c      |  24 +-
 xen/common/device-tree/bootinfo.c             | 459 ++++++++++++++++++
 .../device-tree.c}                            |   0
 xen/include/xen/bootfdt.h                     | 209 ++++++++
 11 files changed, 694 insertions(+), 646 deletions(-)
 create mode 100644 xen/common/device-tree/Makefile
 rename xen/{arch/arm => common/device-tree}/bootfdt.c (98%)
 create mode 100644 xen/common/device-tree/bootinfo.c
 rename xen/common/{device_tree.c => device-tree/device-tree.c} (100%)
 create mode 100644 xen/include/xen/bootfdt.h

-- 
2.45.2




 


Rackspace

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