Re: [PATCH 13/15] hw/timer/arm_timer: Fix misuse of SysBus IRQ in IcpPitState

2023-07-04 Thread Philippe Mathieu-Daudé
On 8/6/23 17:09, Peter Maydell wrote: On Wed, 31 May 2023 at 21:37, Philippe Mathieu-Daudé wrote: SysBus IRQ are *output* IRQs. As some sort of simplification to avoid to forward it, IcpPitState misuses it as ARM timer input IRQ. Fix that by using a simple IRQ forwarder handler. Signed-off-by

Re: [PATCH 13/15] hw/timer/arm_timer: Fix misuse of SysBus IRQ in IcpPitState

2023-06-08 Thread Peter Maydell
On Wed, 31 May 2023 at 21:37, Philippe Mathieu-Daudé wrote: > > SysBus IRQ are *output* IRQs. As some sort of simplification > to avoid to forward it, IcpPitState misuses it as ARM timer > input IRQ. Fix that by using a simple IRQ forwarder handler. > > Signed-off-by: Philippe Mathieu-Daudé > ---

[PATCH 13/15] hw/timer/arm_timer: Fix misuse of SysBus IRQ in IcpPitState

2023-05-31 Thread Philippe Mathieu-Daudé
SysBus IRQ are *output* IRQs. As some sort of simplification to avoid to forward it, IcpPitState misuses it as ARM timer input IRQ. Fix that by using a simple IRQ forwarder handler. Signed-off-by: Philippe Mathieu-Daudé --- hw/timer/arm_timer.c | 15 ++- 1 file changed, 14 insertions