diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2012-07-26 09:51:00 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-08-22 19:15:58 -0400 |
commit | 48e30685caa8bdc4b8d4417d8ac31db59689742c (patch) | |
tree | 277f6c607f28892514e87c0dc25dc330eea6621a /arch/x86/kernel/microcode_amd.c | |
parent | 5f5b747282c6cc57b91baba37f76de27398b9e60 (diff) |
x86, microcode: Add a refresh firmware flag to ->request_microcode_fw
This is done in preparation for teaching the ucode driver to either load
a new ucode patches container from userspace or use an already cached
version. No functionality change in this patch.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/1344361461-10076-10-git-send-email-bp@amd64.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/microcode_amd.c')
-rw-r--r-- | arch/x86/kernel/microcode_amd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c index 25d34b177482..94ecdaa24052 100644 --- a/arch/x86/kernel/microcode_amd.c +++ b/arch/x86/kernel/microcode_amd.c | |||
@@ -330,7 +330,8 @@ out: | |||
330 | * | 330 | * |
331 | * These might be larger than 2K. | 331 | * These might be larger than 2K. |
332 | */ | 332 | */ |
333 | static enum ucode_state request_microcode_amd(int cpu, struct device *device) | 333 | static enum ucode_state request_microcode_amd(int cpu, struct device *device, |
334 | bool refresh_fw) | ||
334 | { | 335 | { |
335 | char fw_name[36] = "amd-ucode/microcode_amd.bin"; | 336 | char fw_name[36] = "amd-ucode/microcode_amd.bin"; |
336 | const struct firmware *fw; | 337 | const struct firmware *fw; |