Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F070C678D5 for ; Wed, 8 Mar 2023 23:32:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229751AbjCHXcr (ORCPT ); Wed, 8 Mar 2023 18:32:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjCHXcn (ORCPT ); Wed, 8 Mar 2023 18:32:43 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E7A92708; Wed, 8 Mar 2023 15:32:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678318362; x=1709854362; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=2da5QWxIwghsocE4wAqhHV2gx/tAc6HTxLJuG5h1E6Y=; b=IJKqcSXTWtJmn+x1Tg6TunxynH7ElcCZNtQU3ZqI1zKIWuXEYnSx42YX nBVBiw2uMaTmmxG0100gogwxP2WmPZZ4tofgOqhsbJeXGDjCCXgk5Mzfv CkNRz+eMh9exM3Vnp292sU8VNXvEWgote/Vrt4vRXb8kmPLr06psWqupW ms8jk3+GBXU5aLNoEq1eA44Q+3qeLSPvhJDYb4xFj+cmccOYaBpHC9L46 hemG31gqUOQpL1Qaaa/xs32nPkXPhVL1n7dcgDtrWgxcEYsSGE/pwIZn6 I97GcmgZfNfJ+fb0LegvO2E8rJT9NaGcebqB2yDMvqEZ3YbtOYKkeDxnW A==; X-IronPort-AV: E=McAfee;i="6500,9779,10643"; a="422576088" X-IronPort-AV: E=Sophos;i="5.98,244,1673942400"; d="scan'208";a="422576088" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2023 15:32:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10643"; a="741315291" X-IronPort-AV: E=Sophos;i="5.98,244,1673942400"; d="scan'208";a="741315291" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 08 Mar 2023 15:32:40 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 8 Mar 2023 15:32:40 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 8 Mar 2023 15:32:40 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2507.21 via Frontend Transport; Wed, 8 Mar 2023 15:32:40 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Wed, 8 Mar 2023 15:32:39 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GHS0PzMxBikNU94/d6mk4T9wUueEq8A8gquWa4KebFKt8Y/hARrAvpsYn81UgxKbE1MlYE9agC6ZWrlUlWzxAdDlwx0Cs9JwiMLFyKoOIG9spw2Yjj0zOoKoYLOB5F8DaDnP2AcfLrnEEvsGC4tx2iUajFNiBNLnmi4gCIEDl+zS3Stg+opetGsW+dpfA42DBVX6cRNNDEbeP3gYKgW8MXASCln3PxghSoTg8sFvk2N/UbS66Db/LW2cezFMlWfitU7671Sg4MKfWJfzmnkvd54sy8KOXhXNUVoeYQr7vCzbJi8BFndiPAeukXvlKge2L54xWzhjCdYbnFcXaAQY2w== 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=2da5QWxIwghsocE4wAqhHV2gx/tAc6HTxLJuG5h1E6Y=; b=TZC15dvP1IZ64md+CgGzNpM/1HncZrZEI55jvM6ukCt8xYWFa452Jq93Zg86xQTtD6hurrTsYhhH5vRLDzItebsbfRcP1z15Jk/437/PmM3k6+G0CMMp3sD9jU88edg2jK/Ymo9YN3XfQMWw4FJSbLLgg1R1SibFQGywAlIa96Ex+AOgEiCSmPxYn3kcvI/N/e+XTCQtGCTzf4fs7gwToqssaO55HFbbm441Tq2U/+tMhTLDtCYt01UZf8nXmdxAsPXH6WUledU7FYOn4u2PWaA4lczGASmzs/AWw6ddR4BZciKuq/Ao1hnrgCJJ2WaJ7jE2VNjBKNcAhN/vAkPfXw== 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 BN9PR11MB5227.namprd11.prod.outlook.com (2603:10b6:408:134::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17; Wed, 8 Mar 2023 23:32:37 +0000 Received: from MWHPR11MB1392.namprd11.prod.outlook.com ([fe80::d41f:9f07:ed56:a536]) by MWHPR11MB1392.namprd11.prod.outlook.com ([fe80::d41f:9f07:ed56:a536%3]) with mapi id 15.20.6178.017; Wed, 8 Mar 2023 23:32:37 +0000 From: "Edgecombe, Rick P" To: "bp@alien8.de" CC: "david@redhat.com" , "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "peterz@infradead.org" , "rdunlap@infradead.org" , "keescook@chromium.org" , "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" , "pavel@ucw.cz" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "Yang, Weijiang" , "Lutomirski, Andy" , "linux-doc@vger.kernel.org" , "arnd@arndb.de" , "tglx@linutronix.de" , "Schimpe, Christina" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "akpm@linux-foundation.org" , "debug@rivosinc.com" , "jamorris@linux.microsoft.com" , "john.allen@amd.com" , "rppt@kernel.org" , "andrew.cooper3@citrix.com" , "mingo@redhat.com" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "gorcunov@gmail.com" Subject: Re: [PATCH v7 28/41] x86: Introduce userspace API for shadow stack Thread-Topic: [PATCH v7 28/41] x86: Introduce userspace API for shadow stack Thread-Index: AQHZSvtC0qoWAoXd0kKURn+giTskNK7wu1QAgADbO4A= Date: Wed, 8 Mar 2023 23:32:36 +0000 Message-ID: <9e00b2a3d988f7b24d274a108d31f5f0096eeaae.camel@intel.com> References: <20230227222957.24501-1-rick.p.edgecombe@intel.com> <20230227222957.24501-29-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_|BN9PR11MB5227:EE_ x-ms-office365-filtering-correlation-id: 9fa7c8be-5245-4230-d5db-08db202d6678 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: 7LBnrNsibJKJMrLCDT5vd4eF1JHHXk9k/fY9w0aqXmAqghCuNW7hETha9wEu/WNdv5ZHPck618ETT9NBBPiorCKLmTWCiNndmir2M2cayAq86Kl+qz9BRSM0o7hy6tp+X60102M1lkYy909nYPvdosZk8cBMq1PtnwKwFhK1teKXtNNbcukbdAk1jUlrzJccV0QqOoHw6aS2OO4Hjkfaxlu+whGz3ErOaio82d71Pzdc5IKpVEeh870ghJMfB0EQcUiVt/nQTZy2YhXlkSmMgGM2IG4Pc10U7h4iFWc1HMWoy8KKPZHw2PCFx2+yjuTgh6HIJ/WBkZfkXbUskcTr7R5lV1m6RrPh7pXcXOepBLE3iokVJHq6XQnoaHk52ZNxgIt11z8B97t/r4m2eNy/cNi+CJSuE3uMm6DZEdzGm2mu3EDPavNY0yF/bzUYZiK6l+TlkBe2M5UpgNQ4dhPspSdUT81DXDYAsc+TdUDZT4ei72hLy06Ze5egQnRCC+nCkVvT9WV9MFpaEjE9UdPVGNhjfQuMS8gfv7SgpSUr5p3nWlVWjwz39fb5dYPjfVoOsNtibggXJ+ZNWmn4tAT73DAr7OXb9x8NXBiU1XK8E+6FYSMmTQ5shBWAHpFBqodG855uRH+TnbjNbOWD321RhT19ntPo1N+FnOLCr3d1inlBbaQA1755vTcgNDGJ18dsjK3H7hIYwThonQjPRHdnf/OKJfEQzhv7YgzyTkVY6tE= 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:(13230025)(39860400002)(396003)(346002)(366004)(376002)(136003)(451199018)(8936002)(7406005)(5660300002)(7416002)(64756008)(76116006)(6916009)(8676002)(4326008)(91956017)(66446008)(86362001)(66946007)(66556008)(83380400001)(36756003)(54906003)(71200400001)(478600001)(316002)(41300700001)(66476007)(6486002)(82960400001)(186003)(2906002)(38100700002)(122000001)(6506007)(6512007)(26005)(2616005)(38070700005)(99106002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MkJ4dVR2MlMyUVl0K3g0YXQ5SmNtUTkwMXRBdldiLzRzYUY4ckNnRU9SSWlC?= =?utf-8?B?SlpXR1p5YzVIRk8wQXhvV1hvRFM4UXo1SWovN3VtMHBWcEp3cC9XbEFQQkt3?= =?utf-8?B?THZCdzdiSU1pWGtucXFHNng0L0NqZmRJSEtJZ1ppNlRlK0hrb3FGampHNGdZ?= =?utf-8?B?ZE9zRHREWU5rWUxTWGFWSHVvSmFremtYZlVNVi9rdm9zbmJYS2wrcDEyY0xG?= =?utf-8?B?NTVDbUJZdVREVys1S1FNOGVYcS90VmUvYkcvSDF2TjBLbFJscytOT1J4WVRm?= =?utf-8?B?K29SczlFenhKT2E4UmxHVWoxOVp1Vzc4MXYwU3Z6cUhFcVhzREI5Y3JrSlVs?= =?utf-8?B?Vk10TWhFRmpScC8wcHBwemF0Y3M4d1NOWVpwMDNURGZESDZVNGl1S3NBUWx6?= =?utf-8?B?M0RXWm5KSnFHZlNjSmFCZ1M4OFJQYWljdjJ4VWl5dkFWcG1Rcm82MDNLMXFR?= =?utf-8?B?cWpGV1I0c0RYZUE4WGV1a2taeXpibVRKeXA1ZzgrN1lBd1ZhcDR2WUhYL1Zm?= =?utf-8?B?dGkyZ3FGNm54ZnppTjNYdWs5dWhIS2lCWFlZT1YvaX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SlVncnJkNkRMZGVCdEJ0RURYYUFWYUFaQ0h2b05pV2RjbDc5ZW1K?= =?utf-8?B?WDdqS3RZYnhXUnkySGtGU0lJT3RGSFNzMWFGYzJ2c29DWlFOVEtSYjVuV1Bq?= =?utf-8?B?ODJNZkNxMFg0cTFrYzZ2UE84b0hvSVF0WWV5djdsQUVQQUQ4azZCQk9MUHlN?= =?utf-8?B?cGVOZ3RqVzdZVkUvR1phL3lhQmZ2OC9KV29PeTFqandRWVdYVFludnhHMHh1?= =?utf-8?B?UEdodTZpTkJJZnZwY1N2VCsrMnk5Vk82dWpkOTJrMXRacXZlK3NKcnBPTHZJ?= =?utf-8?B?T3p2cFk4Q1BHM0hiQk41RjNqYXVFOFZubG93NUl3MHBIaFZGSXJBUW4yUERZ?= =?utf-8?B?aDJUNWtkbzZic1piWElUQ1lDY3VMUkQ1Z2QrY0FFYWIyZDJlSVJQeEU2QnN2?= =?utf-8?B?Rk9BdGUzNG9Ka2JIQTVnMkxLTWo4TVE0THlZWVBnaU9HbFh5bE9PbUE1ZVNr?= =?utf-8?B?YnVuMGNZWFFYQ0Q0bEs4VE55blpyM3d6ODh3Nk03K1pnOCsrZHBIVHBweDhq?= =?utf-8?B?dmNyWFpneDN4MVllOFovZis0OEtkaVNXd1p1M2lyeWJNRnFVMGdxK2xRc3NZ?= =?utf-8?B?RUhHaHdnTm9jSFptT0FQS0l2UDBNQmxGeEhaSmFmVEc5c0l2VGNjMmVQN1ZP?= =?utf-8?B?Wlhlam5hMDBOTm5Eb3doWll1dUJLbExFbHl1aTRYVjhiVWI2Ui9pRnBIQlFE?= =?utf-8?Q?+oyMK8Bn29XP3SMB26ZDkL8=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <881405FAE6351647A849C47372AE3E72@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: 9fa7c8be-5245-4230-d5db-08db202d6678 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2023 23:32:36.7556 (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: YhzYvgRFR55YcuZXU+fC5qCTTqZKWnaiKGOyyAtZPo0LQ6pM+AYyBCmb05ghCOT7TE/uiC2/ksFBVqDObDAuBD0LH0v5WjfOHbDc39Qy44Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5227 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIzLTAzLTA4IGF0IDExOjI3ICswMTAwLCBCb3Jpc2xhdiBQZXRrb3Ygd3JvdGU6 DQo+IE9uIE1vbiwgRmViIDI3LCAyMDIzIGF0IDAyOjI5OjQ0UE0gLTA4MDAsIFJpY2sgRWRnZWNv bWJlIHdyb3RlOg0KPiA+IEZyb206ICJLaXJpbGwgQS4gU2h1dGVtb3YiIDxraXJpbGwuc2h1dGVt b3ZAbGludXguaW50ZWwuY29tPg0KPiA+IA0KPiA+IEFkZCB0aHJlZSBuZXcgYXJjaF9wcmN0bCgp IGhhbmRsZXM6DQo+ID4gDQo+ID4gIC0gQVJDSF9TSFNUS19FTkFCTEUvRElTQUJMRSBlbmFibGVz IG9yIGRpc2FibGVzIHRoZSBzcGVjaWZpZWQNCj4gPiAgICBmZWF0dXJlLiBSZXR1cm5zIDAgb24g c3VjY2VzcyBvciBhbiBlcnJvci4NCj4gDQo+ICIuLi4gb3IgYSBuZWdhdGl2ZSB2YWx1ZSBvbiBl cnJvci4iDQoNClN1cmUuDQoNCj4gDQo+ID4gIC0gQVJDSF9TSFNUS19MT0NLIHByZXZlbnRzIGZ1 dHVyZSB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