diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-20 15:07:54 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-20 15:07:54 -0500 |
| commit | 2bb2c5e235e8459de5761f89bc2bcb2efd2b6b45 (patch) | |
| tree | 3671fd287ecbe739cb79537fb5353bcecb939aa9 /arch/x86/include/asm/microcode_amd.h | |
| parent | 4500cf60dbe4b7f514d11b24c3e1edfda2a6d69d (diff) | |
| parent | 9c079129d7bfb24251890e40694fd79dd1872ed9 (diff) | |
Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 microcode loader updates from Ingo Molnar:
"There are two main changes in this tree:
- AMD microcode early loading fixes
- some microcode loader source files reorganization"
* 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, microcode: Move to a proper location
x86, microcode, AMD: Fix early ucode loading
x86, microcode: Share native MSR accessing variants
x86, ramdisk: Export relocated ramdisk VA
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); |
