From patchwork Fri Jul 20 07:08:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mao, Junjie" X-Patchwork-Id: 172144 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 5E6CC2C0FC9 for ; Fri, 20 Jul 2012 17:08:42 +1000 (EST) Received: from localhost ([::1]:42029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss7KK-0000iL-DN for incoming@patchwork.ozlabs.org; Fri, 20 Jul 2012 03:08:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss7KC-0000i1-F6 for qemu-devel@nongnu.org; Fri, 20 Jul 2012 03:08:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ss7K6-0008WI-K3 for qemu-devel@nongnu.org; Fri, 20 Jul 2012 03:08:32 -0400 Received: from mga09.intel.com ([134.134.136.24]:48721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss7K6-0008WB-E1; Fri, 20 Jul 2012 03:08:26 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 20 Jul 2012 00:08:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208";a="168813816" Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by orsmga001.jf.intel.com with ESMTP; 20 Jul 2012 00:08:23 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.19.17.221) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.1.355.2; Fri, 20 Jul 2012 00:08:23 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx152.amr.corp.intel.com (10.19.17.221) with Microsoft SMTP Server (TLS) id 14.1.355.2; Fri, 20 Jul 2012 00:08:19 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.82]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.47]) with mapi id 14.01.0355.002; Fri, 20 Jul 2012 15:08:22 +0800 From: "Mao, Junjie" To: "'qemu-devel@nongnu.org'" , "'kvm@vger.kernel.org'" Thread-Topic: [PATCH RESEND] Recognize PCID feature Thread-Index: Ac1gtA9KB3xI4dATSxiEbIlMCDg43wEjwiqw Date: Fri, 20 Jul 2012 07:08:21 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 134.134.136.24 Cc: "'qemu-trivial@nongnu.org'" Subject: [Qemu-devel] [PATCH RESEND] Recognize PCID feature 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 This patch makes Qemu recognize the PCID feature specified from configuration or command line options. Signed-off-by: Junjie Mao --- target-i386/cpu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- 1.7.1 diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 5521709..efc6ece 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -50,7 +50,7 @@ static const char *ext_feature_name[] = { "ds_cpl", "vmx", "smx", "est", "tm2", "ssse3", "cid", NULL, "fma", "cx16", "xtpr", "pdcm", - NULL, NULL, "dca", "sse4.1|sse4_1", + NULL, "pcid", "dca", "sse4.1|sse4_1", "sse4.2|sse4_2", "x2apic", "movbe", "popcnt", "tsc-deadline", "aes", "xsave", "osxsave", "avx", NULL, NULL, "hypervisor",