Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/include/asm/
Dalternative-macros.h9 .macro ALT_ENTRY oldptr newptr vendor_id errata_id new_len
14 .word \errata_id
17 .macro ALT_NEW_CONTENT vendor_id, errata_id, enable = 1, new_c : vararg
20 ALT_ENTRY 886b, 888f, \vendor_id, \errata_id, 889f - 888f
36 .macro __ALTERNATIVE_CFG old_c, new_c, vendor_id, errata_id, enable
44 ALT_NEW_CONTENT \vendor_id, \errata_id, \enable, \new_c
47 #define _ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, CONFIG_k) \
48 __ALTERNATIVE_CFG old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)
77 #define ALT_ENTRY(oldptr, newptr, vendor_id, errata_id, newlen) \ argument
82 ".word " errata_id "\n"
[all …]
Dalternative.h35 unsigned int errata_id; /* The errata id */ member
/linux-6.1.9/arch/riscv/errata/sifive/
Derrata.c103 if (alt->errata_id >= ERRATA_SIFIVE_NUMBER) { in sifive_errata_patch_func()
104 WARN(1, "This errata id:%d is not in kernel errata list", alt->errata_id); in sifive_errata_patch_func()
108 tmp = (1U << alt->errata_id); in sifive_errata_patch_func()
/linux-6.1.9/arch/riscv/errata/thead/
Derrata.c75 if (alt->errata_id >= ERRATA_THEAD_NUMBER) in thead_errata_patch_func()
78 tmp = (1U << alt->errata_id); in thead_errata_patch_func()
/linux-6.1.9/arch/riscv/kernel/
Dcpufeature.c312 if (alt->errata_id >= CPUFEATURE_NUMBER) { in riscv_cpufeature_patch_func()
314 alt->errata_id); in riscv_cpufeature_patch_func()
318 tmp = (1U << alt->errata_id); in riscv_cpufeature_patch_func()