Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1580774pxb; Thu, 4 Mar 2021 15:23:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRy+ZoVjzgVQ/8evwr0u9KRfqIuxbGT0C+Ue9KrBNZR74iwti9VdLYKe6x5+yu83N9+3VB X-Received: by 2002:a92:c56b:: with SMTP id b11mr6428722ilj.167.1614900232701; Thu, 04 Mar 2021 15:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614900232; cv=none; d=google.com; s=arc-20160816; b=rT8QIfdbxFDU08y5iwxM+mwzbyLCoeiMmyeTAJtLK+o4VmcF/axn+3aRJOLMheCTCs v/qCcW8pDPHPxamk6v5w6VCRIh4GXFX/hKa89637eGSyPL3caNNRMBtZvvg7LO9VpRF6 z4Y0PWencclQyFZpfNYWa+5X2dwtLrb0td8HxcsWDpjPJXn7x95CEqsUB4vDv4X5Sv3J PY6gB3YTnXSmksXHJUxmpLHIQFbx7MCyDVUEXROGKrvaccyUc903GHEpXLrKjgKcJEwu RJlJowa0Hl4P+UU5JKlX/p4V8SLERWfx9THevyf3HH4T88JJAHYgH/QM3uHWv2QTMGau wFBQ== 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=SM9GDPwBubYMA6WN/9K/dYtOWoqZVk8c6hOuAEksIFA=; b=sL+A1lZ24+eBhHenKECx6r6lKsE++ZkOjBU0Y4GyrOC+8mSsyY4R+oyIenKJX264bq /jSrPdIpBOfOoOWvtzxvuh8a7wNC7IuycQxqIKNzVzP8RquSj1R27G8a2rE2uoAtAnpo 76elWhBsQRuADLVRxUt3TZHh4kUocXInZHczvBcopPMTvO7Ae/9/9iQZ5TtdnXoqreaw /AFFwgr5hwriHk2U8LT35k0nlnxLVYaFtkbKbls7sbTh3irMzw0hollxnYcVFYal4hci Z0G76CP3zpiHhIA+eaVLqNux01/NSoSyqQ9okoVMzj0R7wOzJvfieL72UpjLiQBZr47r FdhA== 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 w18si633231iod.102.2021.03.04.15.23.40; Thu, 04 Mar 2021 15:23:52 -0800 (PST) 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 S1835768AbhCCSEt (ORCPT + 99 others); Wed, 3 Mar 2021 13:04:49 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:28737 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381057AbhCCPcX (ORCPT ); Wed, 3 Mar 2021 10:32:23 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-129-p7FEIIrCNG6cb_3HeC64uw-1; Wed, 03 Mar 2021 15:29:45 +0000 X-MC-Unique: p7FEIIrCNG6cb_3HeC64uw-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 3 Mar 2021 15:29:37 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Wed, 3 Mar 2021 15:29:37 +0000 From: David Laight To: 'Linus Walleij' , Will Deacon CC: Jian Cai , Nick Desaulniers , Manoj Gupta , Luis Lozano , clang-built-linux , Nathan Chancellor , Russell King , Catalin Marinas , James Morris , "Serge E. Hallyn" , Arnd Bergmann , Masahiro Yamada , Kees Cook , Ard Biesheuvel , =?utf-8?B?QW5kcmVhcyBGw6RyYmVy?= , "Ingo Molnar" , Marc Zyngier , Andrew Morton , Mike Rapoport , Mark Rutland , David Brazdil , James Morse , Linux ARM , Linux Kernel Mailing List , "linux-security-module@vger.kernel.org" Subject: RE: [PATCH v4] ARM: Implement SLS mitigation Thread-Topic: [PATCH v4] ARM: Implement SLS mitigation Thread-Index: AQHXEECBQRoTQnOC90iuKvtWWC/yz6pyYx/A Date: Wed, 3 Mar 2021 15:29:37 +0000 Message-ID: <49e8725f29ab4ecda6d669e9216bca29@AcuMS.aculab.com> References: <20210219201852.3213914-1-jiancai@google.com> <20210219230841.875875-1-jiancai@google.com> <20210222115816.GA8605@willie-the-truck> <20210223100453.GB10254@willie-the-truck> 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 RnJvbTogTGludXMgV2FsbGVpag0KPiBTZW50OiAwMyBNYXJjaCAyMDIxIDE1OjE5DQo+IA0KPiBP biBUdWUsIEZlYiAyMywgMjAyMSBhdCAxMTowNSBBTSBXaWxsIERlYWNvbiA8d2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