Re: [PATCH v3 4/6] target/riscv: Add "pmu-mask" property to replace "pmu-num"

2023-10-15 Thread Alistair Francis
On Fri, Oct 13, 2023 at 11:32 PM Rob Bradford wrote: > > Using a mask instead of the number of PMU devices supports the accurate > emulation of platforms that have a discontinuous set of PMU counters. > > Generate a warning if the old property changed from the default but > still go ahead and use

[PATCH v3 4/6] target/riscv: Add "pmu-mask" property to replace "pmu-num"

2023-10-13 Thread Rob Bradford
Using a mask instead of the number of PMU devices supports the accurate emulation of platforms that have a discontinuous set of PMU counters. Generate a warning if the old property changed from the default but still go ahead and use it to generate the mask if the user has changed it from the