Re: [PATCH v3 3/3] xen/ppc: Implement initial Radix MMU support

2023-08-22 Thread Shawn Anastasio
On 8/14/23 8:27 AM, Jan Beulich wrote: > On 10.08.2023 00:48, Shawn Anastasio wrote: >> --- /dev/null >> +++ b/xen/arch/ppc/include/asm/page.h >> @@ -0,0 +1,181 @@ >> +#ifndef _ASM_PPC_PAGE_H >> +#define _ASM_PPC_PAGE_H >> + >> +#include >> + >> +#include >> +#include >> + >> +#define PDE_VALID

Re: [PATCH v3 3/3] xen/ppc: Implement initial Radix MMU support

2023-08-14 Thread Jan Beulich
On 10.08.2023 00:48, Shawn Anastasio wrote: > --- /dev/null > +++ b/xen/arch/ppc/include/asm/page.h > @@ -0,0 +1,181 @@ > +#ifndef _ASM_PPC_PAGE_H > +#define _ASM_PPC_PAGE_H > + > +#include > + > +#include > +#include > + > +#define PDE_VALID PPC_BIT(0) > +#define PDE_NLB_MASK 0xfff

[PATCH v3 3/3] xen/ppc: Implement initial Radix MMU support

2023-08-09 Thread Shawn Anastasio
Add code to construct early identity-mapped page tables as well as the required process and partition tables to enable the MMU. Signed-off-by: Shawn Anastasio --- v3: - Add XEN_PT_SIZE_LVL() macro for calculating the size in bytes of a page directory/page table structure. - Add alignment