]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup some error count in 810 & 860.
authorGuo Ren <ren_guo@c-sky.com>
Tue, 4 Jun 2019 10:54:48 +0000 (18:54 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Fri, 19 Jul 2019 06:21:36 +0000 (14:21 +0800)
commit95f05659cc06882361698f0a7458877120945a1b
tree18960f4b2e10efc94a7236f5834ebc8366ed2c74
parentbcc6a67ea944b2dad579c92aaf17956d37c771a1
csky: Fixup some error count in 810 & 860.

CK810 pmu only support event with index 0-8 and 0xd; CK860 only
support event 1~4, 0xa~0x1b. So do not register unsupport event
to hardware cache event, which may leader to unknown behavior.

Signed-off-by: Mao Han <han_mao@c-sky.com>
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
arch/csky/kernel/perf_event.c