Re: [RFC PATCH 4/4] hw/timer: convert mptimer access to attrs to derive cpu index

2022-09-15 Thread Richard Henderson
On 9/14/22 17:09, Alex Bennée wrote: This removes the hacks to deal with empty current_cpu. Signed-off-by: Alex Bennée --- hw/timer/arm_mptimer.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/hw/timer/arm_mptimer.c b/hw/timer/arm_mptimer.c in

[RFC PATCH 4/4] hw/timer: convert mptimer access to attrs to derive cpu index

2022-09-14 Thread Alex Bennée
This removes the hacks to deal with empty current_cpu. Signed-off-by: Alex Bennée --- hw/timer/arm_mptimer.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/hw/timer/arm_mptimer.c b/hw/timer/arm_mptimer.c index cdfca3000b..a7fe6ddc0d 100644 --- a/h