[RESEND PATCH 0/3] x86: structs for cpuid info in x86

From: Nadav Amit
Date: Wed Sep 17 2014 - 08:54:33 EST


The code that deals with x86 cpuid fields is hard to follow since it performs
many bit operations and does not refer to cpuid field explicitly. To
eliminate the need of openning a spec whenever dealing with cpuid fields, this
patch-set introduces structs that reflect the various cpuid functions.

Thanks for reviewing the patch-set.

Nadav Amit (3):
x86: Adding structs to reflect cpuid fields
x86: Use new cpuid structs in cpuid functions
KVM: x86: Using cpuid structs in KVM

arch/x86/include/asm/cpuid_def.h | 163 +++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/cpu/common.c | 56 ++++++++------
arch/x86/kvm/cpuid.c | 36 +++++----
3 files changed, 219 insertions(+), 36 deletions(-)
create mode 100644 arch/x86/include/asm/cpuid_def.h

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/