From patchwork Mon Jan 28 16:18:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 216237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 425712C008F for ; Tue, 29 Jan 2013 03:19:34 +1100 (EST) Received: from localhost ([::1]:49954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzrQi-0003UK-2G for incoming@patchwork.ozlabs.org; Mon, 28 Jan 2013 11:19:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzrQN-0003Hz-Tt for qemu-devel@nongnu.org; Mon, 28 Jan 2013 11:19:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzrQK-0002DV-Gz for qemu-devel@nongnu.org; Mon, 28 Jan 2013 11:19:11 -0500 Received: from cantor2.suse.de ([195.135.220.15]:43519 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzrQK-0002DH-72 for qemu-devel@nongnu.org; Mon, 28 Jan 2013 11:19:08 -0500 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 56BBCA524D; Mon, 28 Jan 2013 17:19:07 +0100 (CET) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Mon, 28 Jan 2013 17:18:17 +0100 Message-Id: <1359389934-16663-1-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 195.135.220.15 Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Anthony Liguori , Eduardo Habkost Subject: [Qemu-devel] [PULL 00/37] QOM CPUState patch queue 2013-01-28 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hello, This is my current QOM CPU patch queue. Please pull. It includes: * x86 APIC ID topology fixes, * -cpu bugfixes related to QOM CPU subtypes for alpha, arm, m68k, or32 and uc32, * a new QOM accessor object_class_is_abstract(), * a CPUClass::class_by_name hook and cpu_class_by_name() wrapper, * various cleanups for x86, m68k, or32, uc32 and KVM. Another pull is intended before the Hard Freeze to give pending for-1.4 patches sufficient time for review. Regards, Andreas Cc: Anthony Liguori Cc: Eduardo Habkost Cc: Igor Mammedov The following changes since commit 6034fe7bdb555c43022706e228cde8d52a8b341a: xilinx_ethlite: Avoid build warnings in debug code (2013-01-27 01:05:00 +0100) are available in the git repository at: git://github.com/afaerber/qemu-cpu.git qom-cpu for you to fetch changes up to 290adf38967787bd985a5ec67dc4717e83c29eaa: kvm: Pass CPUState to kvm_on_sigbus_vcpu() (2013-01-28 16:57:56 +0100) ---------------------------------------------------------------- Andreas Färber (21): target-openrisc: Drop OpenRISCCPUList target-openrisc: Clean up triple QOM casts target-i386: Simplify cpu_x86_find_by_name() target-i386: Drop redundant list of CPU definitions cpu: Add model resolution support to CPUClass target-arm: Detect attempt to instantiate non-CPU type in cpu_init() target-alpha: Detect attempt to instantiate non-CPU type in cpu_init() target-m68k: Detect attempt to instantiate non-CPU type in cpu_init() target-openrisc: Detect attempt to instantiate non-CPU type in cpu_init() target-unicore32: Detect attempt to instantiate non-CPU type in cpu_init() qom: Introduce object_class_is_abstract() target-alpha: Catch attempt to instantiate abstract type in cpu_init() target-arm: Catch attempt to instantiate abstract type in cpu_init() target-m68k: Catch attempt to instantiate abstract type in cpu_init() target-openrisc: Catch attempt to instantiate abstract type in cpu_init() target-unicore32: Catch attempt to instantiate abstract type in cpu_init() target-openrisc: Use type_register() instead of type_register_static() target-unicore32: Use type_register() instead of type_register_static() target-m68k: Use type_register() instead of type_register_static() cpu: Unconditionalize CPUState fields kvm: Pass CPUState to kvm_on_sigbus_vcpu() Eduardo Habkost (11): kvm: Add fake KVM_FEATURE_CLOCKSOURCE_STABLE_BIT for builds without KVM target-i386: Don't set any KVM flag by default if KVM is disabled pc: Reverse pc_init_pci() compatibility logic kvm: Create kvm_arch_vcpu_id() function target-i386: kvm: Set vcpu_id to APIC ID instead of CPU index target-i386: Introduce x86_cpu_apic_id_from_index() function fw_cfg: Remove FW_CFG_MAX_CPUS from fw_cfg_init() cpus.h: Make constant smp_cores/smp_threads available on *-user pc: Set fw_cfg data based on APIC ID calculation target-i386: Topology & APIC ID utility functions pc: Generate APIC IDs according to CPU topology Igor Mammedov (5): target-i386: Print deprecation warning if xlevel < 0x80000000 target-i386: Replace uint32_t vendor fields by vendor string in x86_def_t target-i386: Remove vendor_override field from CPUX86State target-i386: Set custom features/properties without intermediate x86_def_t target-i386: Remove setting tsc-frequency from x86_def_t cpus.c | 8 +- hw/fw_cfg.c | 1 - hw/pc.c | 40 +++- hw/pc_piix.c | 26 ++- hw/ppc/mac_newworld.c | 1 + hw/ppc/mac_oldworld.c | 1 + hw/sun4m.c | 3 + hw/sun4u.c | 1 + include/qom/cpu.h | 17 +- include/qom/object.h | 8 + include/sysemu/cpus.h | 7 + include/sysemu/kvm.h | 6 +- kvm-all.c | 5 +- kvm-stub.c | 2 +- qom/cpu.c | 13 ++ qom/object.c | 5 + target-alpha/cpu.c | 16 +- target-arm/cpu.c | 18 ++ target-arm/helper.c | 6 +- target-i386/cpu.c | 389 ++++++++++++++++-------------------- target-i386/cpu.h | 12 +- target-i386/kvm.c | 6 + target-i386/topology.h | 136 +++++++++++++ target-m68k/cpu.c | 20 +- target-m68k/helper.c | 6 +- target-openrisc/cpu.c | 36 +++- target-openrisc/exception_helper.c | 2 +- target-openrisc/fpu_helper.c | 32 +-- target-openrisc/int_helper.c | 2 +- target-openrisc/interrupt_helper.c | 2 +- target-openrisc/mmu.c | 6 +- target-openrisc/sys_helper.c | 4 +- target-ppc/kvm.c | 5 + target-ppc/translate_init.c | 2 + target-s390x/kvm.c | 5 + target-unicore32/cpu.c | 26 ++- target-unicore32/helper.c | 6 +- tests/.gitignore | 1 + tests/Makefile | 9 +- tests/test-x86-cpuid.c | 110 ++++++++++ 40 Dateien geändert, 709 Zeilen hinzugefügt(+), 292 Zeilen entfernt(-) create mode 100644 target-i386/topology.h create mode 100644 tests/test-x86-cpuid.c