Tiezhu Yang a231995700 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>
2020-09-01 13:52:33 +02:00
..
2020-05-07 11:55:47 +02:00
2018-10-31 08:54:16 -07:00
2020-05-22 09:09:01 +02:00
2020-05-07 11:55:47 +02:00
2020-05-22 09:09:01 +02:00
2020-07-27 14:31:08 -04:00
2020-05-22 09:09:01 +02:00
2018-08-31 11:49:20 -07:00
2020-03-31 08:51:45 -07:00
2020-05-15 14:53:19 +02:00
2020-05-22 09:13:32 +02:00
2020-07-26 10:18:35 +02:00
2020-08-06 10:54:07 -07:00
2020-05-07 11:55:47 +02:00