Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1167634ybt; Wed, 8 Jul 2020 23:51:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGN5T4sIEslOBkj35ePQmaQJabwnFs4RpkUyS0ncwuBbRGA3lIO/fb8FLg3XIgQzY6t186 X-Received: by 2002:a50:931e:: with SMTP id m30mr73362734eda.341.1594277502181; Wed, 08 Jul 2020 23:51:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594277502; cv=pass; d=google.com; s=arc-20160816; b=JmatvpTaObg4Yf6LQrpssG6UkFoMjLVlT7pIWORq4S/3DXx7PYAUmki5o8M08iMOzs oCRntVkuY+DGWUj+ElFsfM/FYlRWxGGU+R6SycpixpyWqtXBSS8gq+ZrwslMg0IxNM6z UW9tJCJYypA4HCG3nR3zHFLvFjQxLUwkhK3HZe8IN8Kuo26flyUwcRfHOFPlXAvaUGX8 mGgyvZazMDzbrmbHHPA9imVoXBd9sdxj0yagUC2RWSv11Azbjwrqz0IMIi0IClW5yrTl IFJ3VKDXMmH0xg9PkeHxiG756zNngZsNMQqDujyRLcD7LlCXh6uGrGRM41Xhn65Jai/T xJzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=6Ptm4385sTAGSEghmi92tIifSw4Czl6yO3w72PMMVdk=; b=Aq9evWHriqctS6aB252CIVooIh7cmg/sQvjjzBAyM8jqqVaRpCkhA4OBZ9sg8BdxDV CTTjs527krPeFsL2TKssjLcMVNMaf+fstGjFmiqLMstInJ93/qW1nH3I8zBf4EgCqoc4 tNA5RpZkcIXDBZmkoRO4+S+01e8+7y8gBrJYj8MuW3BShIIvqar1UEljMUMtJR01XxYO L6Cu24p6WxZXokVqICcccg10ek1HTnh2XTToqMot34NX5Lwel+NVGPgnnW7qMUsGNZK5 /Iw3VotpqZdqmRcWihs3oBy+rwPeMvcMIPAzDTLo7arxR2XDv3gPsD179PB2sZU8lvaU 2Alg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oppoglobal.onmicrosoft.com header.s=selector1-oppoglobal-onmicrosoft-com header.b=y+7ZCw7s; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.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=oppo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz20si427379ejc.90.2020.07.08.23.51.19; Wed, 08 Jul 2020 23:51:42 -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; dkim=pass header.i=@oppoglobal.onmicrosoft.com header.s=selector1-oppoglobal-onmicrosoft-com header.b=y+7ZCw7s; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.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=oppo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726332AbgGIGuY (ORCPT + 99 others); Thu, 9 Jul 2020 02:50:24 -0400 Received: from mail-eopbgr1310059.outbound.protection.outlook.com ([40.107.131.59]:31244 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726193AbgGIGuY (ORCPT ); Thu, 9 Jul 2020 02:50:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WGom73Apgfp5kL7x+VhF3aCbUCcrjbL1XTROY5Vw8bl4XcMYNgbjhEiMdIigHv2jo6/xnNxYJcQ5763GvAYBHhiMJyVh2OVyo2PoZo3wKlOWIDTZtM94imUBcoJp2C6LfcOGSqtgr8zgB0jkyTqDti6Ef85YuVoOCIZ4QFd62neToG6WBJwQeuMOS/tn6iR0jHCDWTZ1mXTdr3f+RKlKe4PNk/g7j1GsjrHXt557c18gaLTcWzbfyEfChkGZB6vbKQgUat3oQutvvpjSrBKHZhzguVx/mVTZXPo2jSIv3Gf0+0qD7cTD3FnYXqnaXa33Be4lOdcQofCrWyPCbGORMg== 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-SenderADCheck; bh=6Ptm4385sTAGSEghmi92tIifSw4Czl6yO3w72PMMVdk=; b=B0j6QsfchzrjR/lBG26NUpFH0Ah+6X1iU8K8Q4eb2Qa+E+h7doSF4n/zFHRcc4vp8uheUpKgc0VTGj6y+H+/ctxjzmOUUpvwHOSHWAjDeBrrY/uu/wkf/wvAQV0lTNvC5xzVR8M0lPmZfOq0pPkSnhxuLpC9rXAVUzb7/hS+oAHf9oIQrlposY6mJkeTxIAvJt3X8NF/i15z1acr8kYKlSVhP9J+GvVSEkLfhmy646xzhlCl+g9UijnYjd3EfK8uOqyI4M3fXfb+fOg9DsrB56CMgGo1j2s4w2a9u/j+ZhrueunulWA+SfnlyQNYfzLiRvN6N4UU5us+9RHAYTCjjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oppo.com; dmarc=pass action=none header.from=oppo.com; dkim=pass header.d=oppo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oppoglobal.onmicrosoft.com; s=selector1-oppoglobal-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6Ptm4385sTAGSEghmi92tIifSw4Czl6yO3w72PMMVdk=; b=y+7ZCw7s3xz19G40MhJy+z0BwcXullpkhDUSUd17W+uZA9cvnlo9SWm669eUnELoYGiQks2uf0HJPbzAF5LMykqi7NLsnpxlD7nPhE2DKmeU2Pd/wZbF3CR3ZVpuszf5zX2xdHEJ7e/EVtZzHTSL4hmP39bR3Lxi8UhURZ0EHmA= Received: from HKAPR02MB4291.apcprd02.prod.outlook.com (2603:1096:203:d3::12) by HKAPR02MB4385.apcprd02.prod.outlook.com (2603:1096:203:dc::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Thu, 9 Jul 2020 06:50:19 +0000 Received: from HKAPR02MB4291.apcprd02.prod.outlook.com ([fe80::d4d8:820c:6e00:69d2]) by HKAPR02MB4291.apcprd02.prod.outlook.com ([fe80::d4d8:820c:6e00:69d2%8]) with mapi id 15.20.3174.021; Thu, 9 Jul 2020 06:50:19 +0000 From: =?utf-8?B?5b2t5rWpKFJpY2hhcmQp?= To: Ard Biesheuvel CC: Will Deacon , "catalin.marinas@arm.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re:[PATCH] arm64/module-plts: Consider the special case where plt_max_entries is 0 Thread-Topic: [PATCH] arm64/module-plts: Consider the special case where plt_max_entries is 0 Thread-Index: AdZVux2xeZHZhkZuS3KXfzL8ZpsgRA== Date: Thu, 9 Jul 2020 06:50:18 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oppo.com; x-originating-ip: [58.255.79.102] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c28d740d-7a4f-4ca8-da1b-08d823d45812 x-ms-traffictypediagnostic: HKAPR02MB4385: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: n6tGp/5/6D3K0bTl6ApuuK8Z10YSALTZyvPKqN2jA+7tehhNPNmvkGNuBGeEPGGVUnyywrgMnNSOsV5VFXDx1k1Qi5Tq60GH10gpFTIuMkgnXS4UAeF4DF5f2BnTAckHru8JLkw8985Q+4X6axfWS7/yayd3XUDuCfcH25pkUZr0yPansodHfTdVzAT4R/S+eHmsR8xx42/mcyuWIcu6y8SPBcQJb14xwA/MIvPp/AU9ibo9uD2qN/DpDIlg3koCA0oQtL3WDkiqmFdGF1rwvPV3xufyryN0mE9V0OoxT6ZUDKrRDOnca/2BZXxJFFk7LiLqfATRZ3chYGjPfp6btl6vYVbgdg8mtNNqs1Ervz+0AFZrSMD+B3fnrwgWidMB x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HKAPR02MB4291.apcprd02.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(376002)(396003)(346002)(136003)(366004)(39860400002)(478600001)(8676002)(2906002)(66946007)(66476007)(66556008)(64756008)(66446008)(5660300002)(52536014)(6916009)(316002)(26005)(8936002)(6506007)(4326008)(7696005)(55016002)(54906003)(9686003)(186003)(85182001)(86362001)(71200400001)(83380400001)(76116006)(33656002)(11606004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: hSZ8KIGtj6k2VMhXwc8AB5JDbpdNX7QtKmDQWjdlqhnEadt2c2b1bmuJhgZGj6+PN7fUAi5/1BnxaePGKEUYn2G47fnyispNFBog6a8fabcQjc7e/1Ou17ReR/pg4ftg0Y4Voi+GgenH/nxPM6cXde4AWRmfGOioC+SIBN+fuyau6RmdESSXS6Wh9B196U1YLW7+8NxfMzVuY8iKuZxkalWFoJmoOtOQssuEugzG/Q0JTZ5lvzXon3SQnOe3Jcyrq5TjzOnPJ0XA9W7tPVheEV8BSoX2xbn3HLGxQO83PIq/QF0+RUK/i9OeZiqaCdFeJo52rvUO4j/hmNpKeKwHjEgsZAb4cdBWDWfQHCbuYsiqLzU3ZGiqjzHWyBhBl0Uh984iLIU9BiynOexHdhkX5pndB4VRbw7HTw579poMDpK7lZyNv0KF0WeQlnln9416bYymjJJCecuB+sipCywmTeWYApUVDSn6xkx3748pkas= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: oppo.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HKAPR02MB4291.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c28d740d-7a4f-4ca8-da1b-08d823d45812 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2020 06:50:18.8473 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f1905eb1-c353-41c5-9516-62b4a54b5ee6 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: G9LsaCuM30meNYxaupKmTOlXxHDu1SewmkwQc9HcjOF9ixgrYiPOxfVAiw3VnFTGNRuLeukBRIXemPeMRDIqGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKAPR02MB4385 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCA4IEp1bCAyMDIwIGF0IDEzOjAzLCDlva3mtakoUmljaGFyZCkgPHJpY2hhcmQucGVu Z0BvcHBvLmNvbT4gd3JvdGU6DQo+Pg0KPj4NCj4+IE9uIFR1ZSwgSnVsIDA3LCAyMDIwIGF0IDA3 OjQ2OjA4QU0gLTA0MDAsIFBlbmcgSGFvIHdyb3RlOg0KPj4gPj4gSWYgcGx0X21heF9lbnRyaWVz IGlzIDAsIGEgd2FybmluZyBpcyB0cmlnZ2VyZWQuDQo+PiA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