All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version
@ 2012-02-17 16:46 Andreas Färber
  2012-02-17 16:46 ` [Qemu-devel] [PATCH 1/4] target-i386: Introduce x86_cpuid_version_set_family() Andreas Färber
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Andreas Färber @ 2012-02-17 16:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: andre.przywara, Andreas Färber

Hello x86 gurus,

This series came out of my qom-cpu work. The reasoning is that in a QOM world
we will need this logic twice, once as before and once for
-cpu family=x,model=y,stepping=z,model_id=foo.

Note: The family=x value is not bounds-checked in cpu_x86_find_by_name()!

I'd appreciate if someone could double-check the masks I added. I calculated
them based on "Intel® Processor Identification and the CPUID Instruction.
Application Note 485. January 2011".

Thanks,
Andreas

Cc: Andre Przywara <andre.przywara@amd.com>

Andreas Färber (4):
  target-i386: Introduce x86_cpuid_version_set_family()
  target-i386: Introduce x86_cpuid_version_set_model()
  target-i386: Introduce x86_cpuid_version_set_stepping()
  target-i386: Introduce x86_cpuid_set_model_id()

 target-i386/cpuid.c |   64 +++++++++++++++++++++++++++++++++++----------------
 1 files changed, 44 insertions(+), 20 deletions(-)

-- 
1.7.7

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-24 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-17 16:46 [Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version Andreas Färber
2012-02-17 16:46 ` [Qemu-devel] [PATCH 1/4] target-i386: Introduce x86_cpuid_version_set_family() Andreas Färber
2012-02-17 16:46 ` [Qemu-devel] [PATCH 2/4] target-i386: Introduce x86_cpuid_version_set_model() Andreas Färber
2012-02-17 16:46 ` [Qemu-devel] [PATCH 3/4] target-i386: Introduce x86_cpuid_version_set_stepping() Andreas Färber
2012-02-17 16:46 ` [Qemu-devel] [PATCH 4/4] target-i386: Introduce x86_cpuid_set_model_id() Andreas Färber
2012-02-24 15:31 ` [Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.