Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp269618lql; Mon, 11 Mar 2024 02:01:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMhh4zUyasSjvqu6Xtvvvqslza5iLAsSQh27OtZ3fIY+06/Ow+DPYi2/4hf9QrZpTtd5D/wwTr0IkXmIHOiLij8rESHpOcXFWadtpN8A== X-Google-Smtp-Source: AGHT+IHmG/4kV+jHZbcI40KsFBTIKzzjUl28gQGhqLMr0Noev2TaJyAUHw8GqFbfmFaFgvQ3phEW X-Received: by 2002:a05:6a20:19e:b0:1a1:6eec:b148 with SMTP id 30-20020a056a20019e00b001a16eecb148mr5966002pzy.27.1710147683021; Mon, 11 Mar 2024 02:01:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710147683; cv=pass; d=google.com; s=arc-20160816; b=I7t9t0hDV/Y8Ng8OexoYWYUeKwu+NPE+Nvm3lO6eUyu0UKdPCeLL9B2o3xFwJRXhN7 ZgfIDFy8ZzK+9NV94FMlaRujT0Zv1DJHhBJvIaruOWK7EDk+9edpnXAMDEkQPwXRVTHY w0DcPY71PCGYt1TtbLBgnv/0HZDA84mPGtSv9JyS6tyFDPA0UcVIh75nWflNxboY11sK tzCjJ9xTJijt8bdx8WkEb83VWO7jUlP9tQp5VnEjoCX6xy6sO/fERFeSyH3/jPtEpIvN QKPsBzgbzaUmMHmGqT+RV4r1nHjxEt+c+AlDlR2G/l7xVo2HGqdIfu8IqrNUOE1UXU7B v8Cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=Ad0pIHUFtXNQn/LeOxbNbuVDrkwtgeQDc/OJ13rKKfQ=; fh=5ZjxVYKXeWzXrQtuvh8WKOTEKQBUJ80ckFoMga5XCYE=; b=WA1QlBEDFDGjx8hP/cSOM3o35zHavChNi3mrCjlEk1wm19vrr5mos1TXkeYm/sMQHj XL2jnsuHmjmIY3HK+jEmjgCCjZqNYMBcgzsWzm3DQd8jqrY/RIT/idcze050AFtWz5J8 yfJYO8eutzY/oVVetzVHW/7BGvS/VmcIaJPDrZJn+wLe8aRZbFPK0E2WcQbsPFs9Xh+p HBPA7CNrcJpnc79Bei+aMDRCYoJWOc8iIdEXY2qpmECPtx0YSoAEhA71VLZSK/zzDai1 KudeIbEPlCe2aP2kT6aXm/A5IP7LfkfDeWGU7RWr5Jk3w6JuAzEjA0pnIagoOKDPW5os EB4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="HhPuI/Jr"; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-98570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98570-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q11-20020a170902eb8b00b001dd8e821f3csi2639637plg.408.2024.03.11.02.01.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 02:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="HhPuI/Jr"; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-98570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98570-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 83C19B213B4 for ; Mon, 11 Mar 2024 09:00:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC25A18C19; Mon, 11 Mar 2024 08:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="HhPuI/Jr" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C085E182DA for ; Mon, 11 Mar 2024 08:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710147596; cv=none; b=U83FcSJGi/wwqd5N2w7m6mbJBesmQ60MuSfTyzx9sBXgmzcnanOLlS9zWzSu226T9RTGuTT9WjpIxuO/luwSe4CR9xMSj9fRKzQTtQ57g+6mwDdlcdCGfZU7i2CpRf/BDf6d4lwt0grwz7OUDhHHLwh8jhPYIQAf91DwLIoT4/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710147596; c=relaxed/simple; bh=Mc3cuYZd9FQ4OqSovr4RO7iXalx9PAh+bC7geOvGND0=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=fz+nS9rLEsOJJGMpMAypWUYLwrc+Fh5Y0eSbhlD2djpk3++IeT7SJje5+3gRv4KUpl2YhNIv2v/DCblYJS6lCofARz3q2neNdKyDQ9cq9ScJNc00m2tXWRK6TloTSME3p5078LrA5n/11iSsNDIcVKPOVqY/cCKjGbphu70EXKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=HhPuI/Jr; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id D713840E0028; Mon, 11 Mar 2024 08:59:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OLASZUHsbT25; Mon, 11 Mar 2024 08:59:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1710147590; bh=Ad0pIHUFtXNQn/LeOxbNbuVDrkwtgeQDc/OJ13rKKfQ=; h=Date:From:To:Cc:Subject:From; b=HhPuI/JrB+aux8YkzCWTR70DHoNs4g1bW6n9xhlCFqJi4t+qj2TRxMEb6d84tHsZJ bLR7xAGjT7Q08pvMJCA/RvV7Hp7F10vKa02kHMoVOoPMeRoj2Cij+3v5q6Opo695js DtmrXSnD3jO5Ryf4LBgjvxmrmXZc4FEvqoO9AN9FRNzMEiqI3PejupnS/DxtMNNDOw 00+fbnZMWesi/USg6lly+KAS/pTg7s1igedXUR5JiUnzF4Upn9i8bhAACBt2sNnUnB YTNbSM5okl67sfZHZzdj2DiGY0NnH4JRZxUc2XOYnFaLfJNvSh7PTEQ48dScqmREf1 YwnPTbE1t7oHKmI3tElxQHP0UXK80SyxcbFc+/hEbtNS8sQDoy8bLg9BG5VhxZim3b qVZRKKwY8A0yJ6N9/oeyOmaKGdFU1ehytRtgCfupuw0hvRmExTIcbRTaK/EfoX9ecO Gzqr1zCeyYJAU74nuwiNbD5+7CuX9rZPzNXNCvUZjJNaXkg6krsk7uNboNfJ8+K9B0 JIOerCtiQhLTGdjN3UXtu6xyJH4UIleySOrR69MN5Zo1vEVdJkSgLJiNmLZnhZ4jsQ mXCSSE+/pzl36MK0JwQ/9AL/ferLQmetTxnx7iEopW/6fZcrvCBQ9P125xf1O58MMw 3p5bXidE7oSBxnIn1fH1h2S0= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id AC5E040E016C; Mon, 11 Mar 2024 08:59:47 +0000 (UTC) Date: Mon, 11 Mar 2024 09:59:46 +0100 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] x86/mtrr for v6.9-rc1 Message-ID: <20240311085946.GAZe7IAmgi_z4j5rMW@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Linus, please pull a single improvement of PAT MSR programming for v6.9-rc1. Thx. --- The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d: Linux 6.8-rc5 (2024-02-18 12:56:25 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_mtrr_for_v6.9_rc1 for you to fetch changes up to ffc92cf3db62443c626469ef160f9276f296f6c6: x86/pat: Simplify the PAT programming protocol (2024-02-20 14:40:51 +0100) ---------------------------------------------------------------- - Relax the PAT MSR programming which was unnecessarily using the MTRR programming protocol of disabling the cache around the changes. The reason behind this is the current algorithm triggering a #VE exception for TDX guests and unnecessarily complicating things ---------------------------------------------------------------- Kirill A. Shutemov (1): x86/pat: Simplify the PAT programming protocol arch/x86/kernel/cpu/cacheinfo.c | 7 ++++--- arch/x86/mm/pat/memtype.c | 9 +++------ 2 files changed, 7 insertions(+), 9 deletions(-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette