[PATCH 0/3] Early Boot Allocation on Power

Shawn Anastasio posted 3 patches 4 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1701384928.git.sanastasio@raptorengineering.com
There is a newer version of this series
xen/arch/ppc/Makefile            |   1 +
xen/arch/ppc/bootfdt.c           | 507 +++++++++++++++++++++++++++++++
xen/arch/ppc/include/asm/setup.h | 113 +++++++
xen/arch/ppc/mm-radix.c          | 197 ++++++------
xen/arch/ppc/setup.c             | 109 ++++++-
5 files changed, 823 insertions(+), 104 deletions(-)
create mode 100644 xen/arch/ppc/bootfdt.c
[PATCH 0/3] Early Boot Allocation on Power
Posted by Shawn Anastasio 4 months, 4 weeks ago
Hello all,

This series enables the Xen boot time allocator on Power by parsing
the available memory regions from the firmware-provided device tree.

The device tree processing and bookkeeping code was adapted from Arm,
but it was trimmed down to exclude code for parsing Arm-specific dt
nodes.

Additionally, the final patch of the series updates the radix mmu
code to use the newly-enabled boot allocator for the Partition and
Process tables, instead of statically allocating them like was
previously done. Among other things, switching to run-time allocation
allows us to allocate a full-sized Process Table instead of the
minimal one that was previously used to keep the Xen binary size small.

Thanks,

Shawn Anastasio (3):
  xen/ppc: Enable Boot Allocator
  xen/ppc: mm-radix: Replace debug printing code with printk
  xen/ppc: mm-radix: Allocate Partition and Process Tables at runtime

 xen/arch/ppc/Makefile            |   1 +
 xen/arch/ppc/bootfdt.c           | 507 +++++++++++++++++++++++++++++++
 xen/arch/ppc/include/asm/setup.h | 113 +++++++
 xen/arch/ppc/mm-radix.c          | 197 ++++++------
 xen/arch/ppc/setup.c             | 109 ++++++-
 5 files changed, 823 insertions(+), 104 deletions(-)
 create mode 100644 xen/arch/ppc/bootfdt.c

--
2.30.2
Re: [PATCH 0/3] Early Boot Allocation on Power
Posted by Jan Beulich 4 months, 3 weeks ago
On 01.12.2023 20:59, Shawn Anastasio wrote:
> Hello all,
> 
> This series enables the Xen boot time allocator on Power by parsing
> the available memory regions from the firmware-provided device tree.
> 
> The device tree processing and bookkeeping code was adapted from Arm,
> but it was trimmed down to exclude code for parsing Arm-specific dt
> nodes.
> 
> Additionally, the final patch of the series updates the radix mmu
> code to use the newly-enabled boot allocator for the Partition and
> Process tables, instead of statically allocating them like was
> previously done. Among other things, switching to run-time allocation
> allows us to allocate a full-sized Process Table instead of the
> minimal one that was previously used to keep the Xen binary size small.
> 
> Thanks,
> 
> Shawn Anastasio (3):
>   xen/ppc: Enable Boot Allocator

A standalone patch with this title was sent earlier. What's their
interrelation?

Jan

>   xen/ppc: mm-radix: Replace debug printing code with printk
>   xen/ppc: mm-radix: Allocate Partition and Process Tables at runtime
> 
>  xen/arch/ppc/Makefile            |   1 +
>  xen/arch/ppc/bootfdt.c           | 507 +++++++++++++++++++++++++++++++
>  xen/arch/ppc/include/asm/setup.h | 113 +++++++
>  xen/arch/ppc/mm-radix.c          | 197 ++++++------
>  xen/arch/ppc/setup.c             | 109 ++++++-
>  5 files changed, 823 insertions(+), 104 deletions(-)
>  create mode 100644 xen/arch/ppc/bootfdt.c
> 
> --
> 2.30.2
>
Re: [PATCH 0/3] Early Boot Allocation on Power
Posted by Shawn Anastasio 4 months, 2 weeks ago
Hi Jan,

On 12/4/23 1:58 AM, Jan Beulich wrote:
> A standalone patch with this title was sent earlier. What's their
> interrelation?
> 

I had intended to prefix this patch with 'RESEND' to clarify that it is
the same as the one previously sent, but seem to have forgotten. My
apologies! In any case, this patch will be superseded in v2 of the
series.

> Jan
>

Thanks,
Shawn