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

Borislav Petkov
2013-03-20T14:07:36Z

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(-)

--
1.8.1.3.535.ga923c31