Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3200328pxb; Thu, 10 Feb 2022 15:01:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0ljO5KRX0hatI8SDTOBPV5KTVwOUxJjXL23QRCJ1FSZu3gKXg6mRUGSTgguc10fyN3ELT X-Received: by 2002:aa7:d993:: with SMTP id u19mr10631810eds.293.1644534118177; Thu, 10 Feb 2022 15:01:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644534118; cv=none; d=google.com; s=arc-20160816; b=1Ew4mziFzNXmUGgUspUN8kjIEB0/xbGhEeoBmhm5Xrqd6icYtxvyGmd86PWEzuJhpx RJli2cfx17461PiCbvbqJqKUztbmsSr8PhzxW13G2DIJrsehTsbbzBEm7xbTfmkRKmsS tlXfTdpUZdxLASHpd6wJo9t779BdtJtPdMDuqHFWEIttKNBWNLzt+zHwuE2s+nW2Vbr0 8U8lOHpn4IxN7X/dK/vJyI68vDXTK+Y0fuIewEMBDpLqioJXykwOWkPRIhQ8DRfbHqBt 0WRWl27bI9IYUdLbC0y4ShLjqAEwHCqdbE/Uo5z+Q9saP6uAtClO3LDnjfNQz+RBnDCP jQuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=rMPJKT18PVNxVWW+hN4xANwsp4W/WF9ZzToAec9Cf70=; b=Z12xIVuNR12taEXa043uf9tWS1NTUZ4cMTMxuT1L46xS2ETkZt/Qgq0YI3c+0QI0SK CSi57wZtnhCBj/UC3hPm74FTYI1FRSuHh4APqUv5buHyQ9U7N7nq47ciYVgRDMGPb4Ml 6IqAtqLXqGIx3SLRSejcdZESXxMNh6ePbYwua1eB24w7gqG02vqk6nl1NoVkTerUxNN5 rOOBd6BT3VLoWQwQuZTmc3+DocEHhxdbnxhQOHbWYJfklMcj1asmZIgbXqjs16TnvpDK 5NjZlQcykJgKWbkUQ2LcR0p1uxBDedPBxOq7UQH0hOiLSFCAzP/a4gAKGRT0FBuq3gLR wLKw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp32si8215961ejc.598.2022.02.10.15.01.33; Thu, 10 Feb 2022 15:01:58 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345190AbiBJWpH (ORCPT + 99 others); Thu, 10 Feb 2022 17:45:07 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237923AbiBJWpG (ORCPT ); Thu, 10 Feb 2022 17:45:06 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A35732737 for ; Thu, 10 Feb 2022 14:45:05 -0800 (PST) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-320-tnvpk8ZBMl6vvx44NdPNoA-1; Thu, 10 Feb 2022 22:45:02 +0000 X-MC-Unique: tnvpk8ZBMl6vvx44NdPNoA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Thu, 10 Feb 2022 22:45:00 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.028; Thu, 10 Feb 2022 22:45:00 +0000 From: David Laight To: 'Dave Hansen' , Rick Edgecombe , "x86@kernel.org" , "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-mm@kvack.org" , "linux-arch@vger.kernel.org" , "linux-api@vger.kernel.org" , Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , "Eugene Syromiatnikov" , Florian Weimer , "H . J . Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V . Shankar" , Dave Martin , Weijiang Yang , "Kirill A . Shutemov" , "joao.moreira@intel.com" , John Allen , "kcc@google.com" , "eranian@google.com" CC: Yu-cheng Yu Subject: RE: [PATCH 20/35] mm: Update can_follow_write_pte() for shadow stack Thread-Topic: [PATCH 20/35] mm: Update can_follow_write_pte() for shadow stack Thread-Index: AQHYHgex3kDJpMh0kE6CJu25wcKQLKyNYu3Q Date: Thu, 10 Feb 2022 22:45:00 +0000 Message-ID: References: <20220130211838.8382-1-rick.p.edgecombe@intel.com> <20220130211838.8382-21-rick.p.edgecombe@intel.com> <37426b64-2139-dc24-c7be-f3cefa4f0dd9@intel.com> In-Reply-To: <37426b64-2139-dc24-c7be-f3cefa4f0dd9@intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 RnJvbTogRGF2ZSBIYW5zZW4NCj4gU2VudDogMDkgRmVicnVhcnkgMjAyMiAyMjo1Mg0KPiANCj4g T24gMS8zMC8yMiAxMzoxOCwgUmljayBFZGdlY29tYmUgd3JvdGU6DQo+ID4gTGlrZSBhIHdyaXRh YmxlIGRhdGEgcGFnZSwgYSBzaGFkb3cgc3RhY2sgcGFnZSBpcyB3cml0YWJsZSwgYW5kIGJlY29t ZXMNCj4gPiByZWFkLW9ubHkgZHVyaW5nIGNvcHktb24td3JpdGUsIGJ1dCBpdCBpcyBhbHdheXMg ZGlydHkuDQo+IA0KPiBPbmUgb3RoZXIgdGhpbmcuLi4NCj4gDQo+IFRoZSBsYW5ndWFnZSBpbiB0 aGVzZSBjaGFuZ2Vsb2dzIGlzIGEgYml0IHNsb3BweS4gIEZvciBpbnN0YW5jZSwgd2hhdA0KPiBk b2VzICJhbHdheXMgZGlydHkiIG1lYW4gaGVyZT8gIHB0ZV9kaXJ0eSgpPyAgT3Igc3RyaWN0bHkg X1BBR0VfRElSVFk/DQo+IA0KPiBJbiBvdGhlciB3b3JkcywgbG9naWNhbGx5IGR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