Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4238033ybi; Mon, 3 Jun 2019 07:46:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqymAFXVtfrNS9DVtCvE4yuy7PPVUAkoih1WPUaceqMQRNKaZbGKf3cSZOGzcIeDsk2iYW3d X-Received: by 2002:a17:902:21:: with SMTP id 30mr30108989pla.302.1559573163280; Mon, 03 Jun 2019 07:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559573163; cv=none; d=google.com; s=arc-20160816; b=0L/TKpd0EOMurUAyObP3Bqved5+vGVNWIf9MCEPh5hfxoVZqQ6EkpmieEVhWKsgsGc SlAtEeuVHFjDrmkTU5pBfFFgdpF6FojAiVVnn1CtijMwuevH1ufgDj+MmJs5mkPWHCfh 83YDpI5xzZyv8DGdMfw6uXNuL0SqspIht9bHFXP2cZS6BtbTLHs7jlYaL+xgiNhq4CM3 MVsTYP4zMDe7xOtDNWxFgljZrDL6DRIHtOmUAbQ8bEtQ3ct2jS24KkGZjVEMOu5SMRyV hP8TFWrga9ZpUhXXSLDBrhRKpfSiqIbiY/W4iqk5EZj8rIRxjQhBRMSSIpfEgYqEmFjc CI6g== ARC-Message-Signature: i=1; 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; bh=YEZwdWPEhy5kzf94ioWenJHCh458B50Dcve+9lUjEzc=; b=WsSLnBcACi3u4ZFAojG+YIM3dZSL3oVFjuLb9VWmwItonVB01s5Z4tthObXhlnUeAw u77vdVelkf5VSiaZqpPgoVnlgb3j/QCA0ChDZFMYwThD/YXU/xkvfBQc79p0psFT+Vf/ qDcuvPmnwLU2jpWtGk8lgTPOsqEZGbfVoBzI3DvCi+kv34nDIVDb0fjkKF1CZJutwENQ 3mSf9Z/aasB712v8IZNI0UJAjrXpPkYB6aEio0Nm5YMPRWOdNPCCggq482pJr8VVh7y1 OTsynsNgP3djekjXUK6StTC/rSk29z202sDWZniBL8q/tWpOEkevEh4NY/CxRkVU+y9o 0UMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l93si19558860pje.32.2019.06.03.07.45.45; Mon, 03 Jun 2019 07:46:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729366AbfFCOoN (ORCPT + 99 others); Mon, 3 Jun 2019 10:44:13 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:6537 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729362AbfFCOoM (ORCPT ); Mon, 3 Jun 2019 10:44:12 -0400 Received: from DGGEMM403-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id ABDE473F26C1B62FBD33; Mon, 3 Jun 2019 22:44:06 +0800 (CST) Received: from dggeme704-chm.china.huawei.com (10.1.199.100) by DGGEMM403-HUB.china.huawei.com (10.3.20.211) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 3 Jun 2019 22:44:05 +0800 Received: from dggeme762-chm.china.huawei.com (10.3.19.108) by dggeme704-chm.china.huawei.com (10.1.199.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 3 Jun 2019 22:44:05 +0800 Received: from dggeme762-chm.china.huawei.com ([10.8.68.53]) by dggeme762-chm.china.huawei.com ([10.8.68.53]) with mapi id 15.01.1591.008; Mon, 3 Jun 2019 22:44:05 +0800 From: gaoyongliang To: Marc Zyngier , "gregkh@linuxfoundation.org" , "rmk+kernel@armlinux.org.uk" , "linux@armlinux.org.uk" , "punitagrawal@gmail.com" , "rafael.j.wysocki@intel.com" , "james.morse@arm.com" , "linux-arm-kernel@lists.infradead.org" CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "Chenjie (K)" , Nixiaoming , Zengweilin , Shiwenlu Subject: Re: [PATCH] arm: fix using smp_processor_id() in preemptible context Thread-Topic: [PATCH] arm: fix using smp_processor_id() in preemptible context Thread-Index: AdUaGpxZgkuQtJQ9aUeV34E/V29yBQ== Date: Mon, 3 Jun 2019 14:44:05 +0000 Message-ID: Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.63.153.231] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWFyYywNCg0KT24gMjAxOS82LzMgMTg6MTcsIE1hcmMgWnluZ2llciB3cm90ZToNCj4gT24g MjcvMDUvMjAxOSAxMDozOSwgWW9uZ2xpYW5nIEdhbyB3cm90ZToNCj4+IGhhcmRlbl9icmFuY2hf cHJlZGljdG9yKCkgY2FsbCBzbXBfcHJvY2Vzc29yX2lkKCkgaW4gcHJlZW1wdGlibGUNCj4+IGNv bnRleHQsIHRoaXMgd291bGQgY2F1c2UgYSBidWcgbWVzc2FnZXMuDQo+Pg0KPj4gVGhlIGJ1ZyBt ZXNzYWdlcyBpcyBhcyBmb2xsb3dzOg0KPj4gQlVHOiB1c2luZyBzbXBfcHJvY2Vzc29yX2lkKCkg aW4gcHJlZW1wdGlibGUgWzAwMDAwMDAwXSBjb2RlOiB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