Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp906549rwl; Wed, 12 Apr 2023 05:58:15 -0700 (PDT) X-Google-Smtp-Source: AKy350and6M1uoQfCSjYosj5VgXnYDfoJ6tBLwMLBrrKB2xz8rYqiKrRY5AYWqpccDvYihwnjF+x X-Received: by 2002:a17:903:5ce:b0:1a6:4016:8974 with SMTP id kf14-20020a17090305ce00b001a640168974mr10141351plb.31.1681304294934; Wed, 12 Apr 2023 05:58:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681304294; cv=none; d=google.com; s=arc-20160816; b=z9zxodECvkgzFcVM+dn7DIIFJtYWqYBK6/Xwpo/qB2MokrDbg4LF+7V3z/+SULqRjO KJ+ZL/GcHPSCE/YLTBzy93GKldI1Rr+eQaGsqIFmOkl7h/YjD1ZiA5vAhQtRQEQTVjnB sbq0eW23xsnz0tVdEQbd+P+Ye8P209IVskfYkuTrJkTvy5A/ZA0WAxcTSuvj3w4TWIY/ dtLL+9DYxgEeUR2/AxkS6T0HNSU84JXzA5HaP/q3P3EEWgCoEMk7+pFBHe3mNVo+Lumb S2ERWKijfjZ3BKVD2G9qqZrxJgL7UI/laVAPcwB6r9vCoYW65syY41LD0PoPZ9mKV280 oK2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=RKFgvanqs67nb7HWJ7AEqB8QD7XZ22eV4w13DCH2PSQ=; b=ThyXSnq4XM6kduN9VClAmjO8Y8R051CfzRIPo3NkIavUqWlu3SvXXVBS0oCguyXAL4 oXEkFyOanPNWjh6tU1c1xTJMvMiRmmwb8sBNxjYQwOha4C0rOkn5/FEE010BV1rSOZEO 3xUmbQihOgKCCNXOBW1i+2DIoO4HGXHkbG0RpBjrw8FiaDG+mn+vb3ZOq76UqBIBQsiu 3ZkssqZb7NCUFz1wKAeXL6tRyymE6CUGVHBbUiEsGuPl+SnBl29wkNa9N1kXcydjUgVL gFJcxL90RkJXKodWvJL/4M2N5d/6XS5BqN3cYEUR7Hrm39tDc7s3/QyJDHd0SkLTPHkJ pDyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=imJWxFbN; 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 p5-20020a170902bd0500b001994712728csi15575541pls.607.2023.04.12.05.58.03; Wed, 12 Apr 2023 05:58:14 -0700 (PDT) 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=imJWxFbN; 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 S229938AbjDLM5X (ORCPT + 99 others); Wed, 12 Apr 2023 08:57:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231364AbjDLM5V (ORCPT ); Wed, 12 Apr 2023 08:57:21 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF9AB72A3 for ; Wed, 12 Apr 2023 05:56:51 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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 10CDF1F6E6; Wed, 12 Apr 2023 12:56:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1681304194; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RKFgvanqs67nb7HWJ7AEqB8QD7XZ22eV4w13DCH2PSQ=; b=imJWxFbND3rwHWfuu5qcHi3jnuVkRJarZb9ypxKXb041/8791/Xq0LwN8yM6WUmQvwCztl ojAognCscroQRR/Q8ayegocnuIgYKRQ5/U7gKHmbnx9K+2GE5gX8ci5gj1gqKKfvMLLJu/ 70kyKxDlv7kolkHHl3k3i9H/5yxjHIY= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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 imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CB4F6132C7; Wed, 12 Apr 2023 12:56:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ncw4MIGqNmS5ZQAAMHmgww (envelope-from ); Wed, 12 Apr 2023 12:56:33 +0000 Message-ID: Date: Wed, 12 Apr 2023 14:56:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" References: <20230401063652.23522-1-jgross@suse.com> <20230401063652.23522-9-jgross@suse.com> <20230412123044.GJZDakdLatRW26J+1k@fat_crate.local> From: Juergen Gross Subject: Re: [PATCH v5 08/15] x86/mtrr: have only one set_mtrr() variant In-Reply-To: <20230412123044.GJZDakdLatRW26J+1k@fat_crate.local> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------P6Avbna0eh0HV5LfECoqIQmV" X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------P6Avbna0eh0HV5LfECoqIQmV Content-Type: multipart/mixed; boundary="------------h8X0x0uIwt9riDk7xHJWrggS"; protected-headers="v1" From: Juergen Gross To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" Message-ID: Subject: Re: [PATCH v5 08/15] x86/mtrr: have only one set_mtrr() variant References: <20230401063652.23522-1-jgross@suse.com> <20230401063652.23522-9-jgross@suse.com> <20230412123044.GJZDakdLatRW26J+1k@fat_crate.local> In-Reply-To: <20230412123044.GJZDakdLatRW26J+1k@fat_crate.local> --------------h8X0x0uIwt9riDk7xHJWrggS Content-Type: multipart/mixed; boundary="------------FiArdfd8L1SfqFVNroePhkZS" --------------FiArdfd8L1SfqFVNroePhkZS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTIuMDQuMjMgMTQ6MzAsIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj4gT24gU2F0LCBB cHIgMDEsIDIwMjMgYXQgMDg6MzY6NDVBTSArMDIwMCwgSnVl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fY3B1c2xvY2tl ZCgpIHRvIHNldF9tdHJyKCkgbm93IHRoYXQNCj4+IHRoZXJlIGlzIG9ubHkgb25lIHZhcmlh bnQgbGVmdC4NCj4gDQo+IFRob3NlIGFyZSB2aXNpYmxlIGZyb20gdGhlIGRpZmYgaXRzZWxm IC0geW91IGRvbid0IG5lZWQgdG8gZXhwbGFpbiB3aGF0DQo+IHRoZSBwYXRjaCBkb2VzIGJ1 dCB3aHkuDQoNCk9rYXksIEknbGwgZHJvcCB0aGF0IHBhcmFncmFwaC4NCg0KDQpKdWVyZ2Vu DQo= --------------FiArdfd8L1SfqFVNroePhkZS Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i 1TXkH09XSSI8mEQ/ouNcMvIJNwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/B BLUVbDa4+gmzDC9ezlZkTZG2t14zWPvxXP3FAp2pkW0xqG7/377qptDmrk42GlSK N4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEBAAHNHEp1ZXJnZW4gR3Jvc3Mg PGpnQHBmdXBmLm5ldD7CwHkEEwECACMFAlOMcBYCGwMHCwkIBwMCAQYVCAIJCgsE FgIDAQIeAQIXgAAKCRCw3p3WKL8TL0KdB/93FcIZ3GCNwFU0u3EjNbNjmXBKDY4F UGNQH2lvWAUy+dnyThpwdtF/jQ6j9RwE8VP0+NXcYpGJDWlNb9/JmYqLiX2Q3Tye vpB0CA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tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------FiArdfd8L1SfqFVNroePhkZS-- --------------h8X0x0uIwt9riDk7xHJWrggS-- --------------P6Avbna0eh0HV5LfECoqIQmV Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmQ2qoEFAwAAAAAACgkQsN6d1ii/Ey9p kAgAmqp8oxK1bKkTZO/lKS3/IsaOMA4+KUFstx/OMB9Uz0WAuGvCGFYC3nB3k2paq1Ml84ZquFm3 nZ/m9L2eqGdH/OQde0c/OA86QqmdrsWVn5iwxEyUT3oXf19TaC8KV6cb9n2eJKA6C4pbPvp0jYu1 7KrAzv8mB0RBN6g/wQMy34TB6uFAhr8x+4NkVnUNfBGhug/JIgyKrNy2mdhYRB5Md7G2R/F4Sedm GMioC1pan/9InHn+kHOwRhzplwTUvO8GVukPhmNBuIf+7L52aW7xgy0OJI2vz4CqQQB1eNkToMmV +NlV0uUVH9OUFWnZbbfKW+gTkmtrc5tnLG+MbGVWfQ== =vkhD -----END PGP SIGNATURE----- --------------P6Avbna0eh0HV5LfECoqIQmV--