| /arch/m68k/kernel/ |
| A D | sys_m68k.c | 72 switch (scope) in cache_flush_040() 238 switch (scope) in cache_flush_060() 382 if (scope < FLUSH_SCOPE_LINE || scope > FLUSH_SCOPE_ALL || in sys_cacheflush() 386 if (scope == FLUSH_SCOPE_ALL) { in sys_cacheflush() 411 if (scope == FLUSH_SCOPE_LINE && len < 256) { in sys_cacheflush() 444 if (len>=3*PAGE_SIZE && scope<FLUSH_SCOPE_PAGE) in sys_cacheflush() 445 scope=FLUSH_SCOPE_PAGE; in sys_cacheflush() 446 if (len>=10*PAGE_SIZE && scope<FLUSH_SCOPE_ALL) in sys_cacheflush() 447 scope=FLUSH_SCOPE_ALL; in sys_cacheflush() 449 ret = cache_flush_040 (addr, scope, cache, len); in sys_cacheflush() [all …]
|
| /arch/arm64/kernel/ |
| A D | cpu_errata.c | 77 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range() 92 int scope) in is_affected_midr_range_list() argument 94 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list() 103 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr() 114 int scope) in has_mismatched_cache_type() argument 120 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type() 166 int scope) in has_cortex_a76_erratum_1463225() argument 223 int scope) in needs_tx2_tvm_workaround() argument 227 if (!is_affected_midr_range_list(entry, scope) || in needs_tx2_tvm_workaround() 241 int scope) in has_neoverse_n1_erratum_1542419() argument [all …]
|
| A D | proton-pack.c | 204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 848 static bool is_spectre_bhb_safe(int scope) in is_spectre_bhb_safe() argument 864 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_safe() 966 static bool supports_ecbhb(int scope) in supports_ecbhb() argument 970 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb() 982 int scope) in is_spectre_bhb_affected() argument 984 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected() 986 if (supports_csv2p3(scope)) in is_spectre_bhb_affected() [all …]
|
| A D | cpufeature.c | 1623 if (scope == SCOPE_SYSTEM) in read_scoped_sysreg() 1710 if (scope == SCOPE_SYSTEM) in has_32bit_el0() 1732 int scope) in has_cache_idc() argument 1736 if (scope == SCOPE_SYSTEM) in has_cache_idc() 1757 int scope) in has_cache_dic() argument 1761 if (scope == SCOPE_SYSTEM) in has_cache_dic() 1790 int scope) in unmap_kernel_at_el0() argument 2201 int scope) in has_nested_virt_support() argument 2302 int scope) in has_address_auth_metacap() argument 2332 int scope) in can_use_gic_priorities() argument [all …]
|
| /arch/arm64/include/asm/ |
| A D | spectre.h | 85 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope); 88 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope); 92 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope); 99 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
|
| A D | cpufeature.h | 356 bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope); 424 int scope) in cpucap_multi_entry_cap_matches() argument 429 if (caps->matches(caps, scope)) in cpucap_multi_entry_cap_matches() 645 static inline bool supports_csv2p3(int scope) in supports_csv2p3() argument 650 if (scope == SCOPE_LOCAL_CPU) in supports_csv2p3() 660 static inline bool supports_clearbhb(int scope) in supports_clearbhb() argument 664 if (scope == SCOPE_LOCAL_CPU) in supports_clearbhb()
|
| /arch/arm64/kvm/ |
| A D | nested.c | 893 switch (scope->type) { in invalidate_vncr_va() 899 va_start >= (scope->va + scope->size)) in invalidate_vncr_va() 907 va_start >= (scope->va + scope->size)) in invalidate_vncr_va() 967 if (!scope->size) in compute_s1_tlbi_range() 968 scope->size = SZ_1G; in compute_s1_tlbi_range() 969 scope->va = tlbi_va_s1_to_va(val) & ~(scope->size - 1); in compute_s1_tlbi_range() 995 if (!scope->size) in compute_s1_tlbi_range() 996 scope->size = SZ_1G; in compute_s1_tlbi_range() 997 scope->va = tlbi_va_s1_to_va(val) & ~(scope->size - 1); in compute_s1_tlbi_range() 1024 scope->va = decode_range_tlbi(val, &scope->size, &scope->asid); in compute_s1_tlbi_range() [all …]
|
| /arch/s390/kernel/ |
| A D | cache.c | 42 unsigned char scope : 2; member 93 if (ci->scope != CACHE_SCOPE_SHARED && ci->scope != CACHE_SCOPE_PRIVATE) in get_cache_type() 160 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves()
|
| /arch/powerpc/platforms/pseries/ |
| A D | mobility.c | 76 static int mobility_rtas_call(int token, char *buf, s32 scope) in mobility_rtas_call() argument 83 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in mobility_rtas_call() 179 static int update_dt_node(struct device_node *dn, s32 scope) in update_dt_node() argument 203 scope); in update_dt_node() 294 static int pseries_devicetree_update(s32 scope) in pseries_devicetree_update() argument 310 rc = mobility_rtas_call(update_nodes_token, rtas_buf, scope); in pseries_devicetree_update() 339 update_dt_node(np, scope); in pseries_devicetree_update()
|
| /arch/riscv/mm/ |
| A D | cacheflush.c | 246 int riscv_set_icache_flush_ctx(unsigned long ctx, unsigned long scope) in riscv_set_icache_flush_ctx() argument 251 switch (scope) { in riscv_set_icache_flush_ctx() 263 switch (scope) { in riscv_set_icache_flush_ctx()
|
| /arch/m68k/include/asm/ |
| A D | syscalls.h | 8 asmlinkage int sys_cacheflush(unsigned long addr, int scope, int cache,
|
| /arch/powerpc/include/asm/ |
| A D | io_event_irq.h | 40 uint8_t scope; /* 0x02 Error/Event Scope */ member
|
| /arch/x86/events/ |
| A D | rapl.c | 174 static inline unsigned int get_rapl_pmu_idx(int cpu, int scope) in get_rapl_pmu_idx() argument 181 switch (scope) { in get_rapl_pmu_idx() 204 if (event->pmu->scope == PERF_PMU_SCOPE_CORE) in rapl_scale() 391 rapl_pmus_scope = rapl_pmus->pmu.scope; in rapl_pmu_event_init() 761 rapl_pmus->pmu.scope = rapl_pmu_scope; in init_rapl_pmus()
|
| /arch/x86/events/intel/ |
| A D | cstate.c | 401 .scope = PERF_PMU_SCOPE_CORE, 417 .scope = PERF_PMU_SCOPE_PKG, 433 .scope = PERF_PMU_SCOPE_CLUSTER, 715 cstate_pkg_pmu.scope = PERF_PMU_SCOPE_DIE; in cstate_init()
|
| /arch/x86/kernel/cpu/resctrl/ |
| A D | core.c | 424 static int get_domain_id_from_scope(int cpu, enum resctrl_scope scope) in get_domain_id_from_scope() argument 426 switch (scope) { in get_domain_id_from_scope() 429 return get_cpu_cacheinfo_id(cpu, scope); in get_domain_id_from_scope()
|
| /arch/powerpc/platforms/powernv/ |
| A D | eeh-powernv.c | 858 uint8_t scope; in pnv_eeh_bridge_reset() local 871 scope = OPAL_RESET_PCI_FUNDAMENTAL; in pnv_eeh_bridge_reset() 874 scope = OPAL_RESET_PCI_HOT; in pnv_eeh_bridge_reset() 884 rc = opal_pci_reset(id, scope, OPAL_ASSERT_RESET); in pnv_eeh_bridge_reset()
|
| /arch/powerpc/perf/ |
| A D | kvm-hv-pmu.c | 393 .scope = PERF_PMU_SCOPE_SYS_WIDE,
|
| /arch/loongarch/ |
| A D | Kconfig | 547 is similar to WriteCombine) is out of the scope of cache coherency
|