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 B5592C636CC for ; Mon, 13 Feb 2023 15:36:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230221AbjBMPgR (ORCPT ); Mon, 13 Feb 2023 10:36:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbjBMPgP (ORCPT ); Mon, 13 Feb 2023 10:36:15 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59E5712F37 for ; Mon, 13 Feb 2023 07:36:14 -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-out1.suse.de (Postfix) with ESMTPS id 0F3A521835; Mon, 13 Feb 2023 15:36:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1676302573; 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=7iLXBg6WNjTkP+gQPSNdpfq/WvDWsg0IABLgJDyTPV4=; b=fr+A4et96/JY0zm4pAE2w4BMOYVHpgmwX+S1VFdyIqMciFA1FFqV6O1OBkPgw7tGcJseQo GWzlLU0Rda8pGMA/qZxsFQsrCuka8KcOyZQ9w9s//J9sLGihAT5CdpHJfvrMQvWSplY2H6 j6K64sdmxviWhIqBPsnBWA1OpUnZJW8= 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 B8FB31391B; Mon, 13 Feb 2023 15:36:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Vw3KK+xY6mMIJwAAMHmgww (envelope-from ); Mon, 13 Feb 2023 15:36:12 +0000 Message-ID: <13520f45-7f4d-417e-f9a2-40c32cd0e739@suse.com> Date: Mon, 13 Feb 2023 16:36:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, lists@nerdbynature.de, mikelley@microsoft.com, torvalds@linux-foundation.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" References: <20230209072220.6836-1-jgross@suse.com> <20230209072220.6836-3-jgross@suse.com> <6257114d-a957-f586-145c-d2a885417360@suse.com> From: Juergen Gross Subject: Re: [PATCH v2 2/8] x86/mtrr: support setting MTRR state for software defined MTRRs In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------ByQ5UyBJgnk2VYROo9yUT7ss" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------ByQ5UyBJgnk2VYROo9yUT7ss Content-Type: multipart/mixed; boundary="------------dOZgYE4xxhlTWtjl05596q7N"; protected-headers="v1" From: Juergen Gross To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, lists@nerdbynature.de, mikelley@microsoft.com, torvalds@linux-foundation.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" Message-ID: <13520f45-7f4d-417e-f9a2-40c32cd0e739@suse.com> 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> <6257114d-a957-f586-145c-d2a885417360@suse.com> In-Reply-To: --------------dOZgYE4xxhlTWtjl05596q7N Content-Type: multipart/mixed; boundary="------------7UxLlLCvooXnrTvTqpboIHL0" --------------7UxLlLCvooXnrTvTqpboIHL0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTMuMDIuMjMgMTY6MDMsIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj4gT24gTW9uLCBG ZWIgMTMsIDIwMjMgYXQgMDM6MDc6MDdQTSArMDEwMCwgSnVlcmdlbiBHcm9zcyB3cm90ZToN Cj4+IEZpeGVkIGluIHRoZSBzZW5zZSBvZiBzdGF0aWMuDQo+IA0KPiBXZWxsLCB5b3UgY2Fu J3QgdXNlICJmaXhlZCIgdG8gc2F5ICJzdGF0aWMiIHdoZW4gZm9ybWVyIG1lYW5zIHNvbWV0 aGluZw0KPiB2ZXJ5IHNwZWNpZmljIGFscmVhZHkgaW4gTVRSUiBsYW5kLg0KPiANCj4+IFdv dWxkbid0ICFjcHVfZmVhdHVyZV9lbmFibGVkKFg4Nl9GRUFUVVJFX0hZUEVSVklTT1IpIGJl IGVub3VnaD8NCj4+DQo+PiBJJ20gbm90IHN1cmUgd2Ugd29uJ3QgbmVlZCB0aGF0IGZvciBU RFggZ3Vlc3RzLCB0b28uDQo+IA0KPiBTZWUsIHRoYXQncyB0aGUgcHJvYmxlbS4gSSB3YW5u YSBoYXZlIGl0IHNpbXBsZSB0b28uIExlbW1lIGNoZWNrIHdpdGgNCj4gZGhhbnNlbi4NCj4g DQo+PiBZZXMsIGl0IGlzIG9ubHkgcmVsZXZhbnQgZm9yIFBWIGRvbTAuDQo+IA0KPiBSaWdo dCwgSSB3YXMgYXNraW5nIHdoZXRoZXIgIlBWIGR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DQoNCkp1ZXJnZW4NCg== --------------7UxLlLCvooXnrTvTqpboIHL0 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+qHI3EIP tyfE7i9Hz6rVwi7lWKgh7pe0ZvatAudZ+JNIlBKptb64FaiIOAWDCx1SzR9KdWVy Z2VuIEdyb3NzIDxqZ3Jvc3NAc3VzZ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K----- --------------7UxLlLCvooXnrTvTqpboIHL0-- --------------dOZgYE4xxhlTWtjl05596q7N-- --------------ByQ5UyBJgnk2VYROo9yUT7ss Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmPqWOwFAwAAAAAACgkQsN6d1ii/Ey9H Gwf/TmExUazq7VxNG8vKmroAIpKAOKm7C2zYLkJB4ZUVwO9eWupV+JvzBMzwK6kMiVKNNgzeDhZX O5SPIj523NvIWfhRV5dOT4h3A1BGihV7BAKHqZxjKWOHJvzJHAJtvNBDTmF9G3IDCiPk4Scgb1mo t/qK9IfUUzU2X1mbxHTSD4gFxcd6NwjZcn9FwSaALaKVjjWiKbG5vdR40eYvD+pUy+gQgIgAbiz2 YuaRdwq0KM7F48hA3d1O6RdLt0EsvJEGq4YL1m86bHbbVCuMl+1BcChzfBWIhgtA9O9SG/fzJjtz F8qYdh9hZz4SVuPuuGuea+SZCMzdQFT5NQt4M4hmiw== =MKcq -----END PGP SIGNATURE----- --------------ByQ5UyBJgnk2VYROo9yUT7ss--