Re: [PATCH v2 25/39] xen/riscv: introduce asm/p2m.h

2023-12-18 Thread Oleksii
On Thu, 2023-12-14 at 15:19 +0100, Jan Beulich wrote: > On 24.11.2023 11:30, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/arch/riscv/include/asm/p2m.h > > @@ -0,0 +1,105 @@ > > +#ifndef __ASM_RISCV_P2M_H__ > > +#define __ASM_RISCV_P2M_H__ > > + > > +#include > > + > > +#define paddr_bit

Re: [PATCH v2 25/39] xen/riscv: introduce asm/p2m.h

2023-12-14 Thread Jan Beulich
On 24.11.2023 11:30, Oleksii Kurochko wrote: > +static inline int guest_physmap_mark_populate_on_demand(struct domain *d, > unsigned long gfn, > +unsigned int order) > +{ > +BUG(); > +return 1; > +} This one I actually don't think ne

Re: [PATCH v2 25/39] xen/riscv: introduce asm/p2m.h

2023-12-14 Thread Jan Beulich
On 24.11.2023 11:30, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/arch/riscv/include/asm/p2m.h > @@ -0,0 +1,105 @@ > +#ifndef __ASM_RISCV_P2M_H__ > +#define __ASM_RISCV_P2M_H__ > + > +#include > + > +#define paddr_bits PADDR_BITS > + > +/* > + * List of possible type for each page in the p2

[PATCH v2 25/39] xen/riscv: introduce asm/p2m.h

2023-11-24 Thread Oleksii Kurochko
Signed-off-by: Oleksii Kurochko --- Changes in V2: - Nothing changed. Only rebase. --- xen/arch/riscv/include/asm/p2m.h | 105 +++ 1 file changed, 105 insertions(+) create mode 100644 xen/arch/riscv/include/asm/p2m.h diff --git a/xen/arch/riscv/include/asm/p2m.h b/x