Received: from eggs.gnu.org ([2001:4830:134:3::10]:45678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1borlC-0006n3-TQ for qemu-devel@nongnu.org; Tue, 27 Sep 2016 08:45:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1borl8-0001ML-Pv for qemu-devel@nongnu.org; Tue, 27 Sep 2016 08:45:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1borl8-0001Ly-KH for qemu-devel@nongnu.org; Tue, 27 Sep 2016 08:45:18 -0400 Date: Tue, 27 Sep 2016 09:45:15 -0300 From: Eduardo Habkost Message-ID: <20160927124515.GC9160@thinpad.lan.raisama.net> References: <1474556029-24992-1-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474556029-24992-1-git-send-email-ehabkost@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/6] target-i386: Increase CPUID level/xlevel/xlevel2 automatically List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Bandan Das , Brijesh Singh , Igor Mammedov , Richard Henderson On Thu, Sep 22, 2016 at 11:53:43AM -0300, Eduardo Habkost wrote: > This series fixes the inconsistency between CPUID[7].EBX features > and all the rest of the configurable CPU features. This ensures > that level/xlevel/xlevel2 will be set to appropriate values > depending on the set of features enabled in a CPU model or in the > command-line. > > Changes v1 -> v2: > * Coding style changes (split long lines) > * Simplify compat logic: instead of 3 max_level* fields and > 2 cpuid_auto_level_* fields, add a single full_cpuid_auto_level > boolean field > * If the user set level/xlevel/xlevel2 to 0 explicitly, do what > was asked for (use UINT32_MAX as default value) > > Eduardo Habkost (6): > target-i386: Remove unused X86CPUDefinition::xlevel2 field > target-i386: Add a marker to end of the region zeroed on reset > tests: Add test code for CPUID level/xlevel handling > tests: Test CPUID level handling for old machines > target-i386: Automatically set level/xlevel/xlevel2 when needed > target-i386: Enable CPUID[0x8000000A] if SVM is enabled Queued on x86-next. -- Eduardo