mbox series

[v1,0/2] Common device tree stuff

Message ID cover.1722856894.git.oleksii.kurochko@gmail.com (mailing list archive)
Headers show
Series Common device tree stuff | expand

Message

Oleksii Kurochko Aug. 5, 2024, 11:33 a.m. UTC
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.

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

[2]
https://lore.kernel.org/xen-devel/cover.1721834549.git.oleksii.kurochko@gmail.com/

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                             |    2 +
 xen/arch/arm/Makefile                   |    1 -
 xen/arch/arm/bootfdt.c                  |  622 -------
 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 +
 xen/common/device-tree/bootfdt.c        |  635 +++++++
 xen/common/device-tree/bootinfo.c       |  459 +++++
 xen/common/device-tree/device_tree.c    | 2253 +++++++++++++++++++++++
 xen/common/device_tree.c                | 2253 -----------------------
 xen/include/xen/bootfdt.h               |  209 +++
 13 files changed, 3563 insertions(+), 3515 deletions(-)
 delete mode 100644 xen/arch/arm/bootfdt.c
 create mode 100644 xen/common/device-tree/Makefile
 create mode 100644 xen/common/device-tree/bootfdt.c
 create mode 100644 xen/common/device-tree/bootinfo.c
 create mode 100644 xen/common/device-tree/device_tree.c
 delete mode 100644 xen/common/device_tree.c
 create mode 100644 xen/include/xen/bootfdt.h