Revision ccffa1ad15be95b11dab128e1a59270057322934 authored by Mao Han on 04 June 2019, 10:54:45 UTC, committed by Guo Ren on 19 July 2019, 06:21:36 UTC
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>
1 parent f132076
Computing file changes ...