On 24.11.2023 11:30, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/arch/riscv/include/asm/event.h > @@ -0,0 +1,34 @@ > +#ifndef __ASM_RISCV_EVENT_H__ > +#define __ASM_RISCV_EVENT_H__ > + > +void vcpu_mark_events_pending(struct vcpu *v); > + > +static inline int vcpu_event_delivery_is_enabled(struct vcpu *v) > +{ > + return 0; > +} > + > +static inline int local_events_need_delivery(void) > +{ > + return 0; > +} > + > +static inline void local_event_delivery_enable(void) > +{ > +}
These are stubs aiui, and hence would better have BUG() in them? > +/* No arch specific virq definition now. Default to global. */ > +static inline bool arch_virq_is_global(unsigned int virq) > +{ > + return true; > +} This otoh may well remain as is for the foreseeable future. Jan