Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp419847ybt; Fri, 10 Jul 2020 03:20:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDG1GKnX2vJs0RHe3FTPHeVHBYhd1SUPeUTTlyTsoutUw4ePaafkJzMtDsowLrED8H3wPg X-Received: by 2002:a17:907:20b4:: with SMTP id pw20mr62652900ejb.225.1594376427352; Fri, 10 Jul 2020 03:20:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594376427; cv=pass; d=google.com; s=arc-20160816; b=o9hXXGIt4AjNqfMFXcPt1unl0bYqKVq6pOEjXpshOwsLZ1UMDYRNLlQypHXnp+g0RO 5AddE34fME73BC84e9xk9xDGkMES3xHR/1KWgkWbXvkRaJMMwtEShNnaSdhZrYEWcoB4 i1RskBCUTSs0NnKQ/RbZWixwpoMuyQAcZFZjlZpX4B/LvuElWaNuCrhc9DlLSR6IzA63 OHrh14H0FOyKLpLa/aN2nQNAa+3p/bzOW9vkL414D0kzYD5k/1TeltBaCHfp0AqZ01Wg Blu+AG7UKfVR4d+b8+aZ96qb05O3AaXvoJ7PJN6NY9gRtKVaExTBurspHq/PD75tEIrN xpvA== 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=eVKOCT+dI4v0T1xaUP4JnYuygX8fE7YkFq7ywfv2yyA=; b=dm2YMGSjloS1YTSHoOZ1DJtAY75kCwzuIj5vwl+QKL7ybqQZlVqm3Yu1KhI5sJtTRb 2DrMX6SgrTCnkvT3OQS30XR/+qPPRdEK7ruQXOLpXe88wflqOGeUReTinqlxjrm4VmXj jRUQ29HHFgixBD4SSYhI7FO6qDS1oZkZ/jz5EJaQjpX82JL4KFgI6u1UT/zGhtdElmet Rxwsckt8aGIS75haFN7qoc02QrwnVgPoRu30VKf+JKnW3YEa/drBwDpST1L4xEuWTRg9 oj9KL85HKpIVufVjEwagbKjRMXMP6rHE24/yoC7faR0WNnsS/avUhywh3Sl9/ocZZv41 pBeQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oppoglobal.onmicrosoft.com header.s=selector1-oppoglobal-onmicrosoft-com header.b=yljIXpRG; 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 z7si3419042ejf.367.2020.07.10.03.20.03; Fri, 10 Jul 2020 03:20:27 -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=yljIXpRG; 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 S1727097AbgGJKRJ (ORCPT + 99 others); Fri, 10 Jul 2020 06:17:09 -0400 Received: from mail-eopbgr1310044.outbound.protection.outlook.com ([40.107.131.44]:52592 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726955AbgGJKRI (ORCPT ); Fri, 10 Jul 2020 06:17:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b+wqaUvtJloU4sDYukIJk5ezSa7SQ0acM2LJ+Yud/4Lyaxk8+E2aRNot3W8kS5D9VQK2wtCwYyTiPTCOWG3mHNgPdgVT2ApZMIo9zwpj6m0rMPjfvR6Ik/oTL4jegmstLywRX2jB/Hk2c3k768JtkKe8i2N508GRCEGA1W45IfgPVYUJyKVa6uCD97GqJYvX4cOO09qASemjdlH73pkL1h9n5JwCBxlqXaN97mZxssu1jh1CqebQyOLO4ssDAuECtU4jkN0pQRub6sAONTY5nQHBkfJVyDUlpDcV6od2hfT/9ksIVwrn+Gx1X6AXGJTor4uHa5ENM43nEMcoHDN7eg== 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=eVKOCT+dI4v0T1xaUP4JnYuygX8fE7YkFq7ywfv2yyA=; b=GlyoRQoyrZfEF6pL2zgL4DxKvf4wio2RcaNKvprdQ6T/4Ao9ASo7Gy1w2iV5YqeitpiI5xs3c+HNVz0o+8Dhw465th8YAyPVEsDtisWEWn+b92p+AZcxyG/kUWFdBKHr4ipjN9pP9yVezOKBHtLLcxQldKFHUI+xEZZjTecXzS8O50IHJXPahDm7wkevWSJ5OEjGUmHJ6gfJAPr3Y8JEZzUknXNMtgpjC9+UwWQ8rXQK4cyQMjWlX9tpcIuTgDAqqhenLb8NbEid+sfXVbCj9llzoVcNsQ6zW+3jtBoBNkx+n/X2sZ7Bo97Yi9py44FXtbeadR1GmEH5tt3GLC0yxA== 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=eVKOCT+dI4v0T1xaUP4JnYuygX8fE7YkFq7ywfv2yyA=; b=yljIXpRGVGCXAq7gp49VtQnw2eXmu5a/4qteiOiFEKf7VIWo/tqmaehyuPT60e3iKq7dUwtYaCl518moVNh6xZSqaHPmvYyilqe6gRed6EoDJ17Yg77Q/Xcwp1XiVH1f4/lFRPiVpuUjQoDOH5jfqmTaYEWq0lFon1ocpevjMl0= Received: from HKAPR02MB4291.apcprd02.prod.outlook.com (2603:1096:203:d3::12) by HKAPR02MB4387.apcprd02.prod.outlook.com (2603:1096:203:c6::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Fri, 10 Jul 2020 10:17:03 +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.023; Fri, 10 Jul 2020 10:17:03 +0000 From: =?utf-8?B?5b2t5rWpKFJpY2hhcmQp?= To: Will Deacon , Ard Biesheuvel CC: "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: AdZVxomlyXL2KYiRQzS3gTED+d01Tw== Date: Fri, 10 Jul 2020 10:17:03 +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.252.5.70] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4bde3113-4e18-4150-c936-08d824ba63fb x-ms-traffictypediagnostic: HKAPR02MB4387: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ryr7ODXf1DQfIzAqrlelUiZS8x1DC8UQHSiVQV+Cs1T70fo714gieEAJWhSiwYpgC9l9FV6eXJudWjCUAg88F7LgqItmvYlRAlfij4tFOeY11ddmBkGEPWOT4hiZCH4C0SiKRK2X9LWX7LcqhWUMlnMY3DC3uMJAPfT1q3a3cvdwqhYn4OJYoX9wUgDxbLBMKF3pzdlx9mpDbBPDLSUJVLbx9U7CAa03xdSGl0XwbaFzgulZNfD81uHtEx2ezoq217weDk2YMBZXrneUgTu3VjsFWmqHCLRhI8FzkI0fT8Tr0gluaILty2O3pvk1vtBaR54kEiO7hUo/H9YqTZUK7CbG0lQoU9bGnHGipJ8hkBQFdENkDtvn4YMGA2TwgaGX 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)(39860400002)(396003)(366004)(346002)(136003)(66446008)(64756008)(6506007)(66556008)(85182001)(186003)(66476007)(26005)(71200400001)(9686003)(33656002)(316002)(8676002)(86362001)(2906002)(478600001)(83380400001)(110136005)(55016002)(76116006)(52536014)(66946007)(4326008)(5660300002)(8936002)(7696005)(54906003)(11606004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: T0YjH3qSUr/bBvN+hGcF1njcpMLmGHpO21xZ8SBOIqvcBhtKaS1y7dq2JZW8tP9E86dghSS/RhqugFs7ezfoopFyJCJ2xQHSUBrMvu+tpUiKfSeL6GYe0FrPpioQdpJv8rskb4JvX7G/oFubup2hZuSV+aARkpexVssfoJmafp8knZ8dqOBw5aSiiyD9LHj/SLIaw96EFG6KwjOqVB5d1ajoMTzjITf/f+ccwGwtv4dPB4xv7q4n8QzSQVE4IIpYR1gFMXO0tiJijJ2aARvEF2DbUAZ3v+C55wb2sBdDPXB8dQbeX1rPCUdDkQvaOjWzM+1TmxaOjR79u+iWvG5U2w2WU5gpchnqAWaoOvVPNBW2fd5HNJkIBq+C5d1KvpeP+xMgPKhST2WpbvsF0ajwlwEwor8LfeYdFcEF6X18+epKEEq68BWHZpeHROcgT2eHfJ4m7TMx0NSblOntzXVPY5sTyLq69SEBdJa0+A5nAHg= 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: 4bde3113-4e18-4150-c936-08d824ba63fb X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2020 10:17:03.0727 (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: WcknUF4fKSsptVRKhAW6zYVE08g3243Nkjb4I+VOaEUVP2Q7VEdIAzYRVBsufn+w+xy7a2zxpGle9NWVdaXzaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKAPR02MB4387 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCBKdWwgMDksIDIwMjAgYXQgMDc6MTg6MDFBTSArMDAwMCwgUGVuZyBIYW8oUmljaGFy ZCkgd3JvdGU6DQo+PiBPbiBUaHUsIDkgSnVsIDIwMjAgYXQgMDk6NTAsIFBlbmcgSGFvIChSaWNo YXJkKSA8cmljaGFyZC5wZW5nQG9wcG8uY29tPiB3cm90ZToNCj4+ID4+ID5BcHBhcmVudGx5LCB5 b3UgYXJlIGhpdHRpbmcgYSBSX0FBUkNIN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