commit | ccffa1ad15be95b11dab128e1a59270057322934 | [log] [tgz] |
---|---|---|
author | Mao Han <han_mao@c-sky.com> | Tue Jun 04 18:54:45 2019 +0800 |
committer | Guo Ren <ren_guo@c-sky.com> | Fri Jul 19 14:21:36 2019 +0800 |
tree | 68d9fbe5da4304f490a1e3cb5dbf0381c4a5b9b3 | |
parent | f132076c8ff9ec1603c7079c3ce3b2cce8b72a89 [diff] |
csky: Add count-width property for csky pmu The 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 count-width property from dts. Signed-off-by: Mao Han <han_mao@c-sky.com> Signed-off-by: Guo Ren <guoren@kernel.org>