lkml.org 
[lkml]   [2018]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] perf/x86/uncore: Add missing filter constraint for SKX CHA event
Date


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

\
 
 \ /
  Last update: 2018-03-13 02:50    [W:0.152 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site