Home
last modified time | relevance | path

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

/arch/riscv/include/asm/
Dalternative-macros.h9 .macro ALT_ENTRY oldptr newptr vendor_id patch_id new_len
14 .4byte \patch_id
17 .macro ALT_NEW_CONTENT vendor_id, patch_id, enable = 1, new_c
20 ALT_ENTRY 886b, 888f, \vendor_id, \patch_id, 889f - 888f
36 .macro ALTERNATIVE_CFG old_c, new_c, vendor_id, patch_id, enable
44 ALT_NEW_CONTENT \vendor_id, \patch_id, \enable, "\new_c"
61 #define ALT_ENTRY(oldptr, newptr, vendor_id, patch_id, newlen) \ argument
66 ".4byte " patch_id "\n"
68 #define ALT_NEW_CONTENT(vendor_id, patch_id, enable, new_c) \ argument
71 ALT_ENTRY("886b", "888f", __stringify(vendor_id), __stringify(patch_id), "889f - 888f") \
[all …]
Dalternative.h45 u32 patch_id; /* The patch ID (erratum ID or cpufeature ID) */ member
/arch/x86/kernel/cpu/microcode/
Damd.c57 u32 patch_id; member
313 pr_err("Patch-ID 0x%08x: chipset-specific code unsupported.\n", mc_hdr->patch_id); in verify_patch()
438 if (rev != mc->hdr.patch_id) in __apply_microcode_amd()
483 if (rev > mc->hdr.patch_id) in early_apply_microcode()
487 *new_rev = mc->hdr.patch_id; in early_apply_microcode()
601 if (p->patch_id >= new_patch->patch_id) { in update_cache()
656 if (rev < mc->hdr.patch_id) { in reload_ucode_amd()
658 ucode_new_rev = mc->hdr.patch_id; in reload_ucode_amd()
678 if (p && (p->patch_id == csig->rev)) in collect_cpu_info_amd()
709 if (rev > mc_amd->hdr.patch_id) { in apply_microcode_amd()
[all …]
Dinternal.h15 u32 patch_id; member
/arch/riscv/errata/sifive/
Derrata.c102 if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) { in sifive_errata_patch_func()
103 WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_id); in sifive_errata_patch_func()
107 tmp = (1U << alt->patch_id); in sifive_errata_patch_func()
/arch/riscv/errata/thead/
Derrata.c101 if (alt->patch_id >= ERRATA_THEAD_NUMBER) in thead_errata_patch_func()
104 tmp = (1U << alt->patch_id); in thead_errata_patch_func()
/arch/riscv/kernel/
Dcpufeature.c863 id = PATCH_ID_CPUFEATURE_ID(alt->patch_id); in riscv_cpufeature_patch_func()
873 value = PATCH_ID_CPUFEATURE_VALUE(alt->patch_id); in riscv_cpufeature_patch_func()