16c00db4bb
Pull AFS fixes from David Howells: "Here's a set of patches that fix a number of bugs in the in-kernel AFS client, including: - Fix directory locking to not use individual page locks for directory reading/scanning but rather to use a semaphore on the afs_vnode struct as the directory contents must be read in a single blob and data from different reads must not be mixed as the entire contents may be shuffled about between reads. - Fix address list parsing to handle port specifiers correctly. - Only give up callback records on a server if we actually talked to that server (we might not be able to access a server). - Fix some callback handling bugs, including refcounting, whole-volume callbacks and when callbacks actually get broken in response to a CB.CallBack op. - Fix some server/address rotation bugs, including giving up if we can't probe a server; giving up if a server says it doesn't have a volume, but there are more servers to try. - Fix the decoding of fetched statuses to be OpenAFS compatible. - Fix the handling of server lookups in Cache Manager ops (such as CB.InitCallBackState3) to use a UUID if possible and to handle no server being found. - Fix a bug in server lookup where not all addresses are compared. - Fix the non-encryption of calls that prevents some servers from being accessed (this also requires an AF_RXRPC patch that has already gone in through the net tree). There's also a patch that adds tracepoints to log Cache Manager ops that don't find a matching server, either by UUID or by address" * tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs: afs: Fix the non-encryption of calls afs: Fix CB.CallBack handling afs: Fix whole-volume callback handling afs: Fix afs_find_server search loop afs: Fix the handling of an unfound server in CM operations afs: Add a tracepoint to record callbacks from unlisted servers afs: Fix the handling of CB.InitCallBackState3 to find the server by UUID afs: Fix VNOVOL handling in address rotation afs: Fix AFSFetchStatus decoder to provide OpenAFS compatibility afs: Fix server rotation's handling of fileserver probe failure afs: Fix refcounting in callback registration afs: Fix giving up callbacks on server destruction afs: Fix address list parsing afs: Fix directory page locking
305 lines
No EOL
13 KiB
JSON
305 lines
No EOL
13 KiB
JSON
[
|
|
{
|
|
"PublicDescription": "Counts cycles the IDQ is empty.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x2",
|
|
"EventName": "IDQ.EMPTY",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Instruction Decode Queue (IDQ) empty cycles",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"PublicDescription": "Increment each cycle # of uops delivered to IDQ from MITE path. Set Cmask = 1 to count cycles.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x4",
|
|
"EventName": "IDQ.MITE_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x4",
|
|
"EventName": "IDQ.MITE_CYCLES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Increment each cycle. # of uops delivered to IDQ from DSB path. Set Cmask = 1 to count cycles.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x8",
|
|
"EventName": "IDQ.DSB_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x8",
|
|
"EventName": "IDQ.DSB_CYCLES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by DSB. Set Cmask = 1 to count cycles. Add Edge=1 to count # of delivery.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x10",
|
|
"EventName": "IDQ.MS_DSB_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x10",
|
|
"EventName": "IDQ.MS_DSB_CYCLES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequenser (MS) is busy.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x10",
|
|
"EdgeDetect": "1",
|
|
"EventName": "IDQ.MS_DSB_OCCUR",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequenser (MS) is busy",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Counts cycles DSB is delivered four uops. Set Cmask = 4.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x18",
|
|
"EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
|
|
"CounterMask": "4",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Counts cycles DSB is delivered at least one uops. Set Cmask = 1.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x18",
|
|
"EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by MITE. Set Cmask = 1 to count cycles.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x20",
|
|
"EventName": "IDQ.MS_MITE_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Counts cycles MITE is delivered four uops. Set Cmask = 4.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x24",
|
|
"EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles MITE is delivering 4 Uops",
|
|
"CounterMask": "4",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Counts cycles MITE is delivered at least one uops. Set Cmask = 1.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x24",
|
|
"EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles MITE is delivering any Uop",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Increment each cycle # of uops delivered to IDQ from MS by either DSB or MITE. Set Cmask = 1 to count cycles.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x30",
|
|
"EventName": "IDQ.MS_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x30",
|
|
"EventName": "IDQ.MS_CYCLES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x30",
|
|
"EdgeDetect": "1",
|
|
"EventName": "IDQ.MS_SWITCHES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Number of uops delivered to IDQ from any path.",
|
|
"EventCode": "0x79",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x3c",
|
|
"EventName": "IDQ.MITE_ALL_UOPS",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches.",
|
|
"EventCode": "0x80",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "ICACHE.HIT",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes UC accesses.",
|
|
"EventCode": "0x80",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x2",
|
|
"EventName": "ICACHE.MISSES",
|
|
"SampleAfterValue": "200003",
|
|
"BriefDescription": "Instruction cache, streaming buffer and victim cache misses",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Cycles where a code-fetch stalled due to L1 instruction-cache miss or an iTLB miss.",
|
|
"EventCode": "0x80",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x4",
|
|
"EventName": "ICACHE.IFETCH_STALL",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles where a code-fetch stalled due to L1 instruction-cache miss or an iTLB miss",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Count issue pipeline slots where no uop was delivered from the front end to the back end when there is no back-end stall.",
|
|
"EventCode": "0x9C",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0x9C",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles per thread when 4 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.",
|
|
"CounterMask": "4",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0x9C",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles per thread when 3 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.",
|
|
"CounterMask": "3",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0x9C",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
|
|
"CounterMask": "2",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0x9C",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0x9C",
|
|
"Invert": "1",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
|
|
"CounterMask": "1",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"PublicDescription": "Number of DSB to MITE switches.",
|
|
"EventCode": "0xAB",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "DSB2MITE_SWITCHES.COUNT",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "Cycles DSB to MITE switches caused delay.",
|
|
"EventCode": "0xAB",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x2",
|
|
"EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "DSB Fill encountered > 3 DSB lines.",
|
|
"EventCode": "0xAC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x8",
|
|
"EventName": "DSB_FILL.EXCEED_DSB_LINES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles when Decode Stream Buffer (DSB) fill encounter more than 3 Decode Stream Buffer (DSB) lines",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
}
|
|
] |