Re: [PATCH v4 1/6] target/riscv: Propagate error from PMU setup

2023-10-23 Thread Atish Kumar Patra
On Wed, Oct 18, 2023 at 8:44 AM Rob Bradford wrote: > > More closely follow the QEMU style by returning an Error and propagating > it there is an error relating to the PMU setup. > > Further simplify the function by removing the num_counters parameter as > this is available from the passed in cpu

[PATCH v4 1/6] target/riscv: Propagate error from PMU setup

2023-10-18 Thread Rob Bradford
More closely follow the QEMU style by returning an Error and propagating it there is an error relating to the PMU setup. Further simplify the function by removing the num_counters parameter as this is available from the passed in cpu pointer. Signed-off-by: Rob Bradford Reviewed-by: Alistair