Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5519700rwl; Tue, 11 Apr 2023 06:39:41 -0700 (PDT) X-Google-Smtp-Source: AKy350bhzNMvh+3qiKhg2C23HkX6Ea7M/InYw/azZw0iY5xogq78KUr5l8kwHSmF/zsjqdjQq790 X-Received: by 2002:a17:907:16a0:b0:94a:8f3a:1a65 with SMTP id hc32-20020a17090716a000b0094a8f3a1a65mr3219593ejc.5.1681220381370; Tue, 11 Apr 2023 06:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681220381; cv=none; d=google.com; s=arc-20160816; b=DXyJDVbPF4zft83tm6Xxh43OlHWPE+MYAzQjzKVqVIdwoBC9/OhEGFbvWFWbXgC3zS lzrZ32ON9d8GgPyUlDnJNC7zGxGeJYg7AGqxbTM9eU/u7i8UHRNCV2JQGOnti2VOtVy0 03C0fGgQ0wIfO3ACO/rDzTceDiSltJiNMtHn2h8WaQm7WQi9z+TecPlOsQmHMmBZCXMk 1sCGi2jDvkpjnoe/pnIIzR8tsXVaGCRZQrgGUNX+oB54WYGLgcBS+2biJaxrGEV08nLf vbesa8c+wada65D06ghSF5i8YNdUvPmpcUtqIhDa5MONVWlVU3RJi2t/lJMJVw/63lWh pmRg== 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=96zGISNOKSVSbd46qfLFa+72DlgbXajQcJLpGAv1mnk=; b=lsyFd7CuWPh9x4AQHLfYjaCKqgixqEqWBhsNf1uOgARhk8wKpMFR/wfGpU/Y8ADa9E ua/DXTcl/zs22V/v2z7jTtXAHWjcKii4esLb8c4as1QLqdAiCsIYTOo0xuDLSB/pSwk5 zYLgbRs1/i4s1c2OLdSdM1n1FXT45zBvxnDlRBp39GET/GOQU0XAFiJCBE3lVnb58Wdq F7zRMAHOb/HzzdrtKsXrSk0eoUmV/1h5EeQTWwfHuUcaHJ4Vn3Z3vwzuFc5VklbCRXmp bjgdBhG8MrT8zhT0UJrDcWE9XPu3IPDWfTuMQ3qtDtJPKxlU3rigYHEjR8pY6KxffNcX 7g7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=iZPTfDQG; 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 qw32-20020a1709066a2000b00938de018211si1791867ejc.831.2023.04.11.06.39.14; Tue, 11 Apr 2023 06:39: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=iZPTfDQG; 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 S229974AbjDKNc3 (ORCPT + 99 others); Tue, 11 Apr 2023 09:32:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbjDKNc2 (ORCPT ); Tue, 11 Apr 2023 09:32:28 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D7F6135 for ; Tue, 11 Apr 2023 06:32:27 -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 0A79E219E3; Tue, 11 Apr 2023 13:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1681219946; 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=96zGISNOKSVSbd46qfLFa+72DlgbXajQcJLpGAv1mnk=; b=iZPTfDQGG1HK6rxZeRles6jk0nXDnVfMbAomy7tlJSiePBkkYLKg8Bjw0wyra7tz6Egewg WhX6hMYb7l4AyQOm1dbcQIFVqM2JwUXpY2ECLV2jCKWgzPwYsd5voR8fX4NRU27uyO4e8B HgyfTZRM1G+AsgMMZUSeX6IWV/tYhz0= 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 C2B0313519; Tue, 11 Apr 2023 13:32:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id gDPjLWlhNWQUOQAAMHmgww (envelope-from ); Tue, 11 Apr 2023 13:32:25 +0000 Message-ID: <6190f3d4-6fdf-5826-a9a7-f15c09bdec67@suse.com> Date: Tue, 11 Apr 2023 15:32:25 +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 03/15] x86/mtrr: replace some constants with defines Content-Language: en-US To: 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-4-jgross@suse.com> <20230403160323.GAZCr4y14GvOA4dZID@fat_crate.local> <1231926a-5d03-5631-a376-b0d738c7e25c@suse.com> <20230405202633.GFZC3ZeVWtmjkODYW7@fat_crate.local> From: Juergen Gross In-Reply-To: <20230405202633.GFZC3ZeVWtmjkODYW7@fat_crate.local> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------HSY2zHk3z5wWUP0ueAz7nrVw" 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) --------------HSY2zHk3z5wWUP0ueAz7nrVw Content-Type: multipart/mixed; boundary="------------QsH06WKk8cBMStU0auiNfRWi"; protected-headers="v1" From: Juergen Gross To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" Message-ID: <6190f3d4-6fdf-5826-a9a7-f15c09bdec67@suse.com> Subject: Re: [PATCH v5 03/15] x86/mtrr: replace some constants with defines References: <20230401063652.23522-1-jgross@suse.com> <20230401063652.23522-4-jgross@suse.com> <20230403160323.GAZCr4y14GvOA4dZID@fat_crate.local> <1231926a-5d03-5631-a376-b0d738c7e25c@suse.com> <20230405202633.GFZC3ZeVWtmjkODYW7@fat_crate.local> In-Reply-To: <20230405202633.GFZC3ZeVWtmjkODYW7@fat_crate.local> --------------QsH06WKk8cBMStU0auiNfRWi Content-Type: multipart/mixed; boundary="------------bndhP0Us8MWt0ce00n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gQnV0IGluIGFuIHVubmVjZXNzYXJpbHkg Y29tcGxpY2F0ZWQgd2F5Lg0KPiANCj4gV2hhdCBpdCBzaG91bGQgZG8sIGluc3RlYWQsIGlz IGRvIHRoYXQgZXhwbGljaXRseToNCj4gDQo+IAkvKiBaYXAgdGhlIHJlc2VydmVkIGJpdHMg YW5kIGNvbXBhcmUgb25seSB0aGUgdmFsaWQgZmllbGRzOiAqLw0KPiAJaWYgKCgodnItPmJh c2VfbG8gJiB+UkVTVl9MT1cpICE9IChsbyAmIH5SRVNWX0xPVykpIHx8DQo+IAkgICAgKCh2 ci0+YmFzZV9oaSAmIH5SRVNWX0hJKSAhPSAoaGkgJiB+UkVTVl9ISSkpKQ0KPiANCj4gd2hl cmUNCj4gDQo+ICNkZWZpbmUgUkVTVl9MT1cJR0VOTUFTS19VTEwoOCwgMTEpDQo+ICNkZWZp bmUgUkVTVl9ISQkJR0VOTUFTSyhwaHlzX2FkZHIgLSAxLCA2MykNCj4gDQo+IGFuZCB0aGVu IHdlIGNhbiBnZXQgcmlkIG9mIHRoYXQgc2l6ZV9vcl9tYXNrIGFuZCBzaXplX2FuZF9tYXNr DQo+IHN0dXBpZGl0eS4NCj4gDQo+IEkgdGhpbmsgdGhhdCB3b3VsZCBzaW1wbGlmeSB0aGlz IHZhcmlhYmxlIHJhbmdlcyBoYW5kbGluZyBjb2RlIGEgbG90DQo+IG1vcmUgYW5kIG1ha2Ug aXQgcHJldHR5IHN0cmFpZ2h0Zm9yd2FyZC4uLg0KDQpZZWFoLCBwcm9iYWJseSBhIGdvb2Qg aWRlYS4NCg0KDQpKdWVyZ2VuDQo= --------------bndhP0Us8MWt0ce00n0mGFRy 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----- xsBNBFOMcBYBCACgGjqjoG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QB4iFQLhJCdP1I5aSgM5IVFdn7v5YgEYuJYx37Io 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----- --------------bndhP0Us8MWt0ce00n0mGFRy-- --------------QsH06WKk8cBMStU0auiNfRWi-- --------------HSY2zHk3z5wWUP0ueAz7nrVw Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmQ1YWkFAwAAAAAACgkQsN6d1ii/Ey8F vAf/e91z7X7qOwYhfAyfupyfOJOFpywQ0eSmVpLXXHgSYMSE8mLfrW6eT3Dkgpd8vGBdq5YEnqcU YUVtt7L89+rG2nnlSz7eYjHTY1hSnk+tG8w3J5aiSHakEVKfr2Xbo21TTFNubSuMUwn+LYbdH9xe CfswI6tqD67XDR1z16JW0dWKI9tJCxwwifC8o9qIhEseL4RTO2gyoWGm46OPCRYb3X+A2A95Lz/g G/iV5WwJT6CPzKupOWrkHR4vnK5B3+NsVhoI7YLxlOia/LPqPhIGU6K5j9SqA1OthwsUCxMF6jz8 jf+W7ZqrVBlmrSHpEANeJOlTXqX/T4OcTubFXQrt+g== =tSnr -----END PGP SIGNATURE----- --------------HSY2zHk3z5wWUP0ueAz7nrVw--