[PATCH v12 6/8] xen/riscv: add minimal amount of stubs to build full Xen

2024-05-29 Thread Oleksii Kurochko
Signed-off-by: Oleksii Kurochko Acked-by: Jan Beulich --- Changes in V7-V12: - Only rebase was done. --- Changes in V6: - update the commit in stubs.c around /* ... common/irq.c ... */ - add Acked-by: Jan Beulich --- Changes in V5: - drop unrelated changes - assert_failed("unimplmented...")

Re: [PATCH v12 6/8] xen/riscv: add minimal amount of stubs to build full Xen

2024-05-30 Thread Andrew Cooper
On 29/05/2024 8:55 pm, Oleksii Kurochko wrote: > diff --git a/xen/arch/riscv/stubs.c b/xen/arch/riscv/stubs.c > new file mode 100644 > index 00..8285bcffef > --- /dev/null > +++ b/xen/arch/riscv/stubs.c > @@ -0,0 +1,439 @@ > > +void udelay(unsigned long usecs) > +{ > +BUG_ON("unimpleme

Re: [PATCH v12 6/8] xen/riscv: add minimal amount of stubs to build full Xen

2024-05-30 Thread Andrew Cooper
On 29/05/2024 8:55 pm, Oleksii Kurochko wrote: > diff --git a/xen/arch/riscv/mm.c b/xen/arch/riscv/mm.c > index fe3a43be20..2c3fb7d72e 100644 > --- a/xen/arch/riscv/mm.c > +++ b/xen/arch/riscv/mm.c > @@ -1,5 +1,6 @@ > /* SPDX-License-Identifier: GPL-2.0-only */ > > +#include > #include > #in