Re: [PATCH v3 3/6] target/riscv: Use existing PMU counter mask in FDT generation

2023-10-15 Thread Alistair Francis
On Fri, Oct 13, 2023 at 9:02 PM Rob Bradford wrote: > > During the FDT generation use the existing mask containing the enabled > counters rather then generating a new one. Using the existing mask will > support the use of discontinuous counters. > > Signed-off-by: Rob Bradford > Reviewed-by: LIU

[PATCH v3 3/6] target/riscv: Use existing PMU counter mask in FDT generation

2023-10-13 Thread Rob Bradford
During the FDT generation use the existing mask containing the enabled counters rather then generating a new one. Using the existing mask will support the use of discontinuous counters. Signed-off-by: Rob Bradford Reviewed-by: LIU Zhiwei --- hw/riscv/virt.c| 2 +- target/riscv/pmu.c | 6 +--