Skip to contentSkip to conversation

AMD microcode loader fixes for 3.14

GIT PULL Borislav Petkov 2 participants 2 messages Jan 14, 2014

lore
Share & tools
lore
#0 lore raw

Hi guys,

please pull these microcode loader fixes which addresses early microcode loading on AMD. The patches have been ready for a while now and I've been running them here for weeks but was waiting for AMD to test them too before I send out.

Also, I think it is finally time for the microcode loader to have its own source tree directory, so the last patch does that. :-)

Please pull,
thanks.

---
The following changes since commit 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6:

Linux 3.13-rc8 (2014-01-12 17:04:18 +0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/amd_ucode_for_3.14

for you to fetch changes up to bad5fa631fca5466401cd4a48e30cc1f1cb6101e:

x86, microcode: Move to a proper location (2014-01-13 20:00:12 +0100)

----------------------------------------------------------------
- AMD microcode early loading fixes
- some microcode loader source files reorganization

----------------------------------------------------------------
Borislav Petkov (4):
x86, ramdisk: Export relocated ramdisk VA x86, microcode: Share native MSR accessing variants x86, microcode, AMD: Fix early ucode loading x86, microcode: Move to a proper location

 arch/x86/Kconfig                                   |   4 -
 arch/x86/include/asm/microcode.h                   |  15 ++
 arch/x86/include/asm/microcode_amd.h               |   7 +-
 arch/x86/include/asm/setup.h                       |   3 +-
 arch/x86/kernel/Makefile                           |   9 -
 arch/x86/kernel/cpu/Makefile                       |   1 +
 arch/x86/kernel/cpu/microcode/Makefile             |   7 +
 .../{microcode_amd.c => cpu/microcode/amd.c}       |  13 +-
 .../microcode/amd_early.c}                         | 239 ++++++++++++++-------
 .../{microcode_core.c => cpu/microcode/core.c}     |   0
 .../microcode/core_early.c}                        |   0
 .../{microcode_intel.c => cpu/microcode/intel.c}   |   0
 .../microcode/intel_early.c}                       |  10 -
 .../microcode/intel_lib.c}                         |   0
 arch/x86/kernel/setup.c                            |  19 +-
 15 files changed, 205 insertions(+), 122 deletions(-)
 create mode 100644 arch/x86/kernel/cpu/microcode/Makefile
 rename arch/x86/kernel/{microcode_amd.c => cpu/microcode/amd.c} (96%)
 rename arch/x86/kernel/{microcode_amd_early.c => cpu/microcode/amd_early.c} (55%)
 rename arch/x86/kernel/{microcode_core.c => cpu/microcode/core.c} (100%)
 rename arch/x86/kernel/{microcode_core_early.c => cpu/microcode/core_early.c} (100%)
 rename arch/x86/kernel/{microcode_intel.c => cpu/microcode/intel.c} (100%)
 rename arch/x86/kernel/{microcode_intel_early.c => cpu/microcode/intel_early.c} (98%)
 rename arch/x86/kernel/{microcode_intel_lib.c => cpu/microcode/intel_lib.c} (100%)
Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
#1 lore raw
Quoted 53 lines · Borislav Petkov

Hi guys,

please pull these microcode loader fixes which addresses early microcode loading on AMD. The patches have been ready for a while now and I've been running them here for weeks but was waiting for AMD to test them too before I send out.

Also, I think it is finally time for the microcode loader to have its own source tree directory, so the last patch does that. :-)

Please pull,
thanks.

---
The following changes since commit 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6:

Linux 3.13-rc8 (2014-01-12 17:04:18 +0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/amd_ucode_for_3.14

for you to fetch changes up to bad5fa631fca5466401cd4a48e30cc1f1cb6101e:

x86, microcode: Move to a proper location (2014-01-13 20:00:12 +0100)

----------------------------------------------------------------
- AMD microcode early loading fixes
- some microcode loader source files reorganization

----------------------------------------------------------------
Borislav Petkov (4):
x86, ramdisk: Export relocated ramdisk VA x86, microcode: Share native MSR accessing variants x86, microcode, AMD: Fix early ucode loading x86, microcode: Move to a proper location

 arch/x86/Kconfig                                   |   4 -
 arch/x86/include/asm/microcode.h                   |  15 ++
 arch/x86/include/asm/microcode_amd.h               |   7 +-
 arch/x86/include/asm/setup.h                       |   3 +-
 arch/x86/kernel/Makefile                           |   9 -
 arch/x86/kernel/cpu/Makefile                       |   1 +
 arch/x86/kernel/cpu/microcode/Makefile             |   7 +
 .../{microcode_amd.c => cpu/microcode/amd.c}       |  13 +-
 .../microcode/amd_early.c}                         | 239 ++++++++++++++-------
 .../{microcode_core.c => cpu/microcode/core.c}     |   0
 .../microcode/core_early.c}                        |   0
 .../{microcode_intel.c => cpu/microcode/intel.c}   |   0
 .../microcode/intel_early.c}                       |  10 -
 .../microcode/intel_lib.c}                         |   0
 arch/x86/kernel/setup.c                            |  19 +-
 15 files changed, 205 insertions(+), 122 deletions(-)
Quoted 8 lines
 create mode 100644 arch/x86/kernel/cpu/microcode/Makefile
 rename arch/x86/kernel/{microcode_amd.c => cpu/microcode/amd.c} (96%)
 rename arch/x86/kernel/{microcode_amd_early.c => cpu/microcode/amd_early.c} (55%)
 rename arch/x86/kernel/{microcode_core.c => cpu/microcode/core.c} (100%)
 rename arch/x86/kernel/{microcode_core_early.c => cpu/microcode/core_early.c} (100%)
 rename arch/x86/kernel/{microcode_intel.c => cpu/microcode/intel.c} (100%)
 rename arch/x86/kernel/{microcode_intel_early.c => cpu/microcode/intel_early.c} (98%)
 rename arch/x86/kernel/{microcode_intel_lib.c => cpu/microcode/intel_lib.c} (100%)

Pulled into tip:x86/microcode, thanks Boris!

Ingo