From patchwork Wed Dec 1 11:17:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 370961 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB1BCvDo021906 for ; Wed, 1 Dec 2010 11:12:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752057Ab0LALMy (ORCPT ); Wed, 1 Dec 2010 06:12:54 -0500 Received: from va3ehsobe006.messaging.microsoft.com ([216.32.180.16]:1693 "EHLO VA3EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751526Ab0LALMx (ORCPT ); Wed, 1 Dec 2010 06:12:53 -0500 Received: from mail163-va3-R.bigfish.com (10.7.14.243) by VA3EHSOBE006.bigfish.com (10.7.40.26) with Microsoft SMTP Server id 14.1.225.8; Wed, 1 Dec 2010 11:12:51 +0000 Received: from mail163-va3 (localhost.localdomain [127.0.0.1]) by mail163-va3-R.bigfish.com (Postfix) with ESMTP id 14AE0EF81BB; Wed, 1 Dec 2010 11:12:51 +0000 (UTC) X-SpamScore: 18 X-BigFish: VPS18(z3f22w39a1jzbb2cKzz1202hzz8275bhz32i691h668h67dh45k61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:ausb3twp02.amd.com; RD:none; EFVD:NLI Received: from mail163-va3 (localhost.localdomain [127.0.0.1]) by mail163-va3 (MessageSwitch) id 1291201969227914_3957; Wed, 1 Dec 2010 11:12:49 +0000 (UTC) Received: from VA3EHSMHS002.bigfish.com (unknown [10.7.14.243]) by mail163-va3.bigfish.com (Postfix) with ESMTP id 349349D0051; Wed, 1 Dec 2010 11:12:49 +0000 (UTC) Received: from ausb3twp02.amd.com (163.181.249.109) by VA3EHSMHS002.bigfish.com (10.7.99.12) with Microsoft SMTP Server id 14.1.225.8; Wed, 1 Dec 2010 11:12:45 +0000 X-WSS-ID: 0LCQXT5-02-9WI-02 X-M-MSG: Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com [163.181.249.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp02.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP id 27D12C848D; Wed, 1 Dec 2010 05:12:40 -0600 (CST) Received: from sausexhtp01.amd.com (163.181.3.165) by sausexedgep01.amd.com (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.106.1; Wed, 1 Dec 2010 05:14:15 -0600 Received: from storexhtp02.amd.com (172.24.4.4) by sausexhtp01.amd.com (163.181.3.165) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 1 Dec 2010 05:12:44 -0600 Received: from gwo.osrc.amd.com (165.204.16.204) by storexhtp02.amd.com (172.24.4.4) with Microsoft SMTP Server id 8.3.83.0; Wed, 1 Dec 2010 06:12:43 -0500 Received: from localhost.localdomain (tronje.osrc.amd.com [165.204.15.48]) by gwo.osrc.amd.com (Postfix) with ESMTP id 84B0349C131; Wed, 1 Dec 2010 11:12:42 +0000 (GMT) From: Andre Przywara To: CC: , , Andre Przywara Subject: [PATCH] kvm/x86: enlarge number of possible CPUID leaves Date: Wed, 1 Dec 2010 12:17:44 +0100 Message-ID: <1291202264-3128-1-git-send-email-andre.przywara@amd.com> X-Mailer: git-send-email 1.6.4 MIME-Version: 1.0 X-OriginatorOrg: amd.com Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Dec 2010 11:12:57 +0000 (UTC) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 54e42c8..3cc80c4 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -79,7 +79,7 @@ #define KVM_NUM_MMU_PAGES (1 << KVM_MMU_HASH_SHIFT) #define KVM_MIN_FREE_MMU_PAGES 5 #define KVM_REFILL_PAGES 25 -#define KVM_MAX_CPUID_ENTRIES 40 +#define KVM_MAX_CPUID_ENTRIES 80 #define KVM_NR_FIXED_MTRR_REGION 88 #define KVM_NR_VAR_MTRR 8