Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5564461rwl; Tue, 11 Apr 2023 07:11:45 -0700 (PDT) X-Google-Smtp-Source: AKy350ZdA6As4F1y+XeQKDs+yBIMoJLbwzSlqdOQwMhrUWAu1YnCIFw11MfFoAKJ5djo82fbHuBJ X-Received: by 2002:a17:90b:4d04:b0:233:c301:32b3 with SMTP id mw4-20020a17090b4d0400b00233c30132b3mr4520813pjb.3.1681222304636; Tue, 11 Apr 2023 07:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681222304; cv=none; d=google.com; s=arc-20160816; b=Be4i6c83OAAGlGl6Y4sJ9HMSM0vRf0WlG9QI1Bf6MrRfaOPXR47xpwMeH7Dl9YIHmw wAhcSYxkULIYsTYG/vuJrAxuhpgQMGqfIK7Ln0IVa95pziie51s/tZwGD6/CsvCQIM8k dm7Pq3heC/Kn3tt3ZPW7ufLJm0UJAcJ1K3/SWEs00PP4uriSAXnOjSvhcW10sXsKYtow Vx3GBk8oSqfecMBrK25HXsqPpZN6vM7aXkWlaOVpe8Jg5FRnYtLUJSQuyOtxkvcsu+sz C/qyeP9PKHL0bt2Nx1RPhoq56SkuBm24+bZXsldKSb/4BdkEQAPydCXTRLA482xjnF6T NF4A== 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=LC2T79hHE1b6Xm3QI7TDQ+uuw/B4s4v8EQV0v9OkK8I=; b=xqUIBU0PbO2P2d/68hAZvtkOg7i2+lrDd3zVafNrVlbe6y1VOeD/dHbAyBopvy6oux eaRSNpq4p9owQUoSG7TCbHUCBkCHZ2JqtUiWL1qtRcuQj3u+ZxB6/wEEao5CSlXEEyzH uDiXPjP3+C5bfWk9dgV44fa6RRAY7ktMW3wLp5z3tpCHgj6LuTlctSNsHIAQcx2fNODI Yg0+7SAwSUQvtK7tK/cW4oKbyEqzcPiXlmD9gFeH3HZWntHk0csXsIjgfT5h8SO3yHkj B67ZZOZeWEq0eMU+5/uI4zdO5HAD3O8a3Jzs970KXbq8sFIfEJ6RX0H+oLip039QhHDy TRyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=FPmBawrx; 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 m3-20020a632603000000b0051b1542d6efsi3021229pgm.213.2023.04.11.07.11.31; Tue, 11 Apr 2023 07:11:44 -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=FPmBawrx; 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 S229871AbjDKOEM (ORCPT + 99 others); Tue, 11 Apr 2023 10:04:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229711AbjDKOEK (ORCPT ); Tue, 11 Apr 2023 10:04:10 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0221519C for ; Tue, 11 Apr 2023 07:04:02 -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 971F11FDB1; Tue, 11 Apr 2023 14:04:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1681221841; 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=LC2T79hHE1b6Xm3QI7TDQ+uuw/B4s4v8EQV0v9OkK8I=; b=FPmBawrxaImA0wIHfuSa/57fKLJ8sOM/nemwPu3WdPBnBkeP4+QQcGqfDBnTbOLg6vGB1B 1pf1r5a1qmZANeMsISiEgaESWWetqqTUs2g/9WqhIlqw3GbgYIDPs+M7gznabl4oj/uQLw +boSZzCVv73aefT1geJeMD55sHvvyfg= 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 4E9DA13519; Tue, 11 Apr 2023 14:04:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id fMRSEdFoNWSYSwAAMHmgww (envelope-from ); Tue, 11 Apr 2023 14:04:01 +0000 Message-ID: <6febc91b-e0ac-5b14-5bb5-98dc017440ae@suse.com> Date: Tue, 11 Apr 2023 16:04:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v5 04/15] x86/mtrr: support setting MTRR state for software defined MTRRs Content-Language: en-US To: "Michael Kelley (LINUX)" , 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-5-jgross@suse.com> <20230411132040.GHZDVeqCqATbbgzdXK@fat_crate.local> From: Juergen Gross In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------Md06zI6py0rbr4ErFlFUbrdj" X-Spam-Status: No, score=-4.7 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) --------------Md06zI6py0rbr4ErFlFUbrdj Content-Type: multipart/mixed; boundary="------------J1TEqymdWVu77qv6a003FTsv"; protected-headers="v1" From: Juergen Gross To: "Michael Kelley (LINUX)" , Borislav Petkov Cc: "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" Message-ID: <6febc91b-e0ac-5b14-5bb5-98dc017440ae@suse.com> 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> <20230411132040.GHZDVeqCqATbbgzdXK@fat_crate.local> In-Reply-To: --------------J1TEqymdWVu77qv6a003FTsv Content-Type: multipart/mixed; boundary="------------8Mta09tbVEiDwd0Ht5HYbqUv" --------------8Mta09tbVEiDwd0Ht5HYbqUv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTEuMDQuMjMgMTU6NTksIE1pY2hhZWwgS2VsbGV5IChMSU5VWCkgd3JvdGU6DQo+I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lzb2xhdGlvbl9zdXBwb3J0ZWQoKSAmJiBjY19wbGF0Zm9y bV9oYXMoQ0NfQVRUUl9HVUVTVF9TRVZfU05QKSkgJiYNCj4+IAkgICAgIWNwdV9mZWF0dXJl X2VuYWJsZWQoWDg2X0ZFQVRVUkVfWEVOUFYpICYmDQo+PiAJICAgICFjcHVfZmVhdHVyZV9l bmFibGVkKFg4Nl9GRUFUVVJFX1REWF9HVUVTVCkpDQo+Pg0KPiANCj4gVGhhdCdzIGRvZXNu J3Qgd29yay4gIEh5cGVyLVYgZ3Vlc3RzIHdpdGggdlRPTSBkb24ndCBoYXZlDQo+IENDX0FU VFJfR1VFU1RfU0VWX1NOUC4NCg0KWWVhaCwgdGhlIGNvbmRpdGlvbiBuZWVkcyB0byBiZToN Cg0KCWlmICghKGh2X2lzX2lzb2xhdGlvbl9zdXBwb3J0ZWQoKSB8fA0KCSAgICAgIGNjX3Bs YXRmb3JtX2hhcyhDQ19BVFRSX0dVRVNUX1NFVl9TTlApKSAmJg0KICAJICAgICFjcHVfZmVh dHVyZV9lbmFibGVkKFg4Nl9GRUFUVVJFX1hFTlBWKSAmJg0KICAJICAgICFjcHVfZmVhdHVy ZV9lbmFibGVkKFg4Nl9GRUFUVVJFX1REWF9HVUVTVCkpDQoNClRoaXMgaXMgZXF1aXZhbGVu dCB0byB0aGUgY29uZGl0aW9uIGluIG15IHBhdGNoLg0KDQoNCkp1ZXJnZW4NCg== --------------8Mta09tbVEiDwd0Ht5HYbqUv 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 oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ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6 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----- --------------8Mta09tbVEiDwd0Ht5HYbqUv-- --------------J1TEqymdWVu77qv6a003FTsv-- --------------Md06zI6py0rbr4ErFlFUbrdj Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmQ1aNAFAwAAAAAACgkQsN6d1ii/Ey/H hAf9EMVpoWFSrPN8Yml5ch6C645wGuk/sswGU96acQuJle4XIb/FxgA6XOyGkZkAEKTyFyfXhTio CItjPEqMAgDsjRPbXnUDn0EgsLRMKyNInL5CfBFrtx9VY4UeruNnGg+f/XY7gNIDbpoJAyn5Kiqx UvxnXynsVVrWN0Mnj/PauS0e+4JF6P5R+Of36wp3ksq87aOfxZXrS6YlkcADwrl5+BoWl6bsQu2j gS8iqz3u5iksF4+z1kF/XOGxbG9fHoia8FRB5O8fWPeAQRrfswySLsObnQNL4p6GqVf2gCgBBqsn AAe6k7BdGYZwkTySYbGUbZ7MMSBz+9Vrf3pukXi4Pw== =fftU -----END PGP SIGNATURE----- --------------Md06zI6py0rbr4ErFlFUbrdj--