Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp431774rwd; Thu, 1 Jun 2023 02:11:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Hn17cqCnnwii1OqH7zRTALrkaTgKZiP7LUbgZYi+Xn1LqOzz35zf1kjzqk3cATBM9dbwe X-Received: by 2002:a05:622a:50b:b0:3f6:ac1b:47b3 with SMTP id l11-20020a05622a050b00b003f6ac1b47b3mr10863748qtx.34.1685610713292; Thu, 01 Jun 2023 02:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685610713; cv=none; d=google.com; s=arc-20160816; b=NiskbcSpo0ITchxj3LSCPsIaG0xCasqCotTS3hGaikXhxyJzfI2aT0/40hsIdvovWq dii6pdbVqG9vd//RuH/toy+RtRATaQTg9BWRfNmR1b/IXWpvCwVof53Z9L5yuAYjhIDv /SxestsMT3NrsyaHkuk8FWKLkJDgBJv7uj9B4cM0Xh2bOfelG22M9bmieUa68XEDz8Jb rqCKvFP/ZQFPZ6GZoi6jM+p61/Fmw45IBhUYJQKJ6zH9/Rwe+isyrHk/7nYQCAhsjAeo uEYDFhG8HoRZrjay3g9+U5frlOgyGB0M3ltK9dOh2Hycj4DlM+fPGfuxDSer+51pEBEU OjsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=BDeq38RUOMin/PkjVsrhZ8uiTdQv2mMlWrOcabynyVk=; b=TMm7IfHXWc9Q8dBOmSEPlHMekjIYk6wzhi2bnDoK/V3KOVuPxzLtmg9lHH24m3y4Dk xhVMJm45tI7/7TMQd+iyBNsg6ufuxfuAqgB7av7qWNGwCmIcnfHx+vBamQzrkNZG0fCW U1f/d2jnT8y3Btf6VVQYwkbmAe09HId6LSSFXCNZwyZ08FLKuQaifwypwq63axbfiLSo gYgK6WWtx6ELI/5jgvUeM/o6LBzTAEScung1Ge8kDPAP4+xD79bG55dLXn4NMyz7shR9 GPF1yj9kjt1AVHKDjC4TpmJkVJbOeD4LPvzSkMK5G4Gw4/Sjb9MSRBHmJ6RDepo2GD1e rO6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="trI/aEoH"; 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 16-20020a630210000000b005303b739292si2558664pgc.702.2023.06.01.02.11.39; Thu, 01 Jun 2023 02:11:53 -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="trI/aEoH"; 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 S232034AbjFAIr7 (ORCPT + 99 others); Thu, 1 Jun 2023 04:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231921AbjFAIrm (ORCPT ); Thu, 1 Jun 2023 04:47:42 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7062A128 for ; Thu, 1 Jun 2023 01:47:41 -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 0F4C41FD99; Thu, 1 Jun 2023 08:47:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1685609260; 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=BDeq38RUOMin/PkjVsrhZ8uiTdQv2mMlWrOcabynyVk=; b=trI/aEoHE2kLsgj5l7lkDDFHSBcBFpFTNGGl+rGENQgC3q+XA0qp8TPTD7BjYo7yVMsqYv QYlYtOA99mH8RjD+xKlWhSsy8YE+ZZglaQgPMZzVKP2R4v2kv4HMK8LJkZltdwJ6FZRk6n RULz5UvymWOIpxJK/CfqRCPL6Umew0E= 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 91D8B13441; Thu, 1 Jun 2023 08:47:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7vf9IStbeGSGDwAAMHmgww (envelope-from ); Thu, 01 Jun 2023 08:47:39 +0000 Message-ID: Date: Thu, 1 Jun 2023 10:47:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: Borislav Petkov , Janusz Krzysztofik Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Andrew Morton , David Hildenbrand , Yu Zhao , linux-kernel@vger.kernel.org, =?UTF-8?Q?Marek_Marczykowski-G=c3=b3recki?= , Andi Shyti , drm-intel@lists.freedesktop.org, dri-devel@lists.freedesktop.org References: <20230519183634.190364-1-janusz.krzysztofik@linux.intel.com> <20230531181412.GFZHeOdMHIGOXB2hwL@fat_crate.local> From: Juergen Gross Subject: Re: [RESUBMIT][PATCH] x86/mm: Fix PAT bit missing from page protection modify mask In-Reply-To: <20230531181412.GFZHeOdMHIGOXB2hwL@fat_crate.local> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------QcBtiFiqJ0i63ixS6jXHetfJ" X-Spam-Status: No, score=-4.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,T_SCC_BODY_TEXT_LINE 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) --------------QcBtiFiqJ0i63ixS6jXHetfJ Content-Type: multipart/mixed; boundary="------------Ls1P0J0XwN0b7SxPhQt0DXJs"; protected-headers="v1" From: Juergen Gross To: Borislav Petkov , Janusz Krzysztofik Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Andrew Morton , David Hildenbrand , Yu Zhao , linux-kernel@vger.kernel.org, =?UTF-8?Q?Marek_Marczykowski-G=c3=b3recki?= , Andi Shyti , drm-intel@lists.freedesktop.org, dri-devel@lists.freedesktop.org Message-ID: Subject: Re: [RESUBMIT][PATCH] x86/mm: Fix PAT bit missing from page protection modify mask References: <20230519183634.190364-1-janusz.krzysztofik@linux.intel.com> <20230531181412.GFZHeOdMHIGOXB2hwL@fat_crate.local> In-Reply-To: <20230531181412.GFZHeOdMHIGOXB2hwL@fat_crate.local> --------------Ls1P0J0XwN0b7SxPhQt0DXJs Content-Type: multipart/mixed; boundary="------------P1mVkZbvlERsJpfmP9qOuaTS" --------------P1mVkZbvlERsJpfmP9qOuaTS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMzEuMDUuMjMgMjA6MTQsIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj4gT24gRnJpLCBN YXkgMTksIDIwMjMgYXQgMDg6MzY6MzRQTSArMDIwMCwgSmFudXN6IEtyenlzenRvZmlrIHdy b3RlOg0KPj4gZGlmZiAtLWdpdCBhL2FyY2gveDg2L2luY2x1ZGUvYXNtL3BndGFibGUuaCBi L2FyY2gveDg2L2luY2x1ZGUvYXNtL3BndGFibGUuaA0KPj4gaW5kZXggMTVhZTRkNmJhNDc2 OC4uNTY0NjZhZmQwNDMwNyAxMDA2NDQNCj4+IC0tLSBhL2FyY2gveDg2L2luY2x1ZGUvYXNt L3BndGFibGUuaA0KPj4gKysrIGIvYXJjaC94ODYvaW5jbHVkZS9hc20vcGd0YWJsZS5oDQo+ PiBAQCAtNjU0LDggKzY1NCwxMCBAQCBzdGF0aWMgaW5saW5lIHBtZF90IHBtZF9tb2RpZnko cG1kX3QgcG1kLCBwZ3Byb3RfdCBuZXdwcm90KQ0KPj4gICAjZGVmaW5lIHBncHJvdF9tb2Rp ZnkgcGdwcm90X21vZGlmeQ0KPj4gICBzdGF0aWMgaW5saW5lIHBncHJvdF90IHBncHJvdF9t b2RpZnkocGdwcm90X3Qgb2xkcHJvdCwgcGdwcm90X3QgbmV3cHJvdCkNCj4+ICAgew0KPj4g LQlwZ3Byb3R2YWxfdCBwcmVzZXJ2ZWJpdHMgPSBwZ3Byb3RfdmFsKG9sZHByb3QpICYgX1BB R0VfQ0hHX01BU0s7DQo+PiAtCXBncHJvdHZhbF90IGFkZGJpdHMgPSBwZ3Byb3RfdmFsKG5l d3Byb3QpICYgfl9QQUdFX0NIR19NQVNLOw0KPj4gKwl1bnNpZ25lZCBsb25nI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CBtYXBwZWQgbWVtb3J5IGFyZWEgd291 bGQgYmUgbW1hcCgpLWVkIG9uIGJhcmUgbWV0YWwsIHRoZQ0KcmVzdWx0IHdvdWxkIGJlIGEg V0Mgb3IgVUMgbWFwcGVkIG1lbW9yeSBhcmVhIGluIHVzZXJsYW5kLiBUaGlzIGlzbid0IGFz DQpwcm9ibGVtYXRpYyBhcyB0aGUgY2FzZSB1bmRlciBYZW4sIGJ1dCBpdCBzdGlsbCByZXN1 bHRzIGluIHdvcnNlIHBlcmZvcm1hbmNlDQp0aGFuIG5lY2Vzc2FyeS4NCg0KSU9XOg0KDQpB Y2tlZC1ieTogSnVlcmdlbiBHcm9zcyA8amdyb3NzQHN1c2UuY29tPg0KDQoNCkp1ZXJnZW4N Cg== --------------P1mVkZbvlERsJpfmP9qOuaTS 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/93FcIZ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HAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------P1mVkZbvlERsJpfmP9qOuaTS-- --------------Ls1P0J0XwN0b7SxPhQt0DXJs-- --------------QcBtiFiqJ0i63ixS6jXHetfJ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmR4WysFAwAAAAAACgkQsN6d1ii/Ey/6 kQf/WdC8lFPRqusUZY+x7CjdFNyC/amAKRAyH7uofa2wcRq3Tb2XCNXvdr9r4rvnds2rU/traKab LZ9jbBqYOs16XiOqfbkOvpDZ+XBfV4vFFU+aQSr4OibB041z6ZPw0f/1Y3oFD2dafiiAvx4vQWm3 iebN0VPEV4FFmlCxRmdPyapgOukJho+sf9TQ5L0HR9bJyRM6VocNE6PnsIa2h0tcqRCzjbQVQNI9 NpyJ3a1IpKXOwpsP8XDNcx6pyL/Jo/UzqoXPTKDRWf8hewH2tUeuiJDAFE28S3dngLdrkAxX2MgM IVuWYhLvJkPWRVszr7jJ8Gd94qQCFKjuDjwcT+G4WQ== =ezXv -----END PGP SIGNATURE----- --------------QcBtiFiqJ0i63ixS6jXHetfJ--