Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp607631ybc; Tue, 12 Nov 2019 06:36:55 -0800 (PST) X-Google-Smtp-Source: APXvYqz9tVgDLjonci5yaAt9S5MBkvgJ5RMvh16k23gF++ktofPGx77NIY1CfEYu5t7DOEG0QuaR X-Received: by 2002:aa7:cd52:: with SMTP id v18mr33180654edw.280.1573569414960; Tue, 12 Nov 2019 06:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573569414; cv=none; d=google.com; s=arc-20160816; b=gYSMOkWN9yFdd4bv6pv0UcGsEHh1iDBMKHpCDzHublgs+f4CNQZXmR6rnIsOpZf76C j6T8T7zu3twsYNThwmfNazc6zaFpvCwt1n6hHt7rmgtQHb+wMWQYvwVN2AX40dhQJ4Jl xJ729VTdlRYe0oemrHuudAni9UeAAf/1+TrpgwG6S6Wt5Iom84+l8fxlEfBQDx6UxF2F Y6e+2M2t7axTlgqD3C9TD75gwKsgM8+9w5LY1KAu/vXt+p+jnGjxshoFdL4M41atcJbj 8OKRJlidx8Av2GuRKxSStrlwyuWhJKMagdgjnyFxYH0pLABVQDibcHH8hKy9qEsHRbO4 MTKA== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=D/Cbsww9cgdfCReEM93y1A0DRYoTijhLeer7HJXzGVI=; b=MaNwZNKKIT88k8V4EXGxiccnW0Sn6p0M/ODGSwu/AyNlGqapEhFtzdJnZOhiC+XSK9 FkjB30fLYEpTmX3XLt2zXK/9byT5I6loBUrlkHw7RbsmWbrDcWpkOEO8vS7m8w8Ckkcq Lm8Mh2PfGcXhV/nyHbam4IZZuGwvHQ5+N7NOUj3MGxIHHiCZLqTdPOH0Y25u5fpJdxXx ju33pbPBKcd4wswRuz/jyzGwdqjyCkaDTZN0e8txfzdcoA1FJ96CdfY8XnTa+IMH5sWr HqZxcz8WOCPectgMIOwzjo9DgjckSP7gOVxUWfjBMtv1PkQl6WByoEcEQpaILQxjHHE3 g3bQ== 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 c17si12839928edc.384.2019.11.12.06.36.30; Tue, 12 Nov 2019 06:36:54 -0800 (PST) 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 S1727677AbfKLOgB (ORCPT + 99 others); Tue, 12 Nov 2019 09:36:01 -0500 Received: from sci-ig2.spreadtrum.com ([222.66.158.135]:54109 "EHLO SHSQR01.spreadtrum.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727149AbfKLOgB (ORCPT ); Tue, 12 Nov 2019 09:36:01 -0500 Received: from ig2.spreadtrum.com (bjmbx02.spreadtrum.com [10.0.64.8]) by SHSQR01.spreadtrum.com with ESMTPS id xACEZi85075277 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO); Tue, 12 Nov 2019 22:35:44 +0800 (CST) (envelope-from lvqiang.huang@unisoc.com) Received: from BJMBX01.spreadtrum.com (10.0.64.7) by BJMBX02.spreadtrum.com (10.0.64.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Tue, 12 Nov 2019 22:35:39 +0800 Received: from BJMBX01.spreadtrum.com ([fe80::54e:9a:129d:fac7]) by BJMBX01.spreadtrum.com ([fe80::54e:9a:129d:fac7%16]) with mapi id 15.00.0847.030; Tue, 12 Nov 2019 22:35:39 +0800 From: =?gb2312?B?u8bCwMe/IChMdnFpYW5nIEh1YW5nKQ==?= To: Mark-PK Tsai CC: "linux@armlinux.org.uk" , "matthias.bgg@gmail.com" , "kstewart@linuxfoundation.org" , "allison@lohutok.net" , "gregkh@linuxfoundation.org" , "info@metux.net" , "tglx@linutronix.de" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "yj.chiang@mediatek.com" , "alix.wu@mediatek.com" , "mike-sl.lin@mediatek.com" , "eddy.lin@mediatek.com" , "phil.chang@mediatek.com" , =?gb2312?B?s/6298C0IChFbmxhaSBDaHUp?= Subject: Re: [PATCH] ARM: fix race in for_each_frame Thread-Topic: [PATCH] ARM: fix race in for_each_frame Thread-Index: AQHVmV2AMhVdltuogk6mbCoumJ6bbKeHmizY Date: Tue, 12 Nov 2019 14:35:38 +0000 Message-ID: <64C83867-31FA-4243-A0EB-018AE9A83ACB@unisoc.com> References: <20191112132937.19335-1-mark-pk.tsai@mediatek.com> In-Reply-To: <20191112132937.19335-1-mark-pk.tsai@mediatek.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MAIL: SHSQR01.spreadtrum.com xACEZi85075277 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RGVhciBNYXJrLA0KVGhhbmtzIGEgbG90IGZvciB0aGUgcmVwbHkuIA0KDQpBcyBzYWlkIGluIGxh c3QgcmVwbHksIHN2X3BjIGNhbiBiZSBhIG1vZHVsZSB0ZXh0LCB0aGVuIG1vcmUgY2hlY2sgbmVl ZGVkLg0KDQpBbmQgYmVzaWRlIGNyYXNoIGF0IDEwMDMsIHdlIG1heSBhbHNvIGdldCBjcmFzaCBh dCAxMDAxLCB0aGUgZnJh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