Re: [PATCH V3 2/6] csky: Add reg-io-width property for csky pmu

2019-06-03 Thread Guo Ren
Hello Mao, Title Correct: csky: Add reg-io-width property for csky pmu It's not a reg-io-width. I think it's a count-width, isn't it? On Mon, Jun 3, 2019 at 2:47 PM Mao Han wrote: > > csky pmu counter may have different io width. When the counter is smaller Csky pmu counter ..., capitalize the f

[PATCH V3 2/6] csky: Add reg-io-width property for csky pmu

2019-06-02 Thread Mao Han
csky pmu counter may have different io width. When the counter is smaller then 64 bits and counter value is smaller than the old value, it will result to a extremely large delta value. So the sampled value should be extend to 64 bits to avoid this, the extension bits base on the reg-io-width proper