Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp629688rwl; Wed, 12 Apr 2023 01:36:39 -0700 (PDT) X-Google-Smtp-Source: AKy350akzbX9KHF+46ff0mBUh8FbzGgxGAVhbhhGm/dAluluJkvp9LgNHbYMtgTbVESSQIlFOGuv X-Received: by 2002:a05:6402:142:b0:4fd:29e4:ccfe with SMTP id s2-20020a056402014200b004fd29e4ccfemr13646823edu.18.1681288598608; Wed, 12 Apr 2023 01:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681288598; cv=none; d=google.com; s=arc-20160816; b=Ss9hfKbwlrs0KYWK2xIftoEOQarU3KjqPoErxAY/AWl/phwnOaELX+ynGaq9rAGNcr mE/JQ69PD0MJjoSLk+VB9EJ0QPFZtVC+fijL70YY6P0FWy+NcdFA0Y3V9DJUdWSiubct zYBpgipF04oDO9I+leMvQ2BW2yg0FVe7WMB0SG151GjgqlYrvYH+upHt6binbbooJqQZ VtSTpqbVnS2PcEFS+2P3kkdJTtEBD2jLO4Iz3getEMF6KlcjDdmfhhiMbT0hTHg7jtoY cdhd4UKKuhA7LzSuQ7LXUGlQq54Z79k6+QBdkKHWQ3blzVWJQxkeAIVOzawnIELW3RHb iv/A== 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=160/wOz2lKVq/akp63/PN7iWO9CrkLbK/cMM6WYNLxo=; b=ahDoQMDFK0EOmW2NF648qLZy3KhGAYtN0L1sjAtJQHmc2oFeVFO40PGyDqf7kYCEeD c4HB0FuO1bdQD/Ccge8M6gz1BQ9p7RHMTukA6TE7vjXjCqMmxF+VgpBXEqjWsZWboTtm sfwne7/224zGchUkbRASzXaM37UNH2qXoX4HAFYBPeuagDlY0t59XAYIOcCFMBmYs4AW 5WGD7fe9B/+bSwHEJrF6O4gCZXnJkfti73toRtNJECHwk+SV6yJDmufeP58Lkdn9HWA4 EdMAE8QPBLQRC4w/efHEjvovsxuAAyd14Iqo0LwHA9KSd8PdMPPk4V+Nw4AXKgJnAY32 yeRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Q2Bp4qlV; 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 f7-20020a50ee87000000b005048d0c211asi1836398edr.605.2023.04.12.01.36.14; Wed, 12 Apr 2023 01:36:38 -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=Q2Bp4qlV; 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 S230392AbjDLIcf (ORCPT + 99 others); Wed, 12 Apr 2023 04:32:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbjDLIbu (ORCPT ); Wed, 12 Apr 2023 04:31:50 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4A626E80 for ; Wed, 12 Apr 2023 01:30:47 -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-out1.suse.de (Postfix) with ESMTPS id 93EAA2195D; Wed, 12 Apr 2023 08:30:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1681288243; 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=160/wOz2lKVq/akp63/PN7iWO9CrkLbK/cMM6WYNLxo=; b=Q2Bp4qlVj2tQgaClNvLEWSAjp3AfLprD+fmmYo/qP4l/hRaBMk+rFYCNhaCSssKaZH/B/V l9BzMqfP6eAxUCUc2SpVFi2tsCNgoE22nVslCVvyL9937sL/TV2IMiZ0EL4mD3D0CMslIO fcsfVC7yZIYQVNYcItho1VCW0eaxPGc= 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 500FD132C7; Wed, 12 Apr 2023 08:30:43 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hJLsETNsNmRpXQAAMHmgww (envelope-from ); Wed, 12 Apr 2023 08:30:43 +0000 Message-ID: Date: Wed, 12 Apr 2023 10:30:42 +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: Borislav Petkov Cc: "Michael Kelley (LINUX)" , "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> <6febc91b-e0ac-5b14-5bb5-98dc017440ae@suse.com> <20230411142633.GBZDVuGU6HaVYxlCJ6@fat_crate.local> <8c00966b-2739-4479-ff50-d5841baeb32d@suse.com> <20230411171549.GCZDWVxcJxEKXU7TDy@fat_crate.local> From: Juergen Gross In-Reply-To: <20230411171549.GCZDWVxcJxEKXU7TDy@fat_crate.local> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------dHWoLrmI5ZDjzOzvkUud3m4y" 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) --------------dHWoLrmI5ZDjzOzvkUud3m4y Content-Type: multipart/mixed; boundary="------------uVE0rvsAvjNoLfGT8Pok0YXq"; protected-headers="v1" From: Juergen Gross To: Borislav Petkov Cc: "Michael Kelley (LINUX)" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" 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> <20230411132040.GHZDVeqCqATbbgzdXK@fat_crate.local> <6febc91b-e0ac-5b14-5bb5-98dc017440ae@suse.com> <20230411142633.GBZDVuGU6HaVYxlCJ6@fat_crate.local> <8c00966b-2739-4479-ff50-d5841baeb32d@suse.com> <20230411171549.GCZDWVxcJxEKXU7TDy@fat_crate.local> In-Reply-To: <20230411171549.GCZDWVxcJxEKXU7TDy@fat_crate.local> --------------uVE0rvsAvjNoLfGT8Pok0YXq Content-Type: multipart/mixed; boundary="------------V633FJ2BOVig1Rir7NPnxQt8" --------------V633FJ2BOVig1Rir7NPnxQt8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTEuMDQuMjMgMTk6MTUsIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj4gT24gVHVlLCBB cHIgMTEsIDIwMjMgYXQgMDU6NTc6MDdQTSArMDIwMCwgSnVlcmdlbiBHcm9zcyB3cm90ZToN Cj4+IFNob3J0IGFuc3dlcjogWW91IGFza2VkIG1lIHRvIGFkZCBpdCBpbiBWMiBvZiB0aGUg c2VyaWVzLg0KPj4NCj4+IExvbmdlciBhbnN3ZXI6IFNFVl9TTlAgZ3Vlc3RzIGFuZCBURFgg Z3Vlc3RzIHdvdWxkIGNhdXNlICNWRSB3aGVuIHdyaXRpbmcNCj4+ICAgIE1UUlIgTVNScy4N Cj4gDQo+IEFoLCBzb3JyeS4gTGV0J3MgZXh0ZW5kIHRoZSBjb21tZW50IHRoZW4gYW5kIHVz ZSB5b3VyIG9yaWdpbmFsIGNoZWNrOg0KPiANCj4gICAgICAgICAvKg0KPiAgICAgICAgICAq IE9ubHkgYWxsb3dlZCBmb3Igc3BlY2lhbCB2aXJ0dWFsaXphdGlvbiBjYXNlczoNCj4gICAg ICAgICAgKiAtIHdoZW4gcnVubmluZyBhcyBIeXBlci1WLCBTRVYtU05QIGd1ZXN0IHVzaW5n IHZUT00NCj4gICAgICAgICAgKiAtIHdoZW4gcnVubmluZyBhcyBYZW4gUFYgZ3Vlc3QNCj4g ICAgICAgICAgKiAtIHdoZW4gcnVubmluZyBhcyBTRVYtU05QIG9yIFRTWCBndWVzdCB0byBh dm9pZCB1bm5lY2Vzc2FyeQ0KPiAJKiAgIFZNTSBjb21tdW5pY2F0aW9uL1ZpcnR1YWxpemF0 aW9uIGV4Y2VwdGlvbnMgKCNWQywgI1ZFKQ0KPiAgICAgICAgICAqLw0KPiAJaWYgKCFodl9p c19pc29sYXRpb25fc3VwcG9ydGVkKCkgJiYNCj4gCSAgICAhY3B1X2ZlYXR1cmVfZW5hYmxl ZChYODZfRkVBVFVSRV9YRU5QVikgJiYNCj4gCSAgICAhY2NfcGxhdGZvcm1faGFzKENDX0FU VFJfR1VFU1RfU0VWX1NOUCkgJiYNCj4gCSAgICAhY3B1X2ZlYXR1cmVfZW5hYmxlZChYODZf RkVBVFVSRV9URFhfR1VFU1QpKQ0KPiAJCXJldHVybjsNCg0KT2theS4NCg0KDQpKdWVyZ2Vu DQoNCg== --------------V633FJ2BOVig1Rir7NPnxQt8 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/93FcIZ3GCNwFU0u3EjNbNjmXBK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/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------V633FJ2BOVig1Rir7NPnxQt8-- --------------uVE0rvsAvjNoLfGT8Pok0YXq-- --------------dHWoLrmI5ZDjzOzvkUud3m4y Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmQ2bDIFAwAAAAAACgkQsN6d1ii/Ey+2 bggAlgCATaBhcJ8tohGr5l+u+zkI8EJt8Neir5kwVJpk/OeWndxpLqrTH7Yih/vh5OlYn3Pgjmnp iF8zMpBJzE7Pp8vwoGfMUpglk902ug7WV7/B+6/sq2EOVlY+ym56GDsmlpa+hhsnB1z57LtkBdtv lHRI8kBSrAXDbmLf4qYBZuonZZEQw7Z2dhPuXpWqV0S6X4MdX3beiJVNw2174Fi4O0wYEqnnAPyl Ft3AzTWDstMvCdh2hg18sXYPAL+hPghAC1rapNBR/X9RSdEK2WlTLcsIlSDLJdO2oXFSH34k+YOZ cgOCMvNtsPoOs+hGCuJauSAdZxmIpelg+rhrB4ZRqw== =Oi3H -----END PGP SIGNATURE----- --------------dHWoLrmI5ZDjzOzvkUud3m4y--