Skip to content

x86, cpu: Expand ->x86_capability flags with bugs bitvector, v2

Borislav Petkov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86, cpu: Expand cpufeature facility to include cpu bugsarch/x86/include/asm/cpufeature.h arch/x86/include/asm/processor.h arch/x86/kernel/alternative.c +1 more+19 -20 replies
2/6x86, cpu: Convert F00F bug detectionarch/x86/include/asm/cpufeature.h arch/x86/include/asm/processor.h arch/x86/kernel/cpu/intel.c +2 more+6 -50 replies
3/6x86, cpu: Convert FDIV bug detectionarch/x86/include/asm/cpufeature.h arch/x86/include/asm/processor.h arch/x86/kernel/cpu/bugs.c +2 more+6 -70 replies
4/6x86, cpu: Convert Cyrix coma bug detectionarch/x86/include/asm/cpufeature.h arch/x86/include/asm/processor.h arch/x86/kernel/cpu/cyrix.c +1 more+5 -40 replies
5/6x86, cpu: Convert AMD Erratum 383arch/x86/include/asm/cpufeature.h arch/x86/include/asm/processor.h arch/x86/kernel/cpu/amd.c +1 more+8 -40 replies
6/6x86, cpu: Convert AMD Erratum 400arch/x86/include/asm/cpufeature.h arch/x86/include/asm/processor.h arch/x86/kernel/cpu/amd.c +1 more+18 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] x86, cpu: Expand ->x86_capability flags with bugs bitvector, v2

From: Borislav Petkov <[email protected]>

Hi,

this is v2, with some added functionality in patches 5 and 6. It all looks pretty straight-forward and testing it in kvm (even with lying to the guest it is running on a Cyrix) works, as well as on bare metal.

Comments and suggestions appreciated,

Thanks.

Borislav Petkov (6):
x86, cpu: Expand cpufeature facility to include cpu bugs x86, cpu: Convert F00F bug detection
x86, cpu: Convert FDIV bug detection
x86, cpu: Convert Cyrix coma bug detection
x86, cpu: Convert AMD Erratum 383
x86, cpu: Convert AMD Erratum 400

 arch/x86/include/asm/cpufeature.h | 19 +++++++++++++++++++
 arch/x86/include/asm/processor.h  | 25 +------------------------
 arch/x86/kernel/alternative.c     |  2 +-
 arch/x86/kernel/cpu/amd.c         | 31 ++++++++++++++++++++++---------
 arch/x86/kernel/cpu/bugs.c        |  7 ++++---
 arch/x86/kernel/cpu/common.c      |  4 ++++
 arch/x86/kernel/cpu/cyrix.c       |  5 +++--
 arch/x86/kernel/cpu/intel.c       |  4 ++--
 arch/x86/kernel/cpu/proc.c        |  6 +++---
 arch/x86/kernel/process.c         |  2 +-
 arch/x86/kernel/setup.c           |  2 --
 arch/x86/kvm/svm.c                |  2 +-
 arch/x86/mm/fault.c               |  2 +-
 13 files changed, 62 insertions(+), 49 deletions(-)
Signature · 1 line
1.8.1.3.535.ga923c31