qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/20 v4] x86 CPU cleanup (wave 2)
@ 2012-12-28 20:01 Igor Mammedov
  2012-12-28 20:01 ` [Qemu-devel] [PATCH 01/20] target-i386: filter out unsupported features at realize time Igor Mammedov
                   ` (20 more replies)
  0 siblings, 21 replies; 38+ messages in thread
From: Igor Mammedov @ 2012-12-28 20:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: ehabkost, afaerber

This series is several cleanups, moved out from CPU properties series,
since they do not really depend on CPU properties re-factoring and could
simplify CPU subclasses work as well.

Series doesn't depend on cpu as device or any other series, and applies
to current master.

git tree for testing:
    https://github.com/imammedo/qemu/tree/x86_cpu_cleanup.wave2.v4

v4:
 - rename [01/20] from:
     target-i386: filter out not TCG features if running without kvm at
       realize time
   to:
     target-i386: filter out unsupported features at realize time
 - make commit lines shorter for:
     target-i386: move kvm_check_features_against_host() check to realize
       time
 - restore removed by mistake host_cpuid() call in:
     target-i386: replace uint32_t vendor fields by vendor string in x86_def_t
 - fix spelling in:
     target-i386: print depricated warning if xlevel < 0x80000000
 - use qstring_append_int() for converting xlevel to string in:
     target-i386: set custom 'xlevel' without intermediate x86_def_t

v3:
 - [07/20] sets error if cpu name is empty, restore return -1 on error
 - get rid of *vendor_override field in CPUX86State & co
 - mark xlevel < 0x80000000 as depricated
 - squash idef-ing kvm specific functions in [08/20]
 - expand comment of [12/20] and reorder it right before "set custom" patches

v2:
 - cleanup commit message  and style fixes in
     [PATCH 2/6] target-i386: sanitize AMD's ext2_features at realize time
 - extracted more patches [07-20] from cpu properties series, that were
   more cleanups and code reorganizing than conversion to static properties.


Igor Mammedov (20):
  target-i386: filter out unsupported features at realize time
  target-i386: sanitize AMD's ext2_features at realize time
  target-i386: explicitly set vendor for each built-in cpudef
  target-i386: setting default 'vendor' is obsolete, remove it
  target-i386: move setting defaults out of cpu_x86_parse_featurestr()
  target-i386: move out CPU features initialization in separate func
  target-i386: cpu_x86_register() consolidate freeing resources
  target-i386: move kvm_check_features_against_host() check to realize
    time
  target-i386: add x86cpu_vendor_words2str()
  target-i386: replace uint32_t vendor fields by vendor string in
    x86_def_t
  target-i386: remove vendor_override field from CPUX86State
  target-i386: prepare cpu_x86_parse_featurestr() to return a set of
    key,value property pairs
  target-i386: set custom 'vendor' without intermediate x86_def_t
  target-i386: print deprecated warning if xlevel < 0x80000000
  target-i386: set custom 'xlevel' without intermediate x86_def_t
  target-i386: set custom 'level' without intermediate x86_def_t
  target-i386: set custom 'model-id' without intermediate x86_def_t
  target-i386: set custom 'stepping' without intermediate x86_def_t
  target-i386: set custom 'model' without intermediate x86_def_t
  target-i386: set custom 'family' without intermediate x86_def_t

 target-i386/cpu.c |  377 +++++++++++++++++++++++++----------------------------
 target-i386/cpu.h |    7 +-
 2 files changed, 179 insertions(+), 205 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [Qemu-devel] [PATCH 00/20 v3] x86 CPU cleanup (wave 2)
@ 2012-12-27 14:59 Igor Mammedov
  2012-12-27 14:59 ` [Qemu-devel] [PATCH 02/20] target-i386: sanitize AMD's ext2_features at realize time Igor Mammedov
  0 siblings, 1 reply; 38+ messages in thread
From: Igor Mammedov @ 2012-12-27 14:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: ehabkost, afaerber

This series is several cleanups, moved out from CPU properties series,
since they do not really depend on CPU properties re-factoring and could
simplify CPU subclasses work as well.

Series doesn't depend on cpu as device or any other series, and applies
to current master.

git tree for testing:
    https://github.com/imammedo/qemu/tree/x86_cpu_cleanup.wave2.v3

v3:
 - [07/20] sets error if cpu name is empty, restore return -1 on error
 - get rid of *vendor_override field in CPUX86State & co
 - mark xlevel < 0x80000000 as depricated
 - squash idef-ing kvm specific functions in [08/20]
 - expand comment of [12/20] and reorder it right before "set custom" patches

v2:
 - cleanup commit message  and style fixes in
     [PATCH 2/6] target-i386: sanitize AMD's ext2_features at realize time
 - extracted more patches [07-20] from cpu properties series, that were
   more cleanups and code reorganizing than conversion to static properties.

Igor Mammedov (20):
  target-i386: filter out not TCG features if running without kvm at
    realize time
  target-i386: sanitize AMD's ext2_features at realize time
  target-i386: explicitly set vendor for each built-in cpudef
  target-i386: setting default 'vendor' is obsolete, remove it
  target-i386: move setting defaults out of cpu_x86_parse_featurestr()
  target-i386: move out CPU features initialization in separate func
  target-i386: cpu_x86_register() consolidate freeing resources
  target-i386: move kvm_check_features_against_host() check to realize
    time
  target-i386: add x86cpu_vendor_words2str()
  target-i386: replace uint32_t vendor fields by vendor string in
    x86_def_t
  target-i386: remove vendor_override field from CPUX86State
  target-i386: prepare cpu_x86_parse_featurestr() to return a set of
    key,value property pairs
  target-i386: set custom 'vendor' without intermediate x86_def_t
  target-i386: print depricated warning if xlevel < 0x80000000
  target-i386: set custom 'xlevel' without intermediate x86_def_t
  target-i386: set custom 'level' without intermediate x86_def_t
  target-i386: set custom 'model-id' without intermediate x86_def_t
  target-i386: set custom 'stepping' without intermediate x86_def_t
  target-i386: set custom 'model' without intermediate x86_def_t
  target-i386: set custom 'family' without intermediate x86_def_t

 target-i386/cpu.c |  377 +++++++++++++++++++++++++----------------------------
 target-i386/cpu.h |    7 +-
 2 files changed, 178 insertions(+), 206 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [Qemu-devel] [PATCH 00/20 v2] x86 CPU cleanup (wave 2)
@ 2012-12-17 16:01 Igor Mammedov
  2012-12-17 16:01 ` [Qemu-devel] [PATCH 02/20] target-i386: sanitize AMD's ext2_features at realize time Igor Mammedov
  0 siblings, 1 reply; 38+ messages in thread
From: Igor Mammedov @ 2012-12-17 16:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: Don, ehabkost, afaerber

This series is several cleanups, moved out from CPU properties series,
since they do not really depend on CPU properties re-factoring and could
simplify CPU subclasses work as well.

Series doesn't depend on cpu as device or any other series, and applies
to current master.

git tree for testing:
    https://github.com/imammedo/qemu/tree/x86_cpu_cleanup.wave2.v2

v2:
 - cleanup commit message  and style fixes in
     [PATCH 2/6] target-i386: sanitize AMD's ext2_features at realize time
 - extracted more patches [07-20] from cpu properties series, that were
   more cleanups and code reorganizing than conversion to static properties.

Igor Mammedov (20):
  target-i386: filter out not TCG features if running without kvm at
    realize time
  target-i386: sanitize AMD's ext2_features at realize time
  target-i386: explicitly set vendor for each built-in cpudef
  target-i386: setting default 'vendor' is obsolete, remove it
  target-i386: move setting defaults out of cpu_x86_parse_featurestr()
  target-i386: move out CPU features initialization in separate func
  target-i386: cpu_x86_register() consolidate freeing resources
  target-i386: compile kvm only functions if CONFIG_KVM is defined
  target-i386: move kvm_check_features_against_host() check to realize
    time
  target-i386: prepare cpu_x86_parse_featurestr() to return a set of
    key,value property pairs
  target-i386: do not set vendor_override in x86_cpuid_set_vendor()
  target-i386: replace uint32_t vendor fields by vendor string in
    x86_def_t
  target-i386: convert [cpuid_]vendor_override to bool
  target-i386: set custom 'vendor' without intermediate x86_def_t
  target-i386: set custom 'xlevel' without intermediate x86_def_t
  target-i386: set custom 'level' without intermediate x86_def_t
  target-i386: set custom 'model-id' without intermediate x86_def_t
  target-i386: set custom 'stepping' without intermediate x86_def_t
  target-i386: set custom 'model' without intermediate x86_def_t
  target-i386: set custom 'family' without intermediate x86_def_t

 target-i386/cpu.c |  338 ++++++++++++++++++++++++-----------------------------
 target-i386/cpu.h |    8 +-
 2 files changed, 158 insertions(+), 188 deletions(-)

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

end of thread, other threads:[~2013-01-08 18:21 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 20:01 [Qemu-devel] [PATCH 00/20 v4] x86 CPU cleanup (wave 2) Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 01/20] target-i386: filter out unsupported features at realize time Igor Mammedov
2012-12-28 20:49   ` Eduardo Habkost
2012-12-28 20:01 ` [Qemu-devel] [PATCH 02/20] target-i386: sanitize AMD's ext2_features " Igor Mammedov
2013-01-08 16:04   ` Andreas Färber
2012-12-28 20:01 ` [Qemu-devel] [PATCH 03/20] target-i386: explicitly set vendor for each built-in cpudef Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 04/20] target-i386: setting default 'vendor' is obsolete, remove it Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 05/20] target-i386: move setting defaults out of cpu_x86_parse_featurestr() Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 06/20] target-i386: move out CPU features initialization in separate func Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 07/20] target-i386: cpu_x86_register() consolidate freeing resources Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 08/20] target-i386: move kvm_check_features_against_host() check to realize time Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 09/20] target-i386: add x86cpu_vendor_words2str() Igor Mammedov
2013-01-04 14:25   ` [Qemu-devel] [PATCH 09/20 v2] " Igor Mammedov
2013-01-04 15:50     ` Eduardo Habkost
2013-01-04 19:37       ` [Qemu-devel] [PATCH 09/20 v3] " Igor Mammedov
2013-01-04 20:02         ` Eduardo Habkost
2013-01-04 20:46           ` Igor Mammedov
2013-01-04 22:12             ` Eduardo Habkost
2013-01-04 22:49   ` [Qemu-devel] [PATCH 09/20 v4] " Igor Mammedov
2013-01-07 13:03     ` Eduardo Habkost
2012-12-28 20:01 ` [Qemu-devel] [PATCH 10/20] target-i386: replace uint32_t vendor fields by vendor string in x86_def_t Igor Mammedov
2012-12-28 20:50   ` Eduardo Habkost
2012-12-28 20:01 ` [Qemu-devel] [PATCH 11/20] target-i386: remove vendor_override field from CPUX86State Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 12/20] target-i386: prepare cpu_x86_parse_featurestr() to return a set of key, value property pairs Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 13/20] target-i386: set custom 'vendor' without intermediate x86_def_t Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 14/20] target-i386: print deprecated warning if xlevel < 0x80000000 Igor Mammedov
2012-12-28 20:50   ` Eduardo Habkost
2012-12-28 20:01 ` [Qemu-devel] [PATCH 15/20] target-i386: set custom 'xlevel' without intermediate x86_def_t Igor Mammedov
2012-12-28 20:50   ` Eduardo Habkost
2012-12-28 20:01 ` [Qemu-devel] [PATCH 16/20] target-i386: set custom 'level' " Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 17/20] target-i386: set custom 'model-id' " Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 18/20] target-i386: set custom 'stepping' " Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 19/20] target-i386: set custom 'model' " Igor Mammedov
2012-12-28 20:01 ` [Qemu-devel] [PATCH 20/20] target-i386: set custom 'family' " Igor Mammedov
2013-01-08 18:21 ` [Qemu-devel] [PATCH 00/20 v4] x86 CPU cleanup (wave 2) Andreas Färber
  -- strict thread matches above, loose matches on Subject: below --
2012-12-27 14:59 [Qemu-devel] [PATCH 00/20 v3] " Igor Mammedov
2012-12-27 14:59 ` [Qemu-devel] [PATCH 02/20] target-i386: sanitize AMD's ext2_features at realize time Igor Mammedov
2012-12-27 18:42   ` Eduardo Habkost
2012-12-17 16:01 [Qemu-devel] [PATCH 00/20 v2] x86 CPU cleanup (wave 2) Igor Mammedov
2012-12-17 16:01 ` [Qemu-devel] [PATCH 02/20] target-i386: sanitize AMD's ext2_features at realize time Igor Mammedov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).