AMD microcode fixes for 3.11
Hi guys,
the tag message should explain it all so please pull.
Thanks.
The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8:
Linux 3.11-rc5 (2013-08-11 18:04:20 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/amd_ucode_fixes
for you to fetch changes up to 84516098b58e05821780dc0b89abcee434b4dca5:
x86, microcode, AMD: Fix early microcode loading (2013-08-12 18:32:45 +0200)
----------------------------------------------------------------
Those are basically two fixes which correct the AMD early ucode loader from accessing cpu_data too early, i.e. before smp_store_cpu_info() has copied the boot_cpu_data ontop and overwritten an already empty structure (which we shouldn't access that early in the first place anyway).
The second patch is kinda largish for that late in the game but it shouldn't be problematic because we're simply switching from using cpu_data to use the CPU family number directly and thus again, not use uninitialized cpu_data structure.
----------------------------------------------------------------
Torsten Kaiser (2):
x86, microcode, AMD: Make cpu_has_amd_erratum() use the correct struct cpuinfo_x86 x86, microcode, AMD: Fix early microcode loading
arch/x86/include/asm/microcode_amd.h | 2 +- arch/x86/kernel/cpu/amd.c | 20 +++++--------------- arch/x86/kernel/microcode_amd.c | 27 +++++++++++++-------------- arch/x86/kernel/microcode_amd_early.c | 27 +++++++++++++-------------- 4 files changed, 32 insertions(+), 44 deletions(-)
Signature · 5 lines
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--Quoted 35 lines · Borislav Petkov
Hi guys,
the tag message should explain it all so please pull.
Thanks.
The following changes since commit
d4e4ab86bcba5a72779c43dc1459f71fea3d89c8:Linux 3.11-rc5 (2013-08-11 18:04:20 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.gittags/amd_ucode_fixesfor you to fetch changes up to
84516098b58e05821780dc0b89abcee434b4dca5:x86, microcode, AMD: Fix early microcode loading (2013-08-12 18:32:45 +0200)
----------------------------------------------------------------
Those are basically two fixes which correct the AMD early ucode loader from accessingcpu_datatoo early, i.e. beforesmp_store_cpu_info()has copied theboot_cpu_dataontop and overwritten an already empty structure (which we shouldn't access that early in the first place anyway).The second patch is kinda largish for that late in the game but it shouldn't be problematic because we're simply switching from using
cpu_datato use the CPU family number directly and thus again, not use uninitializedcpu_datastructure.----------------------------------------------------------------
Torsten Kaiser (2):
x86, microcode, AMD: Makecpu_has_amd_erratum()use the correct structcpuinfo_x86x86, microcode, AMD: Fix early microcode loading
Quoted 5 lines
arch/x86/include/asm/microcode_amd.h | 2 +- arch/x86/kernel/cpu/amd.c | 20 +++++--------------- arch/x86/kernel/microcode_amd.c | 27 +++++++++++++-------------- arch/x86/kernel/microcode_amd_early.c | 27 +++++++++++++-------------- 4 files changed, 32 insertions(+), 44 deletions(-)
Pulled into x86/urgent, thanks Boris!
Ingo