Home
last modified time | relevance | path

Searched refs:midr (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dcputype.h25 #define MIDR_REVISION(midr) ((midr) & MIDR_REVISION_MASK) argument
28 #define MIDR_PARTNUM(midr) \ argument
29 (((midr) & MIDR_PARTNUM_MASK) >> MIDR_PARTNUM_SHIFT)
32 #define MIDR_ARCHITECTURE(midr) \ argument
33 (((midr) & MIDR_ARCHITECTURE_MASK) >> MIDR_ARCHITECTURE_SHIFT)
36 #define MIDR_VARIANT(midr) \ argument
37 (((midr) & MIDR_VARIANT_MASK) >> MIDR_VARIANT_SHIFT)
40 #define MIDR_IMPLEMENTOR(midr) \ argument
41 (((midr) & MIDR_IMPLEMENTOR_MASK) >> MIDR_IMPLEMENTOR_SHIFT)
196 static inline bool midr_is_cpu_model_range(u32 midr, u32 model, u32 rv_min, in midr_is_cpu_model_range() argument
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsmp_tlb.c96 unsigned int midr = read_cpuid_id(); in erratum_a15_798181_init() local
125 if ((midr & 0xff0ffff0) == 0x420f00f0 && midr <= 0x420f00f2) { in erratum_a15_798181_init()
127 } else if ((midr & 0xff0ffff0) == 0x410fc0f0 && midr < 0x412fc0f2) { in erratum_a15_798181_init()
129 } else if ((midr & 0xff0ffff0) == 0x410fc0f0 && midr < 0x412fc0f4) { in erratum_a15_798181_init()
136 } else if ((midr & 0xff0ffff0) == 0x410fc0f0 && midr < 0x413fc0f3) { in erratum_a15_798181_init()
143 } else if ((midr & 0xff0ffff0) == 0x410fc0f0 && midr < 0x414fc0f0) { in erratum_a15_798181_init()
Dsetup.c679 struct proc_info_list *lookup_processor(u32 midr) in lookup_processor() argument
681 struct proc_info_list *list = lookup_processor_type(midr); in lookup_processor()
685 smp_processor_id(), midr); in lookup_processor()
695 unsigned int midr = read_cpuid_id(); in setup_processor() local
696 struct proc_info_list *list = lookup_processor(midr); in setup_processor()
713 list->cpu_name, midr, midr & 15, in setup_processor()
/kernel/linux/linux-5.10/tools/perf/arch/arm64/util/
Dheader.c20 u64 midr = 0; in _get_cpuid() local
50 midr = strtoul(buf, NULL, 16); in _get_cpuid()
51 midr &= (~(MIDR_VARIANT_MASK | MIDR_REVISION_MASK)); in _get_cpuid()
52 scnprintf(buf, MIDR_SIZE, "0x%016lx", midr); in _get_cpuid()
59 if (!midr) in _get_cpuid()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpuinfo.c146 u32 midr = cpuinfo->reg_midr; in c_show() local
156 MIDR_REVISION(midr), COMPAT_ELF_PLATFORM); in c_show()
196 MIDR_IMPLEMENTOR(midr)); in c_show()
198 seq_printf(m, "CPU variant\t: 0x%x\n", MIDR_VARIANT(midr)); in c_show()
199 seq_printf(m, "CPU part\t: 0x%03x\n", MIDR_PARTNUM(midr)); in c_show()
200 seq_printf(m, "CPU revision\t: %d\n\n", MIDR_REVISION(midr)); in c_show()
258 CPUREGS_ATTR_RO(midr_el1, midr);
Dcpu_errata.c21 u32 midr = read_cpuid_id(), revidr; in is_affected_midr_range() local
24 if (!is_midr_in_range(midr, &entry->midr_range)) in is_affected_midr_range()
27 midr &= MIDR_REVISION_MASK | MIDR_VARIANT_MASK; in is_affected_midr_range()
30 if (midr == fix->midr_rv && (revidr & fix->revidr_mask)) in is_affected_midr_range()
191 u32 midr = read_cpuid_id(); in has_neoverse_n1_erratum_1542419() local
196 return is_midr_in_range(midr, &range) && has_dic; in has_neoverse_n1_erratum_1542419()
Dproton-pack.c306 u32 midr = read_cpuid_id(); in spectre_v2_get_sw_mitigation_cb() local
307 if (((midr & MIDR_CPU_MODEL_MASK) != MIDR_QCOM_FALKOR) && in spectre_v2_get_sw_mitigation_cb()
308 ((midr & MIDR_CPU_MODEL_MASK) != MIDR_QCOM_FALKOR_V1)) in spectre_v2_get_sw_mitigation_cb()
Dcpufeature.c1230 u32 midr = read_cpuid_id(); in has_no_hw_prefetch() local
1233 return midr_is_cpu_model_range(midr, MIDR_THUNDERX, in has_no_hw_prefetch()
/kernel/liteos_a/arch/arm/include/
Dlos_hw.h171 UINT32 midr = OsMainIDGet(); in LOS_CpuInfo() local
173 UINT32 partNo = (midr & 0xFFF0) >> 0x4; in LOS_CpuInfo()
/kernel/linux/linux-5.10/include/ras/
Dras_event.h179 __field(u64, midr)
194 __entry->midr = proc->midr;
206 __entry->affinity, __entry->mpidr, __entry->midr,
/kernel/linux/linux-5.10/arch/c6x/platforms/
Demif.c17 u32 midr; member
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dcputype.h114 struct proc_info_list *lookup_processor(u32 midr);
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcper-arm.c246 printk("%sMIDR: 0x%016llx\n", pfx, proc->midr); in cper_print_proc_arm()
/kernel/linux/linux-5.10/include/linux/
Dcper.h413 u64 midr; member
/kernel/linux/linux-5.10/Documentation/arm64/
Dcpu-feature-registers.rst81 \- midr