Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 128D1C636D4 for ; Mon, 13 Feb 2023 06:27:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbjBMG1c (ORCPT ); Mon, 13 Feb 2023 01:27:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjBMG13 (ORCPT ); Mon, 13 Feb 2023 01:27:29 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7E06E39F for ; Sun, 12 Feb 2023 22:27:28 -0800 (PST) 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 590E95D8C3; Mon, 13 Feb 2023 06:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1676269647; 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=aPL+vaVzX1H6jys+GZ/CFQzZsZFmg1G/CNrZGYV5GNQ=; b=ann0v8rQ/ApQX2b+Ylc6RvBYR9nmiBXLBe2GSQqMdgUkdu63KesgNeoqM/qM9gMrigSTK0 UHrcQPw5kF5tMyhXxZVjNFio23WMJlnFKBe77qL2lHF91skpOV5LCMxHN3r5ix0gy2r9fK vxlKEu3/k9MGNL7FW3O3ZUXBIxHq0FY= 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 0C94F1391B; Mon, 13 Feb 2023 06:27:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id x6iFAU/Y6WMXBQAAMHmgww (envelope-from ); Mon, 13 Feb 2023 06:27:27 +0000 Message-ID: Date: Mon, 13 Feb 2023 07:27:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v2 2/8] x86/mtrr: support setting MTRR state for software defined MTRRs Content-Language: en-US To: "Michael Kelley (LINUX)" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" Cc: "lists@nerdbynature.de" , "torvalds@linux-foundation.org" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" References: <20230209072220.6836-1-jgross@suse.com> <20230209072220.6836-3-jgross@suse.com> From: Juergen Gross In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------ytCMa8DuorXCqrSOTuKcUpAv" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------ytCMa8DuorXCqrSOTuKcUpAv Content-Type: multipart/mixed; boundary="------------yn2Qx4Q01xzWKT7SuWDxeNhU"; protected-headers="v1" From: Juergen Gross To: "Michael Kelley (LINUX)" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" Cc: "lists@nerdbynature.de" , "torvalds@linux-foundation.org" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Message-ID: Subject: Re: [PATCH v2 2/8] x86/mtrr: support setting MTRR state for software defined MTRRs References: <20230209072220.6836-1-jgross@suse.com> <20230209072220.6836-3-jgross@suse.com> In-Reply-To: --------------yn2Qx4Q01xzWKT7SuWDxeNhU Content-Type: multipart/mixed; boundary="------------rn3w2ivt7ensmUBtxZ2PwmYW" --------------rn3w2ivt7ensmUBtxZ2PwmYW Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTMuMDIuMjMgMDI6MDcsIE1pY2hhZWwgS2VsbGV5IChMSU5VWCkgd3JvdGU6DQo+IEZy b206IEp1ZXJnZW4gR3Jvc3MgPGpncm9zc0BzdXNlLmNvbT4gU2VudDogV2VkbmVzZGF5LCBG ZWJydWFyeSA4LCAyMDIzIDExOjIyIFBNDQo+Pg0KPj4gV2hlbiBydW5uaW5nIHZpcnR1YWxp emVkLCBNVFJSIGFjY2VzcyBjYW4gYmUgcmVkdWNlZCAoZS5nLiBpbiBYZW4gUFYNCj4+IGd1 ZXN0cyBvciB3aGVuIHJ1bm5pbmcgYXMgYSBTRVYtU05QIGd1ZXN0IHVuZGVyIEh5cGVyLVYp LiBUeXBpY2FsbHkNCj4+IHRoZSBoeXBlcnZpc29yIHdpbGwgcmVzZXQgdGhlIE1UUlIgZmVh dHVyZSBpbiBjcHVpZCBkYXRhLCByZXN1bHRpbmcNCj4+IGluIG5vIE1UUlIgbWVtb3J5IHR5 cGUgaW5mb3JtYXRpb24gYmVpbmcgYXZhaWxhYmxlIGZvciB0aGUga2VybmVsLg0KPj4NCj4+ IFRoaXMgaGFzIHR1cm5lZCBvdXQgdG8gcmVzdWx0IGluIHByb2JsZW1zOg0KPj4NCj4+IC0g SHlwZXItViBTRVYtU05QIGd1ZXN0cyB1c2luZyB1bmNhY2hlZCBtYXBwaW5ncyB3aGVyZSB0 aGV5IHNob3VsZG4ndA0KPj4gLSBYZW4gUFYgZG9tMCBtYXBwaW5nIG1lbW9yeSBhcyBXQiB3 aGljaCBzaG91bGQgYmUgVUMtIGluc3RlYWQNCj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d2l0aG91dCBhIHN0 dWIuIEFzIHlvdSBzZWVtIHRvIGxpa2UgaXQgYmV0dGVyIHdpdGggdGhlDQpzdHViLCBJIGNh biBhZGQgaXQuDQoNCg0KSnVlcmdlbg0K --------------rn3w2ivt7ensmUBtxZ2PwmYW 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 vpB0CA3dbBQp0OW0fgCetToGIQrg0MbD1C/sEOv8Mr4NAfbauXjZlvTj30H2jO0u +6WGM6nHwbh2l5O8ZiHkH32iaSTfN7Eu5RnNVUJbvoPHZ8SlM4KWm8rG+lIkGurq qu5gu8q8ZMKdsdGC4bBxdQKDKHEFExLJK/nRPFmAuGlId1E3fe10v5QL+qHI3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HQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------rn3w2ivt7ensmUBtxZ2PwmYW-- --------------yn2Qx4Q01xzWKT7SuWDxeNhU-- --------------ytCMa8DuorXCqrSOTuKcUpAv Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmPp2E4FAwAAAAAACgkQsN6d1ii/Ey9j twgAgHOMwoaAR1L9uMkHjO1h/fzM0DoBXmo0dbRDaHI8MTFgNH52SjPSJ1DPaxe1G8D+5fviA2eN scdDyZHPcuhuEWrFolPyqcglPPlKGeQAqGQlSEXTc34ftSpcijZ7NEAM6XeyxS7h6v4F/2xGWErh YiJmkXMvUMePxRoxhXMviDdPBC+iFlLw1Xaa8jsst/fDS9ffUgKf7ABN6NWLSjnWRfIwaruvG1mm yasYtJ2Yf4vdHe/USgeStkpMOtYMOsWLt2sYe4Tx7ouiq6l7mZtgR1exvaggsRL96F7LMrSN7eqH OZYC7oKqOoOK7tjGiFiElXRSKDdF/VW9G50H1Njw6g== =rJwk -----END PGP SIGNATURE----- --------------ytCMa8DuorXCqrSOTuKcUpAv--