[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410958454-7501-1-git-send-email-namit@cs.technion.ac.il>
Date: Wed, 17 Sep 2014 15:54:11 +0300
From: Nadav Amit <namit@...technion.ac.il>
To: bp@...en8.de
Cc: mingo@...nel.org, nadav.amit@...il.com, pbonzini@...hat.com,
hpa@...or.com, mingo@...hat.com, tglx@...utronix.de,
x86@...nel.org, kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
a.p.zijlstra@...llo.nl, Nadav Amit <namit@...technion.ac.il>
Subject: [RESEND PATCH 0/3] x86: structs for cpuid info in x86
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists