Re: [RFC PATCH v2 28/29] target/ppc: unify cpu->has_work based on cs->interrupt_request

2022-10-03 Thread Fabiano Rosas
Matheus Ferst writes: > Now that cs->interrupt_request indicates if there is any unmasked > interrupt, checking if the CPU has work to do can be simplified to a > single check that works for all CPU models. > > Signed-off-by: Matheus Ferst Reviewed-by: Fabiano Rosas > --- >

[RFC PATCH v2 28/29] target/ppc: unify cpu->has_work based on cs->interrupt_request

2022-09-27 Thread Matheus Ferst
Now that cs->interrupt_request indicates if there is any unmasked interrupt, checking if the CPU has work to do can be simplified to a single check that works for all CPU models. Signed-off-by: Matheus Ferst --- target/ppc/cpu_init.c | 94 +-- 1 file