Re: [PATCH v1 07/14] xen/riscv: Introduce intc_hw_operations abstraction

2025-04-10 Thread Jan Beulich
On 08.04.2025 17:57, Oleksii Kurochko wrote: > --- a/xen/arch/riscv/include/asm/intc.h > +++ b/xen/arch/riscv/include/asm/intc.h > @@ -17,6 +17,29 @@ struct intc_info { > const struct dt_device_node *node; > }; > > +struct intc_hw_operations { > +/* Hold intc hw information */ > +co

[PATCH v1 07/14] xen/riscv: Introduce intc_hw_operations abstraction

2025-04-08 Thread Oleksii Kurochko
Introduce the `intc_hw_operations` structure to encapsulate interrupt controller-specific data and operations. This structure includes: - A pointer to interrupt controller information (`intc_info`) - Callbacks to initialize the controller and set IRQ type/priority - A reference to an interupt contr