From nobody Wed May 8 08:58:11 2024 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 ARC-Seal: i=1; a=rsa-sha256; t=1573656934; cv=none; d=zoho.com; s=zohoarc; b=FEisb5wVrPcQfSr6m49oWSnfhHZeePx1SavWi6jwjFmqmgf3qNP/T04fKfm6GSDZlpDNsCqRUNwlJCEVNgyNS5crWJjH2W0a9R2LfMnYtNb+cY/W0/bGoHfSvLbXMK6O6pXlSxm25cJt1aismxvHRXsu4BDYEx+m7u4VuHwylqU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573656934; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=0e/IEGD2nU1wq5jgs4stb3eSCZi/H8yvoxbn7PksIPc=; b=UaRw7DK1gN1SFN3v2inCb4ctUy/eCXDPEh4LMlBGiktfYf7hsklVo1BJ1b18YbCMotCkzsEq+YCjBRVtJM/HG0+wRjuXEbf1kFR0kCr5PtVJNUkYUdBjCOCDiwObk2Q5jdLmdt19bRzf8OaE/2ohsfk0i49ryCE8au9Qf53olM4= ARC-Authentication-Results: i=1; mx.zoho.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 header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1573656934738255.81101281300027; Wed, 13 Nov 2019 06:55:34 -0800 (PST) Received: from localhost ([::1]:45934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUu3R-0008B7-8U for importer@patchew.org; Wed, 13 Nov 2019 09:55:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57451) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUu2O-00073U-9n for qemu-devel@nongnu.org; Wed, 13 Nov 2019 09:54:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUu2M-0003yt-8I for qemu-devel@nongnu.org; Wed, 13 Nov 2019 09:54:28 -0500 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:45624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUu2L-0003wm-Vu for qemu-devel@nongnu.org; Wed, 13 Nov 2019 09:54:26 -0500 Received: by mail-wr1-x444.google.com with SMTP id z10so2675694wrs.12 for ; Wed, 13 Nov 2019 06:54:25 -0800 (PST) Received: from donizetti.redhat.com ([2001:b07:6468:f312:64a1:540d:6391:74a9]) by smtp.gmail.com with ESMTPSA id n1sm3171579wrr.24.2019.11.13.06.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 06:54:23 -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:mime-version :content-transfer-encoding; bh=0e/IEGD2nU1wq5jgs4stb3eSCZi/H8yvoxbn7PksIPc=; b=BRskTjeA/qi+QHtLw6VTZTPOrvD1KV7aJrhj4jiW8JyUO05y+DUM4NUuSorSzyUreA KaxT9tYQHAq+YJ4e96KpTX/aiMVIGgaHUUqyrGXIMaUQEGX+Lg1AdZED40zDuNLkwZfl uzEmK6luwueBT7F4UA2Eln8CZi9AMPbbaWTpMm5YG1VBM48+3uBXU45qBybEDCMEPrkv dCPL/wLRQbEq2gDkmRp8Pya7pR4reuOKpKwBAGYfzHzCxRC19nS1OuPpNYShp3cMeOf/ ziwoBw4+Z7QEWDJC/IPEWc+2XWFH44G9W1Rzm7Jq5L8Ek+QtPi/+gBaGOuDZRkPxlEG0 2u+g== 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 :mime-version:content-transfer-encoding; bh=0e/IEGD2nU1wq5jgs4stb3eSCZi/H8yvoxbn7PksIPc=; b=llVzg+8LDPO0nMAMsKo0Uf7bI+P3epId5QXD7kMBWsrNwp8ghUadkYC2qGUGi+Btou UUhlx0dMR7kIBk+OpguAlhbwLb+GoR2uNrwoUmOWvhLR+wzmnab6AmAG3U3SH08Lwrkb tFUTUfscEs03kodvRS0Z/hdiL/zM3/9tU645iY7x3C549CGiljoIaZyH82sA3XmXOYQM /vyJcISwwIAiYM4qgemBKXBnCoU5iOTtgfLTx9s7sxXWmcobhxvdMa1DzRQ8YgEbhNnV /5H5g+0VghsyFlnf12s1q262oElTSmCNh6sOL//qc5macrsRextvzKrt25dm7Uxcn/PZ fwOQ== X-Gm-Message-State: APjAAAUcb2naWrEzrrsI6oHucLX1yHFs55zpVJi62z82PySI4zmCUlAT a5Sm521LmIkcLyZP8canhRuEf0s5 X-Google-Smtp-Source: APXvYqxlptbj9biPJUjhpihDbElL2clyq/Y6gnQ/KGiQby/deNsKcn96H8vUQx7XQM5kRjrSTkb9kw== X-Received: by 2002:adf:dd0a:: with SMTP id a10mr2865008wrm.299.1573656864248; Wed, 13 Nov 2019 06:54:24 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH] target/i386: add PSCHANGE_NO bit for the ARCH_CAPABILITIES MSR Date: Wed, 13 Nov 2019 15:54:25 +0100 Message-Id: <20191113145425.16326-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: speck for Paolo Bonzini , Jinpu Wang Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: speck for Paolo Bonzini This is required to disable ITLB multihit mitigations in nested hypervisors. Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index a624163ac2..2f60df37c4 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1204,7 +1204,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORD= S] =3D { .type =3D MSR_FEATURE_WORD, .feat_names =3D { "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry", - "ssb-no", "mds-no", NULL, NULL, + "ssb-no", "mds-no", "pschange-mc-no", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, --=20 2.21.0