From nobody Fri Nov 7 14:34:57 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548095394192885.7849143806706; Mon, 21 Jan 2019 10:29:54 -0800 (PST) Received: from localhost ([127.0.0.1]:57669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gleKS-0006Z4-RL for importer@patchew.org; Mon, 21 Jan 2019 13:29:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gldyN-0004ct-1I for qemu-devel@nongnu.org; Mon, 21 Jan 2019 13:07:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gldyM-0004Rc-5l for qemu-devel@nongnu.org; Mon, 21 Jan 2019 13:06:59 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:43998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gldyL-0004Qk-VJ for qemu-devel@nongnu.org; Mon, 21 Jan 2019 13:06:58 -0500 Received: by mail-wr1-x42a.google.com with SMTP id r10so24429902wrs.10 for ; Mon, 21 Jan 2019 10:06:57 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id 133sm56197732wme.9.2019.01.21.10.06.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 10:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=1mI8ojYx3jxSD4chp/W+K4w3rOXm5sm/y3TRqtbgRsU=; b=b+ExSrxdxzghHOo6gsuk+57NN/4PeXTuKSlv7BRbtj7qeMNuI1FfrQH6nJCazvBXn8 x/dDCQaPks8i+WDN/1mPkmY34TwR4stEdYSnPU4fDuPwTO8rTpaJK/xp9otfrsUosolx bklMH1XklFSqGvXRV0BPiBZ8DsLoZaOPWgpBaPalWo2zBKQfzsGHySiFns0MZ2mxI4lj ur/kqOsnWJlSElf8SF9CcE3OLRcU8F25GOBPfknO9COaQLdS1v1/OxiiTsEdXIz2lqez vCUSb7R3cHSCvx+uAAAqfWFitqz3/JX+Q6Bt2NbwGTKkFwf8eLgnfoBaZsK0asd3cxxR nL8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=1mI8ojYx3jxSD4chp/W+K4w3rOXm5sm/y3TRqtbgRsU=; b=LPxGUK4sPtXzgw15q/sgRSUeUEtLfdItjEB+5VA2Stvdo22Bst0GFRwvF0EUtbaaRw 58C7XfNYQaEjB0fEwAjWNJiilzK5/jl4WCofTyz3i4i4DNlYW8Z9lV7SjKeXr8lp8Gyw 50jzeLsD823gwAVeScMxq/tkMG6OAUaABxUgqEe1LEpk/qKDH9D9Az/Et9fFqYWQpS/F Q36kon9KN56gVUxbLdRVxnrTgj+850j59yb92Qibw/04IxYosD3JoY0N1jjmzSoc4Njo Tj8asxQ7UHDp7S48TXoUgp8tUfrgMEm8BPGcYI5Hi3j5c00yKccbAu66Fo+PHylsmTik 79FQ== X-Gm-Message-State: AJcUukfG5Zej4PhOHkVjWxSnT+Fzgt4XAkmcvF2lvRUzS0rBy33VGbRw F7eyWeH7f1mCPRKcqn60T4gOHVxV X-Google-Smtp-Source: ALg8bN59Z4nb2YV2IDcuf+UhKRjM/EbKnNp9ycw1+gnsQiQaEqUSsen4P+wdOggOzm6SnR6MsqFaVA== X-Received: by 2002:adf:bc02:: with SMTP id s2mr28312952wrg.255.1548094016788; Mon, 21 Jan 2019 10:06:56 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 21 Jan 2019 19:06:05 +0100 Message-Id: <1548093980-43088-35-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1548093980-43088-1-git-send-email-pbonzini@redhat.com> References: <1548093980-43088-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42a Subject: [Qemu-devel] [PULL 34/49] Revert "i386: Add CPUID bit for PCONFIG" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Hoo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Robert Hoo This reverts commit 5131dc433df54b37e8e918d8fba7fe10344e7a7b. For new instruction 'PCONFIG' will not be exposed to guest. Signed-off-by: Robert Hoo Message-Id: <1545227081-213696-3-git-send-email-robert.hu@linux.intel.com> Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 2 +- target/i386/cpu.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 2bcab80..d8430b4 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1077,7 +1077,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORD= S] =3D { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, "pconfig", NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "spec-ctrl", "stibp", NULL, "arch-capabilities", NULL, "ssbd", diff --git a/target/i386/cpu.h b/target/i386/cpu.h index 59656a7..95112b9 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -694,7 +694,6 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS]; =20 #define CPUID_7_0_EDX_AVX512_4VNNIW (1U << 2) /* AVX512 Neural Network Ins= tructions */ #define CPUID_7_0_EDX_AVX512_4FMAPS (1U << 3) /* AVX512 Multiply Accumulat= ion Single Precision */ -#define CPUID_7_0_EDX_PCONFIG (1U << 18) /* Platform Configuration */ #define CPUID_7_0_EDX_SPEC_CTRL (1U << 26) /* Speculation Control */ #define CPUID_7_0_EDX_ARCH_CAPABILITIES (1U << 29) /*Arch Capabilities*/ #define CPUID_7_0_EDX_SPEC_CTRL_SSBD (1U << 31) /* Speculative Store Bypa= ss Disable */ --=20 1.8.3.1