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
388 lines
No EOL
16 KiB
JSON
388 lines
No EOL
16 KiB
JSON
[
|
|
{
|
|
"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2M/4M/1G).",
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Load misses in all DTLB levels that cause page walks",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page walk (4K page size). The page walk can end with or without a fault.",
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x2",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes (4K).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page walk can end with or without a fault.",
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x4",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes (2M/4M).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page walk (1G page size). The page walk can end with or without a fault.",
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x8",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0xe",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts the number of cycles while PMH is busy with the page walk.",
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x10",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycles when PMH is busy with page walks",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x20",
|
|
"EventName": "DTLB_LOAD_MISSES.STLB_HIT_4K",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Load misses that miss the DTLB and hit the STLB (4K).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x40",
|
|
"EventName": "DTLB_LOAD_MISSES.STLB_HIT_2M",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Load misses that miss the DTLB and hit the STLB (2M).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x08",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x60",
|
|
"EventName": "DTLB_LOAD_MISSES.STLB_HIT",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of any page size (4K/2M/4M/1G).",
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store misses in all DTLB levels that cause page walks",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (4K page size). The page walk can end with or without a fault.",
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x2",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store miss in all TLB levels causes a page walk that completes. (4K)",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page walk can end with or without a fault.",
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x4",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store misses in all DTLB levels that cause completed page walks (2M/4M)",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (1G page size). The page walk can end with or without a fault.",
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x8",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store misses in all DTLB levels that cause completed page walks (1G)",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0xe",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts the number of cycles while PMH is busy with the page walk.",
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x10",
|
|
"Errata": "BDM69",
|
|
"EventName": "DTLB_STORE_MISSES.WALK_DURATION",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Cycles when PMH is busy with page walks",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x20",
|
|
"EventName": "DTLB_STORE_MISSES.STLB_HIT_4K",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store misses that miss the DTLB and hit the STLB (4K).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x40",
|
|
"EventName": "DTLB_STORE_MISSES.STLB_HIT_2M",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store misses that miss the DTLB and hit the STLB (2M).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x49",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x60",
|
|
"EventName": "DTLB_STORE_MISSES.STLB_HIT",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts cycles for an extended page table walk. The Extended Page directory cache differs from standard TLB caches by the operating system that use it. Virtual machine operating systems use the extended page directory cache, while guest operating systems use the standard TLB caches.",
|
|
"EventCode": "0x4F",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x10",
|
|
"EventName": "EPT.WALK_CYCLES",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Cycle count for an Extended Page table walk.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of any page size (4K/2M/4M/1G).",
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"Errata": "BDM69",
|
|
"EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Misses at all ITLB levels that cause page walks",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (4K page size). The page walk can end with or without a fault.",
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x2",
|
|
"Errata": "BDM69",
|
|
"EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page walk can end with or without a fault.",
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x4",
|
|
"Errata": "BDM69",
|
|
"EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (1G page size). The page walk can end with or without a fault.",
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x8",
|
|
"Errata": "BDM69",
|
|
"EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Store miss in all TLB levels causes a page walk that completes. (1G)",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0xe",
|
|
"Errata": "BDM69",
|
|
"EventName": "ITLB_MISSES.WALK_COMPLETED",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts the number of cycles while PMH is busy with the page walk.",
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x10",
|
|
"Errata": "BDM69",
|
|
"EventName": "ITLB_MISSES.WALK_DURATION",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Cycles when PMH is busy with page walks",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x20",
|
|
"EventName": "ITLB_MISSES.STLB_HIT_4K",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Core misses that miss the DTLB and hit the STLB (4K).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x40",
|
|
"EventName": "ITLB_MISSES.STLB_HIT_2M",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Code misses that miss the DTLB and hit the STLB (2M).",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0x85",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x60",
|
|
"EventName": "ITLB_MISSES.STLB_HIT",
|
|
"SampleAfterValue": "100003",
|
|
"BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts the number of flushes of the big or small ITLB pages. Counting include both TLB Flush (covering all sets) and TLB Set Clear (set-specific).",
|
|
"EventCode": "0xAE",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "ITLB.ITLB_FLUSH",
|
|
"SampleAfterValue": "100007",
|
|
"BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"EventCode": "0xBC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x11",
|
|
"Errata": "BDM69, BDM98",
|
|
"EventName": "PAGE_WALKER_LOADS.DTLB_L1",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of DTLB page walker hits in the L1+FB.",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0xBC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x12",
|
|
"Errata": "BDM69, BDM98",
|
|
"EventName": "PAGE_WALKER_LOADS.DTLB_L2",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of DTLB page walker hits in the L2.",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0xBC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x14",
|
|
"Errata": "BDM69, BDM98",
|
|
"EventName": "PAGE_WALKER_LOADS.DTLB_L3",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of DTLB page walker hits in the L3 + XSNP.",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0xBC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x18",
|
|
"Errata": "BDM69, BDM98",
|
|
"EventName": "PAGE_WALKER_LOADS.DTLB_MEMORY",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of DTLB page walker hits in Memory.",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0xBC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x21",
|
|
"Errata": "BDM69, BDM98",
|
|
"EventName": "PAGE_WALKER_LOADS.ITLB_L1",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of ITLB page walker hits in the L1+FB.",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0xBC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x22",
|
|
"Errata": "BDM69, BDM98",
|
|
"EventName": "PAGE_WALKER_LOADS.ITLB_L2",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of ITLB page walker hits in the L2.",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"EventCode": "0xBC",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x24",
|
|
"Errata": "BDM69, BDM98",
|
|
"EventName": "PAGE_WALKER_LOADS.ITLB_L3",
|
|
"SampleAfterValue": "2000003",
|
|
"BriefDescription": "Number of ITLB page walker hits in the L3 + XSNP.",
|
|
"CounterHTOff": "0,1,2,3"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts the number of DTLB flush attempts of the thread-specific entries.",
|
|
"EventCode": "0xBD",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x1",
|
|
"EventName": "TLB_FLUSH.DTLB_THREAD",
|
|
"SampleAfterValue": "100007",
|
|
"BriefDescription": "DTLB flush attempts of the thread-specific entries",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
},
|
|
{
|
|
"PublicDescription": "This event counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, and so on).",
|
|
"EventCode": "0xBD",
|
|
"Counter": "0,1,2,3",
|
|
"UMask": "0x20",
|
|
"EventName": "TLB_FLUSH.STLB_ANY",
|
|
"SampleAfterValue": "100007",
|
|
"BriefDescription": "STLB flush attempts",
|
|
"CounterHTOff": "0,1,2,3,4,5,6,7"
|
|
}
|
|
] |