Re: [PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-15 Thread Alistair Francis
On Wed, Oct 11, 2023 at 7:51 PM Rob Bradford wrote: > > On Mon, 2023-10-09 at 11:00 -0700, Atish Kumar Patra wrote: > > On Sun, Oct 8, 2023 at 5:58 PM Alistair Francis > > wrote: > > > > > > On Wed, Oct 4, 2023 at 7:36 PM Rob Bradford > > > wrote: > > > > > > > > Hi Atish, > > > > > > > > On

Re: [PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-11 Thread Rob Bradford
On Mon, 2023-10-09 at 11:00 -0700, Atish Kumar Patra wrote: > On Sun, Oct 8, 2023 at 5:58 PM Alistair Francis > wrote: > > > > On Wed, Oct 4, 2023 at 7:36 PM Rob Bradford > > wrote: > > > > > > Hi Atish, > > > > > > On Tue, 2023-10-03 at 13:25 -0700, Atish Kumar Patra wrote: > > > > On Tue,

Re: [PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-10 Thread Alistair Francis
On Tue, Oct 10, 2023 at 4:00 AM Atish Kumar Patra wrote: > > On Sun, Oct 8, 2023 at 5:58 PM Alistair Francis wrote: > > > > On Wed, Oct 4, 2023 at 7:36 PM Rob Bradford wrote: > > > > > > Hi Atish, > > > > > > On Tue, 2023-10-03 at 13:25 -0700, Atish Kumar Patra wrote: > > > > On Tue, Oct 3,

Re: [PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-09 Thread Atish Kumar Patra
On Sun, Oct 8, 2023 at 5:58 PM Alistair Francis wrote: > > On Wed, Oct 4, 2023 at 7:36 PM Rob Bradford wrote: > > > > Hi Atish, > > > > On Tue, 2023-10-03 at 13:25 -0700, Atish Kumar Patra wrote: > > > On Tue, Oct 3, 2023 at 5:51 AM Rob Bradford > > > wrote: > > > > > > > > There is no

Re: [PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-08 Thread Alistair Francis
On Wed, Oct 4, 2023 at 7:36 PM Rob Bradford wrote: > > Hi Atish, > > On Tue, 2023-10-03 at 13:25 -0700, Atish Kumar Patra wrote: > > On Tue, Oct 3, 2023 at 5:51 AM Rob Bradford > > wrote: > > > > > > There is no requirement that the enabled counters in the platform > > > are > > > continuously

Re: [PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-04 Thread Rob Bradford
Hi Atish, On Tue, 2023-10-03 at 13:25 -0700, Atish Kumar Patra wrote: > On Tue, Oct 3, 2023 at 5:51 AM Rob Bradford > wrote: > > > > There is no requirement that the enabled counters in the platform > > are > > continuously numbered. Add a "pmu-mask" property that, if > > specified, can > > be

Re: [PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-03 Thread Atish Kumar Patra
On Tue, Oct 3, 2023 at 5:51 AM Rob Bradford wrote: > > There is no requirement that the enabled counters in the platform are > continuously numbered. Add a "pmu-mask" property that, if specified, can > be used to specify the enabled PMUs. In order to avoid ambiguity if > "pmu-mask" is specified

[PATCH 2/3] target/riscv: Support discontinuous PMU counters

2023-10-03 Thread Rob Bradford
There is no requirement that the enabled counters in the platform are continuously numbered. Add a "pmu-mask" property that, if specified, can be used to specify the enabled PMUs. In order to avoid ambiguity if "pmu-mask" is specified then "pmu-num" must also match the number of bits set in the