Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7554184rwb; Tue, 15 Nov 2022 14:13:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6I6lxMDCP+zc3A4PyYYbCrLYcRZMckLhzN8x/61G5Yz1CENB7CFHdlOMrzmR7EqqR08Xw4 X-Received: by 2002:aa7:8f0d:0:b0:56b:d738:9b with SMTP id x13-20020aa78f0d000000b0056bd738009bmr20165087pfr.61.1668550413545; Tue, 15 Nov 2022 14:13:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668550413; cv=pass; d=google.com; s=arc-20160816; b=u+JsoZBLPCx+L3NaicAiM7HORRwtTVo6jg/I+KW5xDM3//R2ckKMznuhgKo9GTRewf QF8mHCi5MvPTkYS6vPBsUS9CoN5SONQ4X5ByEwvM8eko0QK4URuJN+TDmB4ytxHpV1xq Ge8VUF1baKJ+uiApNbCmDFyOlLd9VirRt3iiEA0S82oO6+HRG9vPzEMQK+7JOZZM49E5 +g5XZV6xMxJ9wOV3yueRkZBJPbKcdgpzsfCmeuA8Dxav5Nx/bHlsPuHARbjsmMqujwrH 2chm9dIEuKfxNjC+DXSCBbFT8iYG4t1hjMbi5tsizDRDpA7NhsQaXeoLX59bz+4u8tAS PwWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=tc209InMG8zJXJ2smzGRNQLL2WzafcWHWwCHeCJ2YQg=; b=gDFnsF5oZ/PUu8R8dhhNY6KxDrLB1DOPVITujLJq7dh9j4xP9BE7AkpH49cH27RKAk O3OyYMOMWBy2gR10duYZzBfHbN/wj50RkEGhjHb2v9P56RwvoRo22fcHStF/bdKFHKaX PxbjO+OcxlRP/8tBeEyncEPaclZa7QztMx/TZdqWBgy0JhcOY0L1/DBZ9ePhRqGS5SbV zv1JTqusk+YxSuGHbEuWwtBPQBIBJfqSGYIjxT8bWiH6ur1JNqBTJKaFWkO40Nh3QyCL ZAevrH+PDNSxDIv8usCOwLkofsB6fAkyD6jKTgAYKWVXiOoTM4usHfjy6JhBvCMBHTmW Mj5Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HFI8NBXd; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x17-20020a1709027c1100b0018863e1bc39si12095921pll.248.2022.11.15.14.13.22; Tue, 15 Nov 2022 14:13:33 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=HFI8NBXd; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbiKOVq2 (ORCPT + 90 others); Tue, 15 Nov 2022 16:46:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbiKOVq1 (ORCPT ); Tue, 15 Nov 2022 16:46:27 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40E0CAE7A; Tue, 15 Nov 2022 13:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668548783; x=1700084783; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=tc209InMG8zJXJ2smzGRNQLL2WzafcWHWwCHeCJ2YQg=; b=HFI8NBXdPYpw/sRBv5cEVlbkSRknLMbwB/gvX2YaQ/jMfMKRnlrwqoA+ czax3ViOfHVRyNntVvKurt38ysodw1Ly+3qsiNEuEBWFHhzFRpxNm108+ ZyUvQqHyhUZ0Sfg+1AyPyQcd2GguC8NTNHDAo9QKEYM4XBWVpVhYObOrM b57PiBegRVsuf8eulx+Q2uZIBX0khTCI7Dg7OP/qmL26XyBsHkaJwi8Fw TX9rBPA4gj/TGzeOgU80kw0eOzyqflPkQfrnTPW/UBdjnzOXFTBnJQl42 JizY7dEQadzxmwvlnIHajGqcqn+TFMoSzo4JeXjGZuAY4GY/fpK1fFGfT g==; X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="310003332" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="310003332" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 13:46:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="707894236" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="707894236" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 15 Nov 2022 13:46:22 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 15 Nov 2022 13:46:22 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 15 Nov 2022 13:46:22 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 15 Nov 2022 13:46:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XgSwyCKVyNIG4S8bhw/UUk9K0I1MRoOOPxKFaARImenkhdKcoZtlebg4OX+K3Bkd8joeHUf4cUGL8FvR5V6vsxYh/wB3+TzO+Q6ZSbdN9cnN3ytiv33SKyYpyv7fBlQeZKgu7SbidhwnqoLIxG+zPQhtfdSsIxGCTu3KFgXWjhavJVtWGZt0vJfIRx42GTM9AfZy0BAGpm4uYPjIqq5gRtfI2rohWSG4o6xQ6Wjzshl0kLFuteSPoeCFkde+9DdHSppo+K7+1yf9hvTbDgF9zYjO/i6jMjr6FJNCavz9iIQQsHL3zI9n9EB6waypIq8b/7ikfApVNoiKt6ubO3Sw6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tc209InMG8zJXJ2smzGRNQLL2WzafcWHWwCHeCJ2YQg=; b=QGbiRCZmSMw79k9lbP36voa4kNL5zRPG4sO92B35oVnCENrU05ss6l+0njt9bhW3rJM1Kt20OJPEORni0PgDznDlHrE9LrIBsJdLbTkiG6E77tMQO/1n3BaSypVK77bEjhyx5s0jYwM35S8jxokGH36xzuJrK0rWo+3TkBerUZAEzW3clAh/9JZGVL1CFg0Q3IYfm/06IalfU+EijprGZ1L5konUX16es0AS1NZD9f7PCyrRkRi1IHvIEYvtoX7ht0jo+1G6tQsXZBQu8Tmbkl6WEuzPeHUd22ZWUBmrBkozQ+ShPhQ7/1FdQWjFThgbPLd+TMIddQfWhThFyzrVmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR11MB1392.namprd11.prod.outlook.com (2603:10b6:300:24::14) by SN7PR11MB7637.namprd11.prod.outlook.com (2603:10b6:806:340::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.16; Tue, 15 Nov 2022 21:46:13 +0000 Received: from MWHPR11MB1392.namprd11.prod.outlook.com ([fe80::add7:df23:7f86:ecf3]) by MWHPR11MB1392.namprd11.prod.outlook.com ([fe80::add7:df23:7f86:ecf3%5]) with mapi id 15.20.5813.018; Tue, 15 Nov 2022 21:46:13 +0000 From: "Edgecombe, Rick P" To: "peterz@infradead.org" CC: "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "rdunlap@infradead.org" , "keescook@chromium.org" , "Yu, Yu-cheng" , "dave.hansen@linux.intel.com" , "kirill.shutemov@linux.intel.com" , "Eranian, Stephane" , "linux-mm@kvack.org" , "fweimer@redhat.com" , "nadav.amit@gmail.com" , "jannh@google.com" , "dethoma@microsoft.com" , "kcc@google.com" , "linux-arch@vger.kernel.org" , "bp@alien8.de" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "Yang, Weijiang" , "Lutomirski, Andy" , "pavel@ucw.cz" , "arnd@arndb.de" , "tglx@linutronix.de" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "linux-doc@vger.kernel.org" , "jamorris@linux.microsoft.com" , "john.allen@amd.com" , "rppt@kernel.org" , "mingo@redhat.com" , "Shankar, Ravi V" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "gorcunov@gmail.com" , "akpm@linux-foundation.org" Subject: Re: [PATCH v3 25/37] x86/shstk: Add user-mode shadow stack support Thread-Topic: [PATCH v3 25/37] x86/shstk: Add user-mode shadow stack support Thread-Index: AQHY8J5ePUADd6Ic9E+fUYJmZCKAz64/+2yAgACasgA= Date: Tue, 15 Nov 2022 21:46:13 +0000 Message-ID: References: <20221104223604.29615-1-rick.p.edgecombe@intel.com> <20221104223604.29615-26-rick.p.edgecombe@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MWHPR11MB1392:EE_|SN7PR11MB7637:EE_ x-ms-office365-filtering-correlation-id: b71935d9-7cc7-4c57-a95a-08dac752d0f3 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JIQExoQeAxkWou/Ifd95408+ytwUcZo+5LQgIkN2N9H1vZUM5XlhfnTQZxCJ7bUw5HhPTr41JD6GHZdCQTEr1sQcbHapAJXHsB+yBRAQ/qFk+5zhad3sNUsVwVl9Gfeo1LE12oWrGXxa/ZQb4IUPibreC64CyB48Dbi2IZSy6Si2kgdoUENOWJBmECrHGbMBBBkf7HwJVVgu8GAI0cdSSRXhWgSCrHCcX7giuNwmMdOn9HLmTlcce7eYbERx5nBH8ZEG/8fCAUPeHQ59pCys3FsVCXth8/Ku8y25egdfn3b/dNbeGCU6YNJTB8G1xBmBSNj/qf4qij0gh2UCLdkH4MuM8UMgSmpWP7P27cUxcCPJBKAnEWFdawbMt6OxUCJpN8pX2WiSQEH8Iyyynxc3hHXgJJ1sghTBggzGMLlaRcyGbiOGdOxaceaE6yzRd0rILNEOQyiuQuoVB2t0k7EeypXwTBIsnZj1kqneFYDi2Zj3ummPNskhAipGrr+0WWyl8qjGelT6SgCVDAUC7oF6HBSzQqYjMjolyiG2LCI6FOAOc53v0d7LtzVVuorvLwZ2ouoIR8UAXjsmk+rRpg+m1fmT7nWWkgb1nj5JTaWHeL4bOIEg625Hs09crfg6cOpoSYITeRZngc0lgs8eUt2ztHtkuvKRrUOScK2SWALhDq0kjvNx3XayiVwwDaRhOjBZUi5ZETiRAHRpWDpI3UGbN/cAHo0NodYrIVxyuORW6iN6pS8ym28V9Y9YaaqoVYqwy4h3oOq8NqRvVoxk+vd+ZxFMh5uvmU3ZJJqzA7zlJrY= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1392.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(376002)(39860400002)(366004)(346002)(396003)(136003)(451199015)(7416002)(5660300002)(7406005)(71200400001)(36756003)(6512007)(8936002)(26005)(86362001)(2616005)(4001150100001)(6506007)(83380400001)(6486002)(478600001)(2906002)(8676002)(4326008)(186003)(38100700002)(66476007)(64756008)(54906003)(66446008)(6916009)(66556008)(82960400001)(76116006)(91956017)(316002)(122000001)(41300700001)(38070700005)(66946007)(99106002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TTdkWjNHUzl1TU1RdkdrazZvMWEvR3hFTjJWZ0EyMVJ6MkFxZFpqUlovNTRu?= =?utf-8?B?Z25JV3dSaWNUSWtoN1VJdVdhTUY1OWwzOXdkdkVVQy85LzAwMkg5UTB5eHRi?= =?utf-8?B?bXlRNlIxVmMrTzNv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?= =?utf-8?B?alFYcVhOQlVGSU1JU3hjazIxZC8xQzRXcmtSUkV4K1BGY3ZIejNZTE9GTHBn?= =?utf-8?B?QUV6QTdjS0dvalU3Y0ljL2pkY3pjMTFwYzlleUI4Y2tmQWVsTW5EUjZLUHFF?= =?utf-8?B?bVZ5MFVwUjU3N0JKOStRYlltTmhSSDFKVktHeUVlMVNMdjEzQStqWDBNaGlD?= =?utf-8?B?WnFGOHZFUmZmVWZ6VUNaZmZHNERSczZkVVRSZHVpMTN0TkNLTXdWNWF2RXZM?= =?utf-8?Q?Os41JKbKIfEb0jgKjuynSRc=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <13CB2DD0210FEF4E9600102EFB8E6485@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1392.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b71935d9-7cc7-4c57-a95a-08dac752d0f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2022 21:46:13.3065 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: G9NxCYC7Ma3wvrXudHvjHsdQQo2iGIuUD/N+CimHwqUT/5b5VsRwNulzpB2c1FqWAhyIBejtTaU8gQilTXz4Fx4TxtSv/Us5GRck3FHvuj0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7637 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE 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 T24gVHVlLCAyMDIyLTExLTE1IGF0IDEzOjMyICswMTAwLCBQZXRlciBaaWpsc3RyYSB3cm90ZToN Cj4gPiArICAgICBzdHJ1Y3QgdGhyZWFkX3Noc3RrICpzaHN0ayA9ICZjdXJyZW50LT50aHJlYWQu c2hzdGs7DQo+ID4gKyAgICAgdW5zaWduZWQgbG9uZyBhZGRyLCBzaXplOw0KPiA+ICsNCj4gPiAr ICAgICAvKiBBbHJlYWR5IGVuYWJsZWQgKi8NCj4gPiArICAgICBpZiAoZmVhdHVyZXNfZW5hYmxl ZChDRVRfU0hTVEspKQ0KPiA+ICsgICAgICAgICAgICAgcmV0dXJuIDA7DQo+ID4gKw0KPiA+ICsg ICAgIC8qIEFsc28gbm90IHN1cHBvcnRlZCBmb3IgMzIgYml0IGFuZCB4MzIgKi8NCj4gPiArICAg ICBpZiAoIWNwdV9mZWF0dXJlX2VuYWJsZWQoWDg2X0ZFQVRVUkVfVVNFUl9TSFNUSykgfHwNCj4g PiBpbl8zMmJpdF9zeXNjYWxsKCkpDQo+ID4gKyAgICAgICAgICAgICByZXR1cm4gLUVPUE5PVFNV UFA7DQo+ID4gKw0KPiA+ICsgICAgIHNpemUgPSBhZGp1c3Rfc2hzdGtfc2l6ZSgwKTsNCj4gPiAr ICAgICBhZGRyID0gYWxsb2Nfc2hzdGsoc2l6ZSk7DQo+ID4gKyAgICAgaWYgKElTX0VSUl9WQUxV RShhZGRyKSkNCj4gPiArICAgICAgICAgICAgIHJldHVybiBQVFJfRVJSKCh2b2lkICopYWRkcik7 DQo+ID4gKw0KPiA+ICsgICAgIGZwcmVnc19sb2NrX2FuZF9sb2FkKCk7DQo+ID4gKyAgICAgd3Jt c3JsKE1TUl9JQTMyX1BMM19TU1AsIGFkZHIgKyBzaXplKTsNCj4gPiArICAgICB3cm1zcmwoTVNS X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