On 08.04.2025 17:57, Oleksii Kurochko wrote: > --- a/xen/arch/riscv/setup.c > +++ b/xen/arch/riscv/setup.c > @@ -4,11 +4,16 @@ > #include <xen/bug.h> > #include <xen/bootfdt.h> > #include <xen/compile.h> > +#include <xen/console.h> > #include <xen/device_tree.h> > #include <xen/init.h> > #include <xen/irq.h> > +#include <xen/keyhandler.h>
Why's this one needed? > #include <xen/mm.h> > +#include <xen/percpu.h> > +#include <xen/serial.h> > #include <xen/shutdown.h> > +#include <xen/timer.h> > #include <xen/vmap.h> > #include <xen/xvmalloc.h> > > @@ -73,6 +78,8 @@ void __init noreturn start_xen(unsigned long bootcpu_id, > > remove_identity_mapping(); > > + percpu_init_areas(); I'll trust you that it's needed now, but the addition looks unrelated here, and also isn't mentioned as intentional in the description. > --- a/xen/drivers/char/Kconfig > +++ b/xen/drivers/char/Kconfig > @@ -3,7 +3,6 @@ config GENERIC_UART_INIT > > config HAS_NS16550 > bool "NS16550 UART driver" if ARM > - default n if RISCV > default y Just to double-check: Unlike Arm you don't want this to be user-(un)selectable on RISC-V? Jan