Messages in this thread | | | From | "Liang, Kan" <> | Subject | Re: [PATCH] perf/x86/uncore: Add missing filter constraint for SKX CHA event | Date | Mon, 12 Mar 2018 21:49:35 -0400 |
| |
On 3/12/2018 12:39 PM, Peter Zijlstra wrote: > On Mon, Mar 12, 2018 at 08:41:34AM -0700, Kan Liang wrote: >> From: Stephane Eranian <eranian@google.com> >> >> Adding a filter constraint for Intel Skylake CHA event >> UNC_CHA_UPI_CREDITS_ACQUIRED (0x38). >> The event supports core-id/thread-id and link filtering. > > Could you also comment on the other CHA patch? > > https://lkml.kernel.org/r/CS1PR84MB01182561B15688095C4DBF30F6D80@CS1PR84MB0118.NAMPRD84.PROD.OUTLOOK.COM >
Now, there is a recommended way in uncore document to query the number of CHAs by reading bits 27:0 in the CAPID6 register located at Device 30, Function 3, Offset 0x9C. I have implemented a patch and sent it to Gary. It should fix his issue.
Thanks, Kan
| |