[PATCH v2 0/2] Common device tree stuff

Oleksii Kurochko posted 2 patches 3 months, 2 weeks ago
Failed in applying to current master (apply log)
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
[PATCH v2 0/2] Common device tree stuff
Posted by Oleksii Kurochko 3 months, 2 weeks ago
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

-- 
2.45.2
Re: [PATCH v2 0/2] Common device tree stuff
Posted by Julien Grall 3 months, 2 weeks ago
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,

-- 
Julien Grall