Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kernel/
H A Dalternative.c36 cpu_mfr_info->arch_id = csr_read(CSR_MARCHID); in riscv_fill_cpu_mfr_info()
37 cpu_mfr_info->imp_id = csr_read(CSR_MIMPID); in riscv_fill_cpu_mfr_info()
40 cpu_mfr_info->arch_id = sbi_get_marchid(); in riscv_fill_cpu_mfr_info()
41 cpu_mfr_info->imp_id = sbi_get_mimpid(); in riscv_fill_cpu_mfr_info()
44 switch (cpu_mfr_info->vendor_id) { in riscv_fill_cpu_mfr_info()
61 cpu_mfr_info->patch_func = NULL; in riscv_fill_cpu_mfr_info()
158 riscv_fill_cpu_mfr_info(&cpu_mfr_info); in _apply_alternatives()
162 if (!cpu_mfr_info.patch_func) in _apply_alternatives()
165 cpu_mfr_info.patch_func(begin, end, in _apply_alternatives()
166 cpu_mfr_info.arch_id, in _apply_alternatives()
[all …]