Re: [PATCH 4/7] xen/events: remove some simple helpers from events_base.c

2023-11-14 Thread Juergen Gross
On 13.11.23 18:35, Oleksandr Tyshchenko wrote: On 16.10.23 09:28, Juergen Gross wrote: Hello Juergen. The helper functions type_from_irq() and cpu_from_irq() are just one line functions used only internally. Open code them where needed. At the same time modify and rename get_evtchn_to_irq

Re: [PATCH 4/7] xen/events: remove some simple helpers from events_base.c

2023-11-13 Thread Oleksandr Tyshchenko
On 16.10.23 09:28, Juergen Gross wrote: Hello Juergen. > The helper functions type_from_irq() and cpu_from_irq() are just one > line functions used only internally. > > Open code them where needed. At the same time modify and rename > get_evtchn_to_irq() to return a struct irq_info instead o

[PATCH 4/7] xen/events: remove some simple helpers from events_base.c

2023-10-15 Thread Juergen Gross
The helper functions type_from_irq() and cpu_from_irq() are just one line functions used only internally. Open code them where needed. At the same time modify and rename get_evtchn_to_irq() to return a struct irq_info instead of the IRQ number. Signed-off-by: Juergen Gross --- drivers/xen/event