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

2023-08-10 Thread Jan Beulich
On 09.08.2023 22:54, Shawn Anastasio wrote: > On 8/1/23 8:18 AM, Jan Beulich wrote: >> On 29.07.2023 00:21, Shawn Anastasio wrote: >>> --- /dev/null >>> +++ b/xen/arch/ppc/include/asm/page.h >>> @@ -0,0 +1,178 @@ >>> +#ifndef _ASM_PPC_PAGE_H >>> +#define _ASM_PPC_PAGE_H >>> + >>> +#include >>> + >

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

2023-08-09 Thread Shawn Anastasio
On 8/1/23 8:18 AM, Jan Beulich wrote: > On 29.07.2023 00:21, Shawn Anastasio wrote: >> --- /dev/null >> +++ b/xen/arch/ppc/include/asm/bitops.h >> @@ -0,0 +1,11 @@ >> +#ifndef _ASM_PPC_BITOPS_H >> +#define _ASM_PPC_BITOPS_H >> + >> +#include > > Not a big deal, but ... > >> +/* PPC bit number co

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

2023-08-01 Thread Jan Beulich
On 29.07.2023 00:21, Shawn Anastasio wrote: > --- /dev/null > +++ b/xen/arch/ppc/include/asm/bitops.h > @@ -0,0 +1,11 @@ > +#ifndef _ASM_PPC_BITOPS_H > +#define _ASM_PPC_BITOPS_H > + > +#include Not a big deal, but ... > +/* PPC bit number conversion */ > +#define PPC_BITLSHIFT(be)(BITS_PER_

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

2023-07-28 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 --- xen/arch/ppc/Makefile| 2 + xen/arch/ppc/include/asm/bitops.h| 11 ++ xen/arch/ppc/include/asm/mm.h|