Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4282737rwl; Mon, 3 Apr 2023 02:40:41 -0700 (PDT) X-Google-Smtp-Source: AKy350aCJPmdAAGbk99E4pxfgfhfKG5HeWI4yxuwlO2sNfAIIpLbSKG+gNOVozILPZSWM7waBzdF X-Received: by 2002:a17:907:d109:b0:948:112e:c49a with SMTP id uy9-20020a170907d10900b00948112ec49amr7702882ejc.24.1680514841469; Mon, 03 Apr 2023 02:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680514841; cv=none; d=google.com; s=arc-20160816; b=rG+u5ecknHZDWLnAS21SOL4eS6rJZfaNFkxgKlkyvVtWLNBMOtnjKlCFA0eXh3SRfD 6DKpmqol4RV8FouuQavdQNPS2vWhOJ2yY8F4Yna3zMK39j3zGG+JRfmVY0+a/HD5CBkB 7Dh0TV1RHez5hAI0w0HH4I9Zdti3dY0ueyYahZtFeg6JxNcvegvW4BhlcwCQXAQOnxJz HR7I1YkdCF8agKqaqP5Vluju31eLHXSnz2VyW+WfO56rm2FCDKd3Qi0rG4pUJ//XsLNv 2Al2WB5fifQhQJdv3c2dDdksGLVC+aBvHK2hbQQ3qkOM7V7izoZnT2wYtkkc5/9uUys3 8HdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=sQsLyx1gubCJfclC/Ta4ETdqTF1+xJi5O/1DqQ++/tw=; b=0DVghRuBiZaT88XNKksQgdRkEAqRIx20arelpOsjjFgD2KCk6RK5Y6Z1lL55bkH5JE ge/jfGPq68gBniEoxG9DrxZFyiXrsaydro8E25bz+xtftQcwY5ucjiajwslv/QhJcKS1 DiOxhgWtjiP5J9hffYktE0BOUjhrKLu61Unn/QoNZ/Q4PnA8o3BX2oGbDkb6zK7lbbLb SrxEYg4A1FwyEIl3OzTInPVW7HKDjgMAZJ6awX4+DgfdCuj/Kd6Wbe1jaDPkN65Yz2U0 4oLQgMC8qxBqI/Et9SIJc38bacLx2UgNWipZwPDQMST3cT6j1DDHH2DNibEpIEdOzklZ MPGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ieYJ6IVK; 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 bh2-20020a170906a0c200b009372a2a6e7fsi7151496ejb.563.2023.04.03.02.40.17; Mon, 03 Apr 2023 02:40:41 -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=ieYJ6IVK; 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 S231665AbjDCJh0 (ORCPT + 99 others); Mon, 3 Apr 2023 05:37:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231916AbjDCJhH (ORCPT ); Mon, 3 Apr 2023 05:37:07 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64F5E1165E for ; Mon, 3 Apr 2023 02:36:17 -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 DBABB1F8D9; Mon, 3 Apr 2023 09:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1680514540; 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=sQsLyx1gubCJfclC/Ta4ETdqTF1+xJi5O/1DqQ++/tw=; b=ieYJ6IVK+SVYaT2WtUuaj9MiFafOxOspmG+qPAYOldpr73Y4N+6S6kNMm0g9lCRN3CZhrM H3MYAmNAW4gZEcyWnqcu3hRq9cM0FcGQP1XnMQJTWj2NH0GsYYvRZRpmAWNDX4wPH6SRnx eScOjKYHY6uCByiKS6Vhw05LJcqDV6o= 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 98F4B13416; Mon, 3 Apr 2023 09:35:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id p7/kI+ydKmSAZgAAMHmgww (envelope-from ); Mon, 03 Apr 2023 09:35:40 +0000 Message-ID: Date: Mon, 3 Apr 2023 11:35:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v5 04/15] x86/mtrr: support setting MTRR state for software defined MTRRs Content-Language: en-US To: "Huang, Kai" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" Cc: "tglx@linutronix.de" , "hpa@zytor.com" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "mikelley@microsoft.com" , "bp@alien8.de" References: <20230401063652.23522-1-jgross@suse.com> <20230401063652.23522-5-jgross@suse.com> <74b1b65577e0e1c3e54a5a708af2f63df132227d.camel@intel.com> <45062273-9550-be39-3e53-cb8b35717fa9@suse.com> From: Juergen Gross In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------vZKsiMNKs6bc1PHV9NYMHlNn" X-Spam-Status: No, score=-3.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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) --------------vZKsiMNKs6bc1PHV9NYMHlNn Content-Type: multipart/mixed; boundary="------------XU70SLyBYZ7yAa08TYJOZ0ml"; protected-headers="v1" From: Juergen Gross To: "Huang, Kai" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" Cc: "tglx@linutronix.de" , "hpa@zytor.com" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "mikelley@microsoft.com" , "bp@alien8.de" Message-ID: Subject: Re: [PATCH v5 04/15] x86/mtrr: support setting MTRR state for software defined MTRRs References: <20230401063652.23522-1-jgross@suse.com> <20230401063652.23522-5-jgross@suse.com> <74b1b65577e0e1c3e54a5a708af2f63df132227d.camel@intel.com> <45062273-9550-be39-3e53-cb8b35717fa9@suse.com> In-Reply-To: --------------XU70SLyBYZ7yAa08TYJOZ0ml Content-Type: multipart/mixed; boundary="------------ancYYE7s0yjyv4Ll7jKboDOh" --------------ancYYE7s0yjyv4Ll7jKboDOh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Enco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gd2F5cyB0byBtb2RpZnkgYW55IE1UUlIgcmVnaXN0 ZXJzIGluIHRoZSBvdmVyd3JpdGUgY2FzZS4NCj4+DQo+PiBJIGNhbiBtYWtlIHRoaXMgbW9y ZSBvYnZpb3VzIGluIGEgY29tbWVudC4NCj4gDQo+IFNob3VsZCB0aGUgY29tbWVudCBzYXkg c29tZXRoaW5nIGxpa2UgKGJlY2F1c2UgaXQgYXBwbGllcyB0byB0aGUgY29kZSBpbnNpZGUg dGhlDQo+IGNoZWNrKToNCj4gDQo+IA0KPiAJSWYgd2UgaGF2ZSBhIHN0YXRpYyAoc3ludGhl dGljKSBNVFJSIGFscmVhZHkgZXN0YWJsaXNoZWQgZm9yIHNwZWNpYWwNCj4gCVZNcywgd2Ug c3RpbGwgbmVlZCB0byBjYWxjdWxhdGUgdGhlIHBoeXNpY2FsIGFkZHJlc3MgYml0cyB1c2lu Zw0KPiBnZW5lcmljDQo+IAl3YXksIGJlY2F1c2UgdGhlIGhhcmR3YXJlIHRvIHJ1biB0aG9z ZSBzcGVjaWFsIFZNcyBpbmRlZWQgaGFzwqBNVFJSLg0KPiANCj4gVGhhdCBleHBsYWlucyB3 aHkgJ3RydWUnIGlzIHBhc3NlZCB0byBtdHJyX2NhbGNfcGh5c2JpdHMoKS4NCg0KSSdkIHJh dGhlciBzYXkgdGhhdCB0aGUgaW50ZXJmYWNlIG9mIG10cnJfb3ZlcndyaXRlX3N0YXRlKCkg aXMgYmFzZWQgb24gdGhlDQppbnRlcmZhY2Ugb2YgZ2VuZXJpYyBNVFJScy4NCg0KDQpKdWVy Z2VuDQo= --------------ancYYE7s0yjyv4Ll7jKboDOh 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/ToiBg9W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aSgM5IVFdn7v5YgEYuJYx37Io N1EblHI//x/e2AaIHpzK5h88NEawQsaNRpNSrcfbFmAg987ATQRTjHAWAQgAyzH6 AOODMBjgfWE9VeCgsrwH3exNAU32gLq2xvjpWnHIs98ndPUDpnoxWQugJ6MpMncr 0xSwFmHEgnSEjK/PAjppgmyc57BwKII3sV4on+gDVFJR6Y8ZRwgnBC5mVM6JjQ5x Dk8WRXljExRfUX9pNhdE5eBOZJrDRoLUmmjDtKzWaDhIg/+1Hzz93X4fCQkNVbVF LELU9bMaLPBG/x5q4iYZ2k2ex6d47YE1ZFdMm6YBYMOljGkZKwYde5ldM9mo45mm we0icXKLkpEdIXKTZeKDO+Hdv1aqFuAcccTg9RXDQjmwhC3yEmrmcfl0+rPghO0I v3OOImwTEe4co3c1mwARAQABwsBfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------ancYYE7s0yjyv4Ll7jKboDOh-- --------------XU70SLyBYZ7yAa08TYJOZ0ml-- --------------vZKsiMNKs6bc1PHV9NYMHlNn Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmQqnewFAwAAAAAACgkQsN6d1ii/Ey/Q 3QgAnU+8tUZw2mMM9/FLGEbtu/pNNUYav8fUa1W8EjmcaUO7/N3nBxM4memhpVsEj8llFSltEh4t mw0kS2z22Q9PrvZBIEMJcjau5UB8BugNKXQzfL5xIYTobyuC+DtsoGsu+M6SIsgPNPgLZ3f3UudQ a+d0t0OtuZkJCIxFxQ2xG71d93/rxlWSOISLs02gnwjHXQMqXAfAuUrRBGQmvPnmVcZWQTUXyW+/ tVqKia+64nyaHYFQvCcxXASeSMEJxiWec1wM1vgqJCzTLetj1hbY0UfCVrFzbFSdy913Xs+Q2x06 8JXsIP0ByasW/9ezJHzeIeJMg03JY/6PCSFoT78DgQ== =Ps3S -----END PGP SIGNATURE----- --------------vZKsiMNKs6bc1PHV9NYMHlNn--