Home
last modified time | relevance | path

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

/linux/arch/arm/kernel/
H A 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()
H A Dsetup.c686 struct proc_info_list *lookup_processor(u32 midr) in lookup_processor() argument
688 struct proc_info_list *list = lookup_processor_type(midr); in lookup_processor()
692 smp_processor_id(), midr); in lookup_processor()
702 unsigned int midr = read_cpuid_id(); in setup_processor() local
703 struct proc_info_list *list = lookup_processor(midr); in setup_processor()
720 list->cpu_name, midr, midr & 15, in setup_processor()
/linux/arch/arm64/include/asm/
H A 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
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)
261 u32 _model = midr & MIDR_CPU_MODEL_MASK; in midr_is_cpu_model_range()
269 return midr_is_cpu_model_range(midr, range->model, in is_midr_in_range()
[all …]
/linux/tools/arch/arm64/include/asm/
H A 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
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)
261 u32 _model = midr & MIDR_CPU_MODEL_MASK; in midr_is_cpu_model_range()
269 return midr_is_cpu_model_range(midr, range->model, in is_midr_in_range()
[all …]
/linux/arch/arm64/kernel/
H A Dcpuinfo.c201 u32 midr = cpuinfo->reg_midr; in c_show() local
211 MIDR_REVISION(midr), COMPAT_ELF_PLATFORM); in c_show()
251 MIDR_IMPLEMENTOR(midr)); in c_show()
253 seq_printf(m, "CPU variant\t: 0x%x\n", MIDR_VARIANT(midr)); in c_show()
254 seq_printf(m, "CPU part\t: 0x%03x\n", MIDR_PARTNUM(midr)); in c_show()
255 seq_printf(m, "CPU revision\t: %d\n\n", MIDR_REVISION(midr)); in c_show()
313 CPUREGS_ATTR_RO(midr_el1, midr);
H A 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()
189 u32 midr = read_cpuid_id(); in has_neoverse_n1_erratum_1542419() local
194 return is_midr_in_range(midr, &range) && has_dic; in has_neoverse_n1_erratum_1542419()
H A Dproton-pack.c263 u32 midr = read_cpuid_id(); in spectre_v2_get_sw_mitigation_cb() local
264 if (((midr & MIDR_CPU_MODEL_MASK) != MIDR_QCOM_FALKOR) && in spectre_v2_get_sw_mitigation_cb()
265 ((midr & MIDR_CPU_MODEL_MASK) != MIDR_QCOM_FALKOR_V1)) in spectre_v2_get_sw_mitigation_cb()
/linux/include/ras/
H A Dras_event.h179 __field(u64, midr)
194 __entry->midr = proc->midr;
206 __entry->affinity, __entry->mpidr, __entry->midr,
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h567 u8 midr = pdev->revision & 0xF0; in is_dev_otx2() local
569 return (midr == PCI_REVISION_ID_96XX || midr == PCI_REVISION_ID_95XX || in is_dev_otx2()
570 midr == PCI_REVISION_ID_95XXN || midr == PCI_REVISION_ID_98XX || in is_dev_otx2()
571 midr == PCI_REVISION_ID_95XXMM || midr == PCI_REVISION_ID_95XXO); in is_dev_otx2()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.h676 u8 midr = pdev->revision & 0xF0; in is_rvu_otx2() local
678 return (midr == PCI_REVISION_ID_96XX || midr == PCI_REVISION_ID_95XX || in is_rvu_otx2()
679 midr == PCI_REVISION_ID_95XXN || midr == PCI_REVISION_ID_98XX || in is_rvu_otx2()
680 midr == PCI_REVISION_ID_95XXMM || midr == PCI_REVISION_ID_95XXO); in is_rvu_otx2()
/linux/tools/perf/util/
H A Darm-spe.c49 u64 midr; member
518 static u64 arm_spe__synth_data_source(const struct arm_spe_record *record, u64 midr) in arm_spe__synth_data_source() argument
521 bool is_neoverse = is_midr_in_range_list(midr, neoverse_spe); in arm_spe__synth_data_source()
554 data_src = arm_spe__synth_data_source(record, spe->midr); in arm_spe_sample()
1268 u64 midr = strtol(cpuid, NULL, 16); in arm_spe_process_auxtrace_info() local
1288 spe->midr = midr; in arm_spe_process_auxtrace_info()
/linux/arch/arm/include/asm/
H A Dcputype.h118 struct proc_info_list *lookup_processor(u32 midr);
/linux/drivers/firmware/efi/
H A Dcper-arm.c245 printk("%sMIDR: 0x%016llx\n", pfx, proc->midr); in cper_print_proc_arm()
/linux/include/linux/
H A Dcper.h436 u64 midr; member
/linux/Documentation/arch/arm64/
H A Dcpu-feature-registers.rst81 \- midr