Home
last modified time | relevance | path

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

12

/linux/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.rst97 share the L1 Data Cache (L1D) is important for this. As the flaw allows
98 only to attack data which is present in L1D, a malicious guest running
99 on one Hyperthread can attack the data which is brought into the L1D by
145 - 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
173 To make sure that a guest cannot attack data which is present in the L1D
174 the hypervisor flushes the L1D before entering the guest.
[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/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,
179 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV7_PERFCTR_L1_DCACHE_ACCESS,
180 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
227 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV7_PERFCTR_L1_DCACHE_ACCESS,
228 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
229 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV7_PERFCTR_L1_DCACHE_ACCESS,
230 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = ARMV7_PERFCTR_L1_DCACHE_REFILL,
264 [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV7_PERFCTR_L1_DCACHE_ACCESS,
265 [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,
96 [C(L1D)][C(OP_READ)][C(RESULT_MISS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_REFILL_RD,
97 [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_WR,
98 [C(L1D)][C(OP_WRITE)][C(RESULT_MISS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_REFILL_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,
[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/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/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/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 Dgeneric-compat-pmu.c186 [ C(L1D) ] = {
H A Dmpc7450-pmu.c366 [C(L1D)] = { /* RESULT_ACCESS RESULT_MISS */
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/arch/x86/events/zhaoxin/
H A Dcore.c51 [C(L1D)] = {
155 [C(L1D)] = {
/linux/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c116 [ C(L1D) ] = {
/linux/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c91 [ C(L1D) ] = {
/linux/arch/x86/events/intel/
H A Dp6.c28 [ C(L1D) ] = {
H A Dknc.c26 [ C(L1D) ] = {
/linux/Documentation/userspace-api/
H A Dspec_ctrl.rst110 - PR_SPEC_L1D_FLUSH: Flush L1D Cache on context switch out of the task
/linux/arch/sparc/kernel/
H A Dperf_event.c221 [C(L1D)] = {
359 [C(L1D)] = {
494 [C(L1D)] = {
631 [C(L1D)] = {

12