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 25F21C433F5 for ; Tue, 14 Dec 2021 23:48:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238337AbhLNXsh (ORCPT ); Tue, 14 Dec 2021 18:48:37 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:15733 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbhLNXsf (ORCPT ); Tue, 14 Dec 2021 18:48:35 -0500 Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4JDFP92vPPzZddX; Wed, 15 Dec 2021 07:45:33 +0800 (CST) Received: from kwepemm600004.china.huawei.com (7.193.23.242) by kwepemi500006.china.huawei.com (7.221.188.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 15 Dec 2021 07:48:32 +0800 Received: from kwepemm600014.china.huawei.com (7.193.23.54) by kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 15 Dec 2021 07:48:32 +0800 Received: from kwepemm600014.china.huawei.com ([7.193.23.54]) by kwepemm600014.china.huawei.com ([7.193.23.54]) with mapi id 15.01.2308.020; Wed, 15 Dec 2021 07:48:32 +0800 From: "Song Bao Hua (Barry Song)" To: Jianhua Liu , Masami Hiramatsu CC: Will Deacon , "liuqi (BA)" , Catalin Marinas , "linux-arm-kernel@lists.infradead.org" , "Zengtao (B)" , "robin.murphy@arm.com" , Linuxarm , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v5] arm64: kprobe: Enable OPTPROBE for arm64 Thread-Topic: [PATCH v5] arm64: kprobe: Enable OPTPROBE for arm64 Thread-Index: AQHX62g9BT7x93W140S2NL6MB+oX8KwwRG0AgABhQICAAQORAIABCMew Date: Tue, 14 Dec 2021 23:48:32 +0000 Message-ID: <5c593351b3704c4490b2b122f6cb9112@hisilicon.com> References: <20211207124002.59877-1-liuqi115@huawei.com> <20211213183851.GD12405@willie-the-truck> <20211214092657.5b9c26b4e3852602eced4fda@kernel.org> In-Reply-To: Accept-Language: en-GB, zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.201.239] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmlhbmh1YSBMaXUgW21h aWx0bzpqaWFuaHVhLmxqaEBnbWFpbC5jb21dDQo+IFNlbnQ6IFdlZG5lc2RheSwgRGVjZW1iZXIg MTUsIDIwMjEgNDo1NiBBTQ0KPiBUbzogTWFzYW1pIEhpcmFtYXRzdSA8bWhpcmFtYXRAa2VybmVs Lm9yZz4NCj4gQ2M6IFdpbGwgRGVhY29uIDx3aWxsQGtlcm5lbC5vcmc+OyBsaXVxaSAoQkEpIDxs aXVxaTExNUBodWF3ZWkuY29tPjsgQ2F0YWxpbg0KPiBNYXJpbmFzIDxjYXRhbGluLm1hcmluYXNA YXJtLmNvbT47IGxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZzsNCj4gU29uZyBC YW8gSHVhIChCYXJyeSBTb25nKSA8c29uZy5iYW8uaHVhQGhpc2lsaWNvbi5jb20+OyBaZW5ndGFv IChCKQ0KPiA8cHJpbWUuemVuZ0BoaXNpbGljb24uY29tPjsgcm9iaW4ubXVycGh5QGFybS5jb207 IExpbn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