Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4255989pxj; Wed, 12 May 2021 01:14:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6fd+MWzNEmLAv8MGRSLCHGUQYaKbSNup8NJ1JNS4SypCgZ3E2B47gDjW3ebtWZb4nq/Kz X-Received: by 2002:a17:906:4d50:: with SMTP id b16mr36310962ejv.53.1620807295048; Wed, 12 May 2021 01:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620807295; cv=none; d=google.com; s=arc-20160816; b=NnFA0OMCirPf5LeqadmElRbte99JpHcjlEck0pjjQiAKY1VxtJPnfrrITSc2DsOQ8g 8fi0FEw/fHPS+Mb+SNDonXh3tcpq8uh87GVZ7gNMkwS/m8iPpl1+4zeR18tNojZDBu+k 7OdgNQD1yTjjSdCKTniDZQ/Pk5p972nLLh5MjavU9OqwkgggYhiZ3A6eWVbCPhE+woJU E4NNx7LQh7+vZ2+zLdNaaD1vkW2RZiYB1viwCfx84mfUbNsTX32o25UTWa6Kfy1iuvJk wb2WiL+W0KRvOZlrXTnwFLP64WC4sqIdTaAkvBFOvwFziMPcsPzdZrpb5PiDysSrQuny rWjA== 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=3sTdcT+6M+PsG2fBYWbqCYxY+PQE9rq4VLCAAqcjqqA=; b=B9lhFd6dAMxRcm8yPqjIJ6LzB9laiooom9BVgWbXbYMWFpGKuiG/s/5cb+h708Fccv Pkq9pY2jMALLL38Zlzn/HHj2Qrc2Iwub+sDWnV/vTkdHwxay5XgJhMKiRnriKTOmPsTy u3idkhjFhGaKzRSenBYxVZdePhuCAv5Fhch5U33tdIKWmvSbvfU+ZLFim6/bB/RoroTT Qv+CnHqv03LswEol7V/LxuIW2SnACnEk1uFD59czVcyYsUVArjOnHwTO0wmV6AjlzDM6 IEoo8MaXhrIDzFpjXkjCwf3t8uXHIY7TVNNtnpBFruuu5OzH65CRKVy4fMoPHC5OoW7p vwVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si19791678edy.382.2021.05.12.01.14.31; Wed, 12 May 2021 01:14:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230190AbhELINo (ORCPT + 99 others); Wed, 12 May 2021 04:13:44 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:37469 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230328AbhELINm (ORCPT ); Wed, 12 May 2021 04:13:42 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-24-Mu4ZH7yROfqaElxRZepFWA-1; Wed, 12 May 2021 09:12:32 +0100 X-MC-Unique: Mu4ZH7yROfqaElxRZepFWA-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.2; Wed, 12 May 2021 09:12:30 +0100 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.015; Wed, 12 May 2021 09:12:30 +0100 From: David Laight To: 'Borislav Petkov' , "Yu, Yu-cheng" CC: "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 , 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" , Vedvyas Shanbhogue , Dave Martin , "Weijiang Yang" , Pengfei Xu , "Haitao Huang" Subject: RE: [PATCH v26 23/30] x86/cet/shstk: Handle thread shadow stack Thread-Topic: [PATCH v26 23/30] x86/cet/shstk: Handle thread shadow stack Thread-Index: AQHXRoh6HV4c4+Eb3km5gqBECdAPb6rff7ZQ Date: Wed, 12 May 2021 08:12:29 +0000 Message-ID: References: <20210427204315.24153-1-yu-cheng.yu@intel.com> <20210427204315.24153-24-yu-cheng.yu@intel.com> <89598d32-4bf8-b989-ee77-5b4b55a138a9@intel.com> In-Reply-To: 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQm9yaXNsYXYgUGV0a292DQo+IFNlbnQ6IDExIE1heSAyMDIxIDE4OjEwDQo+IA0KPiBP biBNb24sIE1heSAxMCwgMjAyMSBhdCAwMzo1Nzo1NlBNIC0wNzAwLCBZdSwgWXUtY2hlbmcgd3Jv dGU6DQo+ID4gU28gdGhpcyBzdHJ1Y3Qgd2lsbCBiZToNCj4gPg0KPiA+IHN0cnVjdCB0aHJlYWRf c2hzdGsgew0KPiA+IAl1NjQgc2hzdGtfYmFzZTsNCj4gPiAJdTY0IHNoc3RrX3NpemU7DQo+ID4g CXU2NCBsb2NrZWQ6MTsNCj4gPiAJdTY0IGlidDoxOw0KDQpObyBwb2ludCBpbiBiaXQgZmllbGRz Pw0KDQo+ID4gfTsNCj4gPg0KPiA+IE9rPw0KPiANCj4gUHJldHR5IG11Y2guDQo+IA0KPiBZb3Ug Y2FuIGV2ZW4gcmVtb3ZlIHRoZSAic2hzdGtfIiBmcm9tIHRoZSBtZW1iZXJzIGFuZCB3aGVuIHlv dSBjYWxsIHRoZQ0KPiBwb2ludGVyICJzaHN0ayIsIGFjY2Vzc2luZyB0aGUgbWVtYmVycyB3aWxs IHJlYWQNCj4gDQo+IAlzaHN0ay0+YmFzZQ0KPiAJc2hzdGstPnNpemUNCj4gCS4uLg0KPiANCj4g YW5kIGFsbCBpcyBvcmdhbmljIGFuZCByZWFkYWJsZSA6KQ0KDQpBbmQgZW50aXJlbHkgbm90IGdy ZXBwYWJsZS4NCg0KCURhdmlkDQoNCi0NClJlZ2lzdGVyZWQgQWRkcmVzcyBMYWtlc2lkZSwgQnJh bWxleSBSb2FkLCBNb3VudCBGYXJtLCBNaWx0b24gS2V5bmVzLCBNSzEgMVBULCBVSw0KUmVnaXN0 cmF0aW9uIE5vOiAxMzk3Mzg2IChXYWxlcykNCg==