Re: [RFC PATCH v2 03/29] target/ppc: split interrupt masking and delivery from ppc_hw_interrupt

2022-09-30 Thread Fabiano Rosas
Matheus Ferst writes: > Split ppc_hw_interrupt into an interrupt masking method, > ppc_next_unmasked_interrupt, and an interrupt processing method, > ppc_deliver_interrupt. > > @@ -1822,20 +1782,106 @@ static void ppc_hw_interrupt(CPUPPCState *env) > */ > if

[RFC PATCH v2 03/29] target/ppc: split interrupt masking and delivery from ppc_hw_interrupt

2022-09-27 Thread Matheus Ferst
Split ppc_hw_interrupt into an interrupt masking method, ppc_next_unmasked_interrupt, and an interrupt processing method, ppc_deliver_interrupt. Signed-off-by: Matheus Ferst --- v2: - ppc_hw_interrupt renamed as ppc_deliver_interrupt (farosas); - Handle the "Wakeup from PM state but