diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2020-08-27 11:03:08 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-09-01 14:52:33 +0300 |
commit | a231995700c392c0807da95deea231b23fc51a3c (patch) | |
tree | 504d4428ab7db712eaf8d141d0ee5c8bc38094e2 /drivers/gpu/drm/omapdrm/omap_crtc.c | |
parent | 91dbd73a1739039fa7e9fe5c0169f2817a7f7670 (diff) | |
download | linux-a231995700c392c0807da95deea231b23fc51a3c.tar.xz |
MIPS: perf: Fix wrong check condition of Loongson event IDs
According to the user's manual chapter 8.2.1 of Loongson 3A2000 CPU [1]
and 3A3000 CPU [2], we should take some event IDs such as 274, 358, 359
and 360 as valid in the check condition, otherwise they are recognized
as "not supported", fix it.
[1] http://www.loongson.cn/uploadfile/cpu/3A2000/Loongson3A2000_user2.pdf
[2] http://www.loongson.cn/uploadfile/cpu/3A3000/Loongson3A3000_3B3000user2.pdf
Fixes: e9dfbaaeef1c ("MIPS: perf: Add hardware perf events support for new Loongson-3")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Huang Pei <huangpei@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
0 files changed, 0 insertions, 0 deletions