Re: [RFC PATCH] target/arm/arm-powerctl: Restrict to ARM cores

2025-01-06 Thread Peter Maydell
On Mon, 6 Jan 2025 at 18:23, Philippe Mathieu-Daudé wrote: > > When running on a heterogeneous setup, the CPU_FOREACH() > macro in arm_get_cpu_by_id() iterates on all vCPUs, > regardless they are ARM or not. Check the CPU class type > and skip the non-ARM instances. > > Signed-off-by: Philippe Mat

Re: [RFC PATCH] target/arm/arm-powerctl: Restrict to ARM cores

2025-01-06 Thread Daniel Henrique Barboza
On 1/6/25 3:23 PM, Philippe Mathieu-Daudé wrote: When running on a heterogeneous setup, the CPU_FOREACH() macro in arm_get_cpu_by_id() iterates on all vCPUs, regardless they are ARM or not. Check the CPU class type and skip the non-ARM instances. Signed-off-by: Philippe Mathieu-Daudé --- R

[RFC PATCH] target/arm/arm-powerctl: Restrict to ARM cores

2025-01-06 Thread Philippe Mathieu-Daudé
When running on a heterogeneous setup, the CPU_FOREACH() macro in arm_get_cpu_by_id() iterates on all vCPUs, regardless they are ARM or not. Check the CPU class type and skip the non-ARM instances. Signed-off-by: Philippe Mathieu-Daudé --- target/arm/arm-powerctl.c | 6 -- 1 file changed, 4