Skip to content

Common device tree stuff

Oleksii Kurochko xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v10 of 2 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- add Acked-by: Julien Grall <[email protected]> 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:

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/device-tree: Move Arm's setup.c bootinfo functions to commonMAINTAINERS xen/arch/arm/include/asm/setup.h xen/arch/arm/setup.c +5 more+660 -6181 reply
2/2xen/common: Move Arm's bootfdt.c to commonxen/arch/arm/Makefile xen/arch/arm/include/asm/setup.h xen/arch/arm/include/asm/static-shmem.h +3 more+34 -280 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJulien Grall
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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/[email protected]/

[2]
https://lore.kernel.org/xen-devel/[email protected]/
---
Changes in v2:
- add Acked-by: Julien Grall <[email protected]> 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
Signature · 1 line
2.45.2