mbox series

[0/3] Early Boot Allocation on Power

Message ID cover.1701384928.git.sanastasio@raptorengineering.com (mailing list archive)
Headers show
Series Early Boot Allocation on Power | expand

Message

Shawn Anastasio Dec. 1, 2023, 7:59 p.m. UTC
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

Comments

Jan Beulich Dec. 4, 2023, 7:58 a.m. UTC | #1
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
>
Shawn Anastasio Dec. 15, 2023, 2:52 a.m. UTC | #2
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