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)
commite7534198abd6af7091a40d79cbb365a80ba9f82d
tree18960f4b2e10efc94a7236f5834ebc8366ed2c74
parentd41435d9b2b3f8fb58dc1258220401ad16aa8a19
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