Re: [PATCH drivers/perf: hisi: 2/2] drivers/perf: hisi: fix set wrong filter mode for running events issue

From: Jijie Shao
Date: Tue Aug 22 2023 - 22:33:15 EST



on 2023/8/21 20:04, Will Deacon wrote:
- return tc_id != HNS3_PMU_FILTER_ALL_TC;
+ return (tc_id != HNS3_PMU_FILTER_ALL_TC) && (!bdf);
}
Sorry, but I'm struggling to see how this correlates with your example
in the commit message, which implies that it's the config of 0x3 causing
the problem rather than the bdf.

Please can you explain the problem in more detail?

Thanks,

Will


We'll send the v2 patch to add more details.

Jijie Shao