mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 23:21:49 -04:00
Merge tag 'x86_microcode_for_v6.10_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 microcode loader updates from Borislav Petkov: - Fix a clang-15 build warning and other cleanups * tag 'x86_microcode_for_v6.10_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/microcode: Remove unused struct cpu_info_ctx x86/microcode/AMD: Remove unused PATCH_MAX_SIZE macro x86/microcode/AMD: Avoid -Wformat warning with clang-15
This commit is contained in:
@@ -84,8 +84,6 @@ struct microcode_amd {
|
||||
unsigned int mpb[];
|
||||
};
|
||||
|
||||
#define PATCH_MAX_SIZE (3 * PAGE_SIZE)
|
||||
|
||||
static struct equiv_cpu_table {
|
||||
unsigned int num_entries;
|
||||
struct equiv_cpu_entry *entry;
|
||||
@@ -465,7 +463,7 @@ static bool early_apply_microcode(u32 cpuid_1_eax, u32 old_rev, void *ucode, siz
|
||||
return !__apply_microcode_amd(mc);
|
||||
}
|
||||
|
||||
static bool get_builtin_microcode(struct cpio_data *cp, unsigned int family)
|
||||
static bool get_builtin_microcode(struct cpio_data *cp, u8 family)
|
||||
{
|
||||
char fw_name[36] = "amd-ucode/microcode_amd.bin";
|
||||
struct firmware fw;
|
||||
|
||||
@@ -60,11 +60,6 @@ module_param(force_minrev, bool, S_IRUSR | S_IWUSR);
|
||||
*/
|
||||
struct ucode_cpu_info ucode_cpu_info[NR_CPUS];
|
||||
|
||||
struct cpu_info_ctx {
|
||||
struct cpu_signature *cpu_sig;
|
||||
int err;
|
||||
};
|
||||
|
||||
/*
|
||||
* Those patch levels cannot be updated to newer ones and thus should be final.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user