diff options
| author | Ingo Molnar <mingo@kernel.org> | 2014-01-14 08:01:47 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2014-01-14 08:01:47 -0500 |
| commit | 9c079129d7bfb24251890e40694fd79dd1872ed9 (patch) | |
| tree | 6049920eea5810bbd38f417f1313fa35f5a0679d /arch/x86/include/asm/microcode_amd.h | |
| parent | 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6 (diff) | |
| parent | bad5fa631fca5466401cd4a48e30cc1f1cb6101e (diff) | |
Merge tag 'amd_ucode_for_3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp into x86/microcode
Pull x86 microcode loader updates from Borislav Petkov:
- AMD microcode early loading fixes
- Some microcode loader source files reorganization
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/microcode_amd.h')
| -rw-r--r-- | arch/x86/include/asm/microcode_amd.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/include/asm/microcode_amd.h b/arch/x86/include/asm/microcode_amd.h index 4c019179a57d..b7b10b82d3e5 100644 --- a/arch/x86/include/asm/microcode_amd.h +++ b/arch/x86/include/asm/microcode_amd.h | |||
| @@ -61,11 +61,10 @@ extern int __apply_microcode_amd(struct microcode_amd *mc_amd); | |||
| 61 | extern int apply_microcode_amd(int cpu); | 61 | extern int apply_microcode_amd(int cpu); |
| 62 | extern enum ucode_state load_microcode_amd(u8 family, const u8 *data, size_t size); | 62 | extern enum ucode_state load_microcode_amd(u8 family, const u8 *data, size_t size); |
| 63 | 63 | ||
| 64 | #define PATCH_MAX_SIZE PAGE_SIZE | ||
| 65 | extern u8 amd_ucode_patch[PATCH_MAX_SIZE]; | ||
| 66 | |||
| 64 | #ifdef CONFIG_MICROCODE_AMD_EARLY | 67 | #ifdef CONFIG_MICROCODE_AMD_EARLY |
| 65 | #ifdef CONFIG_X86_32 | ||
| 66 | #define MPB_MAX_SIZE PAGE_SIZE | ||
| 67 | extern u8 amd_bsp_mpb[MPB_MAX_SIZE]; | ||
| 68 | #endif | ||
| 69 | extern void __init load_ucode_amd_bsp(void); | 68 | extern void __init load_ucode_amd_bsp(void); |
| 70 | extern void load_ucode_amd_ap(void); | 69 | extern void load_ucode_amd_ap(void); |
| 71 | extern int __init save_microcode_in_initrd_amd(void); | 70 | extern int __init save_microcode_in_initrd_amd(void); |
