Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5606918rwb; Mon, 5 Dec 2022 01:16:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tEES0lSoKs+lZKUaizKXnuUU7TmEL5A9sYiMTxvfSMp/hCiwNf8QdzLvBPy40aHjS941n X-Received: by 2002:a17:906:7c59:b0:7c0:4030:ae21 with SMTP id g25-20020a1709067c5900b007c04030ae21mr28274821ejp.346.1670231766325; Mon, 05 Dec 2022 01:16:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670231766; cv=none; d=google.com; s=arc-20160816; b=wrLqfBwDKB5n/ExcFcCAcZCQidUHAeS3QhHIbNZlbT1o1KJMHy25WxxN4BzTd/gvJe q4tUpKaj2kWzLagqTlrIWP5lYoSlKtJDRk5Nab0gq9FBbB5iWO+3y/1YpAaukJWikSjw +fVQI7OYnWUigMzH4V2LDfDPedG/QSqE52sz1YWx0wr4o2vdZ6fEfroRkCE6rdUM+kOJ DXWe4B312SIKPsR7PHoQC5hU2iewJVPsYcksf3YjHT1KigfFsLODmOrV7baglqY8FPHq HkpFOwPyK0oVSDJEnCx6tF48EHFcSKzxNaEBIb8mXrgoZhZ6qinEXhYvxRW4IDP/KxNi PGnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Nh84MA+lVhZ7z9Z8LG77iUxFcSy159whvB1ZvGTu3GY=; b=f2QXUHb1ehGxM2Iycw7Jc+q+w5HQrf54rZvcfkLkGn960dlLXRZ+kWjo2080eTia3/ ICEiDh3a2Wcp6kaahgeJjRCtIMtW4VxdbLG7PNUnSfEP3g5Tc4lvV7a16DpT410jHQPo GMAhMxg4jShbVhJz2xjCBOPH4xy9rj9Hl0Fcjm6uzmi+74gOtfpI3mkswJItA0fhWCb3 MzYz6YkgXbEP+zVApaX06z1i0uYkk3iUkZg56tN1UWNGs74zR/Xz1LVQdhp/Y5fpjkmm /CtRzJO7vfemeOgCIsbn37Iy/j030QUwY4NCs5Rf3naVR9qxVCwN3sDjajn6+lxrhzRS iv9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Jx65H9wZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh43-20020a1709076eab00b007c003e06f9bsi11355980ejc.102.2022.12.05.01.15.45; Mon, 05 Dec 2022 01:16:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Jx65H9wZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231929AbiLEIFM (ORCPT + 82 others); Mon, 5 Dec 2022 03:05:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231934AbiLEIEl (ORCPT ); Mon, 5 Dec 2022 03:04:41 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D3C315A0E for ; Mon, 5 Dec 2022 00:04:37 -0800 (PST) Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 59CAA1FE3B; Mon, 5 Dec 2022 08:04:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1670227476; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Nh84MA+lVhZ7z9Z8LG77iUxFcSy159whvB1ZvGTu3GY=; b=Jx65H9wZh1k4AML23zrMZNqCXD99qyoaPitPkLev5jn9+WS6X8ubfhm3p56JkvoRzxovLV t3Fv9zXYw5nWD27k+xs2axBffuAsOBidg8IWg1cXH/Usnt9OjSJe1MGK6qCmDXQIb4WNh/ 7LIDU79nFZsgKJsuu+hVhATys5TxkJk= Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id F21A61348F; Mon, 5 Dec 2022 08:04:35 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id H/y5OROmjWM4NAAAGKfGzw (envelope-from ); Mon, 05 Dec 2022 08:04:35 +0000 From: Juergen Gross To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: kirill@shutemov.name, Juergen Gross , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" Subject: [PATCH 0/2] x86: fixes for MTRR/PAT decoupling Date: Mon, 5 Dec 2022 09:04:31 +0100 Message-Id: <20221205080433.16643-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two small fixes for the decoupling of MTRR and PAT. Juergen Gross (2): x86/pat: fix TDX guest PAT initialization x86/mtrr: make message for disabled MTRRs more descriptive arch/x86/kernel/cpu/mtrr/mtrr.c | 4 +++- arch/x86/mm/pat/memtype.c | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) -- 2.35.3