mbox series

[v2,0/2] Common device tree stuff

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

Message

Oleksii Kurochko Aug. 6, 2024, 11:41 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.

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

[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/
---
Changes in v2:
 - add Acked-by: Julien Grall <julien@xen.org> 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

Comments

Julien Grall Aug. 6, 2024, 6:40 p.m. UTC | #1
Hi,

On 06/08/2024 12:41, Oleksii Kurochko wrote:
> 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@raptorengineering.com/
> 
> [2]
> https://lore.kernel.org/xen-devel/cover.1721834549.git.oleksii.kurochko@gmail.com/
> ---
> Changes in v2:
>   - add Acked-by: Julien Grall <julien@xen.org> 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

I have committed the series.

Cheers,