H A D | cacheinfo.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Routines to identify caches on Intel CPU. 7 * Ashok Raj <ashok.raj@intel.com>: Work with CPU hotplug infrastructure. 13 #include <linux/cpu.h> 28 #include "cpu.h" 60 { 0x06, LVL_1_INST, 8 }, /* 4-way set assoc, 32 byte line size */ 61 { 0x08, LVL_1_INST, 16 }, /* 4-wa 388 amd_l3_disable_index(struct amd_northbridge * nb,int cpu,unsigned slot,unsigned long idx) amd_l3_disable_index() argument 428 amd_set_l3_disable_slot(struct amd_northbridge * nb,int cpu,unsigned slot,unsigned long index) amd_set_l3_disable_slot() argument 455 int cpu, err = 0; store_cache_disable() local 492 int cpu = cpumask_first(&this_leaf->shared_cpu_map); subcaches_show() local 502 int cpu = cpumask_first(&this_leaf->shared_cpu_map); subcaches_store() local 664 cacheinfo_amd_init_llc_id(struct cpuinfo_x86 * c,int cpu) cacheinfo_amd_init_llc_id() argument 702 cacheinfo_hygon_init_llc_id(struct cpuinfo_x86 * c,int cpu) cacheinfo_hygon_init_llc_id() argument 744 unsigned int cpu = c->cpu_index; init_intel_cacheinfo() local 890 __cache_amd_cpumap_setup(unsigned int cpu,int index,struct _cpuid4_info_regs * base) __cache_amd_cpumap_setup() argument 947 __cache_cpumap_setup(unsigned int cpu,int index,struct _cpuid4_info_regs * base) __cache_cpumap_setup() argument 1001 init_cache_level(unsigned int cpu) init_cache_level() argument 1019 get_cache_id(int cpu,struct _cpuid4_info_regs * id4_regs) get_cache_id() argument 1030 populate_cache_leaves(unsigned int cpu) populate_cache_leaves() argument 1177 cache_ap_online(unsigned int cpu) cache_ap_online() argument 1203 cache_ap_offline(unsigned int cpu) cache_ap_offline() argument [all...] |