Re: [PATCH v2 4/5] target/arm: Always add pmu property

2024-07-16 Thread Peter Maydell
On Tue, 16 Jul 2024 at 12:36, Akihiko Odaki wrote: > > On 2024/07/16 20:32, Peter Maydell wrote: > > On Tue, 16 Jul 2024 at 09:28, Akihiko Odaki > > wrote: > > Before we do this we need to do something to forbid setting > > the pmu property to true on CPUs which don't have it. That is: > > > >

Re: [PATCH v2 4/5] target/arm: Always add pmu property

2024-07-16 Thread Akihiko Odaki
On 2024/07/16 20:32, Peter Maydell wrote: On Tue, 16 Jul 2024 at 09:28, Akihiko Odaki wrote: kvm-steal-time and sve properties are added for KVM even if the corresponding features are not available. Always add pmu property too. Signed-off-by: Akihiko Odaki --- target/arm/cpu.c | 3 ++- 1

Re: [PATCH v2 4/5] target/arm: Always add pmu property

2024-07-16 Thread Peter Maydell
On Tue, 16 Jul 2024 at 09:28, Akihiko Odaki wrote: > > kvm-steal-time and sve properties are added for KVM even if the > corresponding features are not available. Always add pmu property too. > > Signed-off-by: Akihiko Odaki > --- > target/arm/cpu.c | 3 ++- > 1 file changed, 2 insertions(+), 1

Re: [PATCH v2 4/5] target/arm: Always add pmu property

2024-07-16 Thread Philippe Mathieu-Daudé
On 16/7/24 10:28, Akihiko Odaki wrote: kvm-steal-time and sve properties are added for KVM even if the corresponding features are not available. Always add pmu property too. Signed-off-by: Akihiko Odaki --- target/arm/cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-b

[PATCH v2 4/5] target/arm: Always add pmu property

2024-07-16 Thread Akihiko Odaki
kvm-steal-time and sve properties are added for KVM even if the corresponding features are not available. Always add pmu property too. Signed-off-by: Akihiko Odaki --- target/arm/cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/arm/cpu.c b/target/arm/cpu.c index