Home
last modified time | relevance | path

Searched refs:L1D (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.15/Documentation/admin-guide/hw-vuln/
H A Dl1d_flush.rst1 L1D Flushing
5 leaks from the Level 1 Data cache (L1D) the kernel provides an opt-in
6 mechanism to flush the L1D cache on context switch.
10 (snooping of) from the L1D cache.
34 When PR_SET_L1D_FLUSH is enabled for a task a flush of the L1D cache is
38 If the underlying CPU supports L1D flushing in hardware, the hardware
44 The kernel command line allows to control the L1D flush mitigations at boot
58 The mechanism does not mitigate L1D data leaks between tasks belonging to
66 **NOTE** : The opt-in of a task for L1D flushing works only when the task's
68 requested L1D flushing is scheduled on a SMT-enabled core the kernel sends
H A Dl1tf.rst145 - L1D Flush mode:
148 'L1D vulnerable' L1D flushing is disabled
150 'L1D conditional cache flushes' L1D flush is conditionally enabled
152 'L1D cache flushes' L1D flush is unconditionally enabled
170 1. L1D flush on VMENTER
187 The kernel provides two L1D flush modes:
373 the hypervisors, i.e. unconditional L1D flushing
386 mitigation, i.e. conditional L1D flushing
395 i.e. conditional L1D flushing.
428 always L1D cache flush on every VMENTER.
[all …]
H A Dmds.rst168 If the L1D flush mitigation is enabled and up to date microcode is
169 available, the L1D flush mitigation is automatically protecting the
172 If the L1D flush mitigation is disabled then the MDS mitigation is
/linux-6.15/drivers/perf/
H A Darm_v7_pmu.c177 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV7_PERFCTR_L1_DCACHE_ACCESS,
178 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
180 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
228 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
230 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
265 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
267 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
366 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
410 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
471 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
[all …]
H A Darm_pmuv3.c60 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_PMUV3_PERFCTR_L1D_CACHE,
61 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV8_PMUV3_PERFCTR_L1D_CACHE_REFILL,
84 [C(L1D)][C(OP_PREFETCH)][C(RESULT_MISS)] = ARMV8_A53_PERFCTR_PREF_LINEFILL,
95 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_RD,
97 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_WR,
112 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_RD,
113 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_WR,
121 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_RD,
123 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_WR,
142 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_RD,
[all …]
H A Darm_v6_pmu.c95 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV6_PERFCTR_DCACHE_ACCESS,
96 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV6_PERFCTR_DCACHE_MISS,
97 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV6_PERFCTR_DCACHE_ACCESS,
98 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = ARMV6_PERFCTR_DCACHE_MISS,
H A Darm_xscale_pmu.c73 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = XSCALE_PERFCTR_DCACHE_ACCESS,
74 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = XSCALE_PERFCTR_DCACHE_MISS,
75 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = XSCALE_PERFCTR_DCACHE_ACCESS,
76 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = XSCALE_PERFCTR_DCACHE_MISS,
H A Driscv_pmu_sbi.c159 [C(L1D)] = {
162 C(OP_READ), C(L1D), SBI_PMU_EVENT_TYPE_CACHE, 0}},
164 C(OP_READ), C(L1D), SBI_PMU_EVENT_TYPE_CACHE, 0}},
168 C(OP_WRITE), C(L1D), SBI_PMU_EVENT_TYPE_CACHE, 0}},
170 C(OP_WRITE), C(L1D), SBI_PMU_EVENT_TYPE_CACHE, 0}},
174 C(OP_PREFETCH), C(L1D), SBI_PMU_EVENT_TYPE_CACHE, 0}},
176 C(OP_PREFETCH), C(L1D), SBI_PMU_EVENT_TYPE_CACHE, 0}},
/linux-6.15/arch/alpha/kernel/
H A Dsetup.c1196 int L1I, L1D, L2, L3; in determine_cpu_caches() local
1206 L1D = L1I; in determine_cpu_caches()
1227 L1I = L1D = CSHAPE(8*1024, 5, 1); in determine_cpu_caches()
1242 L1I = L1D = CSHAPE(8*1024, 5, 1); in determine_cpu_caches()
1268 L1D = CSHAPE(8*1024, 5, 1); in determine_cpu_caches()
1271 L1D = CSHAPE(16*1024, 5, 1); in determine_cpu_caches()
1294 L1I = L1D = CSHAPE(64*1024, 6, 2); in determine_cpu_caches()
1301 L1I = L1D = CSHAPE(64*1024, 6, 2); in determine_cpu_caches()
1308 L1I = L1D = L2 = L3 = 0; in determine_cpu_caches()
1313 alpha_l1d_cacheshape = L1D; in determine_cpu_caches()
/linux-6.15/arch/powerpc/perf/
H A De6500-pmu.c36 [C(L1D)] = {
H A De500-pmu.c39 [C(L1D)] = { /* RESULT_ACCESS RESULT_MISS */
H A Dpower10-pmu.c359 [C(L1D)] = {
460 [C(L1D)] = {
H A Dmpc7450-pmu.c366 [C(L1D)] = { /* RESULT_ACCESS RESULT_MISS */
H A Dgeneric-compat-pmu.c186 [ C(L1D) ] = {
H A Dpower8-pmu.c267 [ C(L1D) ] = {
H A Dpower7-pmu.c340 [C(L1D)] = { /* RESULT_ACCESS RESULT_MISS */
H A Dppc970-pmu.c439 [C(L1D)] = { /* RESULT_ACCESS RESULT_MISS */
/linux-6.15/arch/mips/kernel/
H A Dperf_event_mipsxx.c1010 [C(L1D)] = {
1091 [C(L1D)] = {
1166 [C(L1D)] = {
1206 [C(L1D)] = {
1261 [C(L1D)] = {
1324 [C(L1D)] = {
1377 [C(L1D)] = {
1435 [C(L1D)] = {
/linux-6.15/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c91 [ C(L1D) ] = {
/linux-6.15/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c116 [ C(L1D) ] = {
/linux-6.15/arch/x86/events/intel/
H A Dp6.c30 [ C(L1D) ] = {
H A Dknc.c26 [ C(L1D) ] = {
/linux-6.15/arch/x86/events/zhaoxin/
H A Dcore.c51 [C(L1D)] = {
155 [C(L1D)] = {
/linux-6.15/Documentation/userspace-api/
H A Dspec_ctrl.rst110 - PR_SPEC_L1D_FLUSH: Flush L1D Cache on context switch out of the task
/linux-6.15/arch/sparc/kernel/
H A Dperf_event.c221 [C(L1D)] = {
359 [C(L1D)] = {
494 [C(L1D)] = {
631 [C(L1D)] = {

12