Re: [PATCH] MIPS: perf: Fix wrong check condition of Loongson event IDs

2020-09-03 Thread Thomas Bogendoerfer
On Thu, Aug 27, 2020 at 04:03:08PM +0800, Tiezhu Yang wrote: > 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

Re: [PATCH] MIPS: perf: Fix wrong check condition of Loongson event IDs

2020-09-01 Thread Huang Pei
On Fri, Aug 28, 2020 at 04:49:37PM +0800, Huacai Chen wrote: > Hi, Pei, > > On Thu, Aug 27, 2020 at 4:05 PM Tiezhu Yang wrote: > > > > 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

Re: [PATCH] MIPS: perf: Fix wrong check condition of Loongson event IDs

2020-08-28 Thread Huacai Chen
Hi, Pei, On Thu, Aug 27, 2020 at 4:05 PM Tiezhu Yang wrote: > > 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

[PATCH] MIPS: perf: Fix wrong check condition of Loongson event IDs

2020-08-27 Thread Tiezhu Yang
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]