/linux-6.15/tools/memory-model/Documentation/ |
D | control-dependencies.txt | 12 Therefore, a load-load control dependency will not preserve ordering 32 (usually) guaranteed for load-store control dependencies, as in the 43 the compiler might fuse the store to "b" with other stores. Worse yet, 44 the compiler might convert the store into a load and a check followed 45 by a store, and this compiler-generated load would not be ordered by 49 "a" is always non-zero, it would be well within its rights to optimize 80 /* WRITE_ONCE(b, 1); -- moved up, BUG!!! */ 83 /* WRITE_ONCE(b, 1); -- moved up, BUG!!! */ 87 Now there is no conditional between the load from "a" and the store to 89 conditional is absolutely required, and must be present in the final [all …]
|
D | ordering.txt | 1 This document gives an overview of the categories of memory-ordering 2 operations provided by the Linux-kernel memory model (LKMM). 8 This section lists LKMM's three top-level categories of memory-ordering 38 b. Read-modify-write (RMW) ordering augmentation barriers. 56 -------------------- 58 The Linux-kernel primitives that provide full ordering include: 62 o Value-returning RMW atomic operations whose names do not end in 65 o RCU's grace-period primitives. 74 smp_mb(); // Order store to x before load from y. 77 All CPUs will agree that the store to "x" happened before the load [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/goldmontplus/ |
D | pipeline.json | 52 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 57 …"PublicDescription": "Counts retired Jcc (Jump on Conditional Code/Jump if Condition is Met) branc… 92 …"BriefDescription": "Retired conditional branch instructions that were taken (Precise event capabl… 97 …"PublicDescription": "Counts Jcc (Jump on Conditional Code/Jump if Condition is Met) branch instru… 121 …"BriefDescription": "Retired mispredicted conditional branch instructions (Precise event capable)", 126 …"PublicDescription": "Counts mispredicted retired Jcc (Jump on Conditional Code/Jump if Condition … 151 …"BriefDescription": "Retired mispredicted conditional branch instructions that were taken (Precise… 156 …"PublicDescription": "Counts mispredicted retired Jcc (Jump on Conditional Code/Jump if Condition … 229 "BriefDescription": "Instructions retired - using Reduced Skid PEBS feature", 250 …ocation is stalled waiting for a mispredicted jump to retire or other branch-like conditions (e.g.… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/goldmont/ |
D | pipeline.json | 52 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 57 …"PublicDescription": "Counts retired Jcc (Jump on Conditional Code/Jump if Condition is Met) branc… 92 …"BriefDescription": "Retired conditional branch instructions that were taken (Precise event capabl… 97 …"PublicDescription": "Counts Jcc (Jump on Conditional Code/Jump if Condition is Met) branch instru… 121 …"BriefDescription": "Retired mispredicted conditional branch instructions (Precise event capable)", 126 …"PublicDescription": "Counts mispredicted retired Jcc (Jump on Conditional Code/Jump if Condition … 151 …"BriefDescription": "Retired mispredicted conditional branch instructions that were taken (Precise… 156 …"PublicDescription": "Counts mispredicted retired Jcc (Jump on Conditional Code/Jump if Condition … 240 …ocation is stalled waiting for a mispredicted jump to retire or other branch-like conditions (e.g.… 249 …ing but not limited to resources such as the Re-order Buffer (ROB), reservation stations (RS), loa… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/broadwellde/ |
D | pipeline.json | 7 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 21 "BriefDescription": "Speculative and retired macro-conditional branches", 25 …is event counts both taken and not taken speculative and retired macro-conditional branch instruct… 30 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 34 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 66 "BriefDescription": "Not taken macro-conditional branches", 70 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 75 "BriefDescription": "Taken speculative and retired macro-conditional branches", 79 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 84 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/broadwell/ |
D | pipeline.json | 7 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 21 "BriefDescription": "Speculative and retired macro-conditional branches", 25 …is event counts both taken and not taken speculative and retired macro-conditional branch instruct… 30 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 34 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 66 "BriefDescription": "Not taken macro-conditional branches", 70 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 75 "BriefDescription": "Taken speculative and retired macro-conditional branches", 79 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 84 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/broadwellx/ |
D | pipeline.json | 7 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 21 "BriefDescription": "Speculative and retired macro-conditional branches", 25 …is event counts both taken and not taken speculative and retired macro-conditional branch instruct… 30 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 34 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 66 "BriefDescription": "Not taken macro-conditional branches", 70 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 75 "BriefDescription": "Taken speculative and retired macro-conditional branches", 79 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 84 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/sandybridge/ |
D | pipeline.json | 38 "BriefDescription": "Speculative and retired macro-conditional branches.", 46 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 78 "BriefDescription": "Not taken macro-conditional branches.", 86 "BriefDescription": "Taken speculative and retired macro-conditional branches.", 94 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… 141 "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).", 150 "BriefDescription": "Conditional branch instructions retired. (Precise Event - PEBS).", 153 "EventName": "BR_INST_RETIRED.CONDITIONAL", 167 … "BriefDescription": "Direct and indirect near call instructions retired. (Precise Event - PEBS).", 176 …t and indirect macro near call instructions retired (captured in ring 3). (Precise Event - PEBS).", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/jaketown/ |
D | pipeline.json | 38 "BriefDescription": "Speculative and retired macro-conditional branches.", 46 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 78 "BriefDescription": "Not taken macro-conditional branches.", 86 "BriefDescription": "Taken speculative and retired macro-conditional branches.", 94 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… 141 "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).", 150 "BriefDescription": "Conditional branch instructions retired.", 153 "EventName": "BR_INST_RETIRED.CONDITIONAL", 202 "BriefDescription": "Speculative and retired mispredicted macro conditional branches.", 210 "BriefDescription": "Speculative and retired mispredicted macro conditional branches.", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/riscv/andes/ax45/ |
D | instructions.json | 20 "BriefDescription": "Integer store instruction count" 40 "BriefDescription": "Conditional branch instruction count" 45 "BriefDescription": "Taken conditional branch instruction count" 85 "BriefDescription": "Floating-point load instruction count" 90 "BriefDescription": "Floating-point store instruction count" 95 "BriefDescription": "Floating-point addition/subtraction instruction count" 100 "BriefDescription": "Floating-point multiplication instruction count" 105 "BriefDescription": "Floating-point fused multiply-add instruction count" 110 "BriefDescription": "Floating-point division or square-root instruction count" 115 "BriefDescription": "Other floating-point instruction count"
|
/linux-6.15/tools/perf/pmu-events/arch/x86/haswell/ |
D | pipeline.json | 20 "BriefDescription": "Speculative and retired macro-conditional branches.", 28 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 60 "BriefDescription": "Not taken macro-conditional branches.", 68 "BriefDescription": "Taken speculative and retired macro-conditional branches.", 76 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… 133 "BriefDescription": "Conditional branch instructions retired.", 136 "EventName": "BR_INST_RETIRED.CONDITIONAL", 138 "PublicDescription": "Counts the number of conditional branch instructions retired.", 199 "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 208 "BriefDescription": "Speculative and retired mispredicted macro conditional branches.", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/haswellx/ |
D | pipeline.json | 20 "BriefDescription": "Speculative and retired macro-conditional branches.", 28 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 60 "BriefDescription": "Not taken macro-conditional branches.", 68 "BriefDescription": "Taken speculative and retired macro-conditional branches.", 76 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… 133 "BriefDescription": "Conditional branch instructions retired.", 136 "EventName": "BR_INST_RETIRED.CONDITIONAL", 138 "PublicDescription": "Counts the number of conditional branch instructions retired.", 199 "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 208 "BriefDescription": "Speculative and retired mispredicted macro conditional branches.", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/knightslanding/ |
D | pipeline.json | 38 …"BriefDescription": "Counts the number of branch instructions retired that were conditional jumps.… 74 …"BriefDescription": "Counts the number of branch instructions retired that were conditional jumps … 118 …ounts the number of mispredicted branch instructions retired that were conditional jumps. (Precise… 154 …ounts the number of mispredicted branch instructions retired that were conditional jumps and predi… 205 … For instructions that consist of multiple micro-ops, this event counts exactly once, as the last … 241 …"BriefDescription": "Counts the total number of core cycles when no micro-ops are allocated for an… 249 …"BriefDescription": "Counts the number of core cycles when no micro-ops are allocated and the allo… 258 …"BriefDescription": "Counts the number of core cycles when no micro-ops are allocated, the IQ is e… 267 …"BriefDescription": "Counts the number of core cycles when no micro-ops are allocated and a RATsta… 275 …"BriefDescription": "Counts the number of core cycles when no micro-ops are allocated and the ROB … [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/ivytown/ |
D | pipeline.json | 32 "BriefDescription": "Speculative and retired macro-conditional branches", 36 "PublicDescription": "Speculative and retired macro-conditional branches.", 41 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 45 …"PublicDescription": "Speculative and retired macro-unconditional branches excluding calls and ind… 76 "BriefDescription": "Not taken macro-conditional branches", 80 "PublicDescription": "Not taken macro-conditional branches.", 85 "BriefDescription": "Taken speculative and retired macro-conditional branches", 89 "PublicDescription": "Taken speculative and retired macro-conditional branches.", 94 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… 98 …"PublicDescription": "Taken speculative and retired macro-conditional branch instructions excludin… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/ivybridge/ |
D | pipeline.json | 32 "BriefDescription": "Speculative and retired macro-conditional branches", 36 "PublicDescription": "Speculative and retired macro-conditional branches.", 41 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 45 …"PublicDescription": "Speculative and retired macro-unconditional branches excluding calls and ind… 76 "BriefDescription": "Not taken macro-conditional branches", 80 "PublicDescription": "Not taken macro-conditional branches.", 85 "BriefDescription": "Taken speculative and retired macro-conditional branches", 89 "PublicDescription": "Taken speculative and retired macro-conditional branches.", 94 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… 98 …"PublicDescription": "Taken speculative and retired macro-conditional branch instructions excludin… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/ |
D | core-imp-def.json | 21 …"PublicDescription": "Predictable conditional branch speculatively executed that hit any level of … 24 …"BriefDescription": "Predictable conditional branch speculatively executed that hit any level of B… 57 …"PublicDescription": "Predictable conditional branch speculatively executed that hit any level of … 60 …"BriefDescription": "Predictable conditional branch speculatively executed that hit any level of B… 99 "PublicDescription": "Macro-ops speculatively decoded", 102 "BriefDescription": "Macro-ops speculatively decoded" 255 …OB drains triggered by system register or special-purpose register read-after-write or specific sp… 258 …OB drains triggered by system register or special-purpose register read-after-write or specific sp… 441 "PublicDescription": "Load satisified from store forwarded data", 444 "BriefDescription": "Load satisified from store forwarded data" [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/cascadelakex/ |
D | pipeline.json | 3 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 32 …"BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETI… 37 …cription": "This event counts conditional branch instructions retired. [This event is alias to BR_… 42 …"BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETI… 46 "EventName": "BR_INST_RETIRED.CONDITIONAL", 48 …"PublicDescription": "This event counts conditional branch instructions retired. [This event is al… 117 "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 130 …"PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Cou… 153 "BriefDescription": "Mispredicted conditional branch instructions retired.", 156 "EventName": "BR_MISP_RETIRED.CONDITIONAL", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/skylakex/ |
D | pipeline.json | 3 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 32 …"BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETI… 37 …cription": "This event counts conditional branch instructions retired. [This event is alias to BR_… 42 …"BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETI… 46 "EventName": "BR_INST_RETIRED.CONDITIONAL", 48 …"PublicDescription": "This event counts conditional branch instructions retired. [This event is al… 117 "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 130 …"PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Cou… 153 "BriefDescription": "Mispredicted conditional branch instructions retired.", 156 "EventName": "BR_MISP_RETIRED.CONDITIONAL", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/skylake/ |
D | pipeline.json | 3 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 32 …"BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETI… 37 …cription": "This event counts conditional branch instructions retired. [This event is alias to BR_… 42 …"BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETI… 46 "EventName": "BR_INST_RETIRED.CONDITIONAL", 48 …"PublicDescription": "This event counts conditional branch instructions retired. [This event is al… 117 "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 130 …"PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Cou… 153 "BriefDescription": "Mispredicted conditional branch instructions retired.", 156 "EventName": "BR_MISP_RETIRED.CONDITIONAL", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/powerpc/power9/ |
D | other.json | 55 …"BriefDescription": "A Conditional Branch that resolved to taken was mispredicted as not taken (du… 65 "BriefDescription": "Read-write data cache collisions" 90 "BriefDescription": "D-cache invalidates sent over the reload bus to the core" 110 …"BriefDescription": "All internal store rejects cause the instruction to go back to the SRQ and go… 145 …he processor's data cache was reloaded from local core's L2 with load hit store conflict due to a … 190 …"BriefDescription": "TM snoop that is a store hits line in L3 in T, Tn or Te state (shared modifie… 200 "BriefDescription": "Read-write data cache collisions" 255 …he processor's data cache was reloaded from local core's L2 with load hit store conflict due to a … 280 …Store instructions whose data crosses a double-word boundary, which causes it to require an additi… 300 "BriefDescription": "I-cache Invalidates sent over the realod bus to the core" [all …]
|
/linux-6.15/arch/xtensa/variants/de212/include/variant/ |
D | tie-asm.h | 2 * tie-asm.h -- compile-time HAL assembler definitions dependent on CORE & TIE 7 /* This header file contains assembly-language definitions (assembly 11 Copyright (c) 1999-2015 Cadence Design Systems Inc. 35 /* Selection parameter values for save-area save/restore macros: */ 45 #define XTHAL_SAS_CALR 0x0010 /* caller-saved */ 46 #define XTHAL_SAS_CALE 0x0020 /* callee-saved */ 57 * Macro to store all non-coprocessor (extra) custom TIE and optional state 58 * (not including zero-overhead loop registers). 65 * continue If macro invoked as part of a larger store sequence, set to 1 68 * in sequence) at which to store. Defaults to next available space [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/tigerlake/ |
D | pipeline.json | 8 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 39 "BriefDescription": "Conditional branch instructions retired.", 43 "PublicDescription": "Counts conditional branch instructions retired.", 57 "BriefDescription": "Taken conditional branch instructions retired.", 61 "PublicDescription": "Counts taken conditional branch instructions retired.", 119 "BriefDescription": "Mispredicted conditional branch instructions retired.", 123 "PublicDescription": "Counts mispredicted conditional branch instructions retired.", 128 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 132 …"PublicDescription": "Counts the number of conditional branch instructions retired that were mispr… 141 "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/arrowlake/ |
D | pipeline.json | 18 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 82 …"BriefDescription": "Counts retired JCC (Jump on Conditional Code) branch instructions retired inc… 91 "BriefDescription": "Conditional branch instructions retired.", 95 "PublicDescription": "Counts conditional branch instructions retired.", 101 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 129 "BriefDescription": "Taken conditional branch instructions retired.", 133 "PublicDescription": "Counts taken conditional branch instructions retired.", 139 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… 148 "BriefDescription": "Taken backward conditional branch instructions retired.", 152 "PublicDescription": "Counts taken backward conditional branch instructions retired.", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/icelake/ |
D | pipeline.json | 8 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 39 "BriefDescription": "Conditional branch instructions retired.", 43 "PublicDescription": "Counts conditional branch instructions retired.", 57 "BriefDescription": "Taken conditional branch instructions retired.", 61 "PublicDescription": "Counts taken conditional branch instructions retired.", 119 "BriefDescription": "Mispredicted conditional branch instructions retired.", 123 "PublicDescription": "Counts mispredicted conditional branch instructions retired.", 128 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 132 …"PublicDescription": "Counts the number of conditional branch instructions retired that were mispr… 141 "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/rocketlake/ |
D | pipeline.json | 8 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 39 "BriefDescription": "Conditional branch instructions retired.", 43 "PublicDescription": "Counts conditional branch instructions retired.", 57 "BriefDescription": "Taken conditional branch instructions retired.", 61 "PublicDescription": "Counts taken conditional branch instructions retired.", 119 "BriefDescription": "Mispredicted conditional branch instructions retired.", 123 "PublicDescription": "Counts mispredicted conditional branch instructions retired.", 128 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 132 …"PublicDescription": "Counts the number of conditional branch instructions retired that were mispr… 141 "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.", [all …]
|