Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp538340ybc; Tue, 12 Nov 2019 05:35:06 -0800 (PST) X-Google-Smtp-Source: APXvYqxnxSPKFa/H+cEJQRAcA5Ow3//SawM8knsqHYbKcGrkACk26vfFL1IuHra29pl4J7rd89+1 X-Received: by 2002:a05:6402:783:: with SMTP id d3mr32181517edy.180.1573565706828; Tue, 12 Nov 2019 05:35:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573565706; cv=none; d=google.com; s=arc-20160816; b=QI9GPKcnDHzBykqPOEJAgNdoR9AjatK4wLiOfKcJ/HplaPbbRN66nl97E7XEkqw/lK 5L9v5ZfjmNUfwRKhcMPWRwMVtB5grpkr+7w7wg28Spl5Y6yj1DNAZxGa1qQvY2lyUiKH /eXrPCuBcaM8pIH+XWKBp34didJdv2+SYNcO9f9W4+877PqChGxk7gEn0W4zElTS43Lg T1CKUegek92sxSXTFacQg4zf38Z+sHMAWcRhP2lnj2g15ecZHQ13dwVTU4p8+nbMRyqB F8Gp3Ww0SUZVynLuUE6ioPg0y7KDYBex9bOkxFbvXYPvBGcbOcUQZqd/UJ2GPtaa5Vp9 e0cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hT9QBdG+LtUKaBpt4OHfKg/vmDyoLlBwacPEIY+C38w=; b=C1pwCcdq1bVTZTRIn3fY8L7dMxCwO8aULUqXG96/mH0VrF3sW07K1HyV+59DXEoWeC jy/JN4/Dq/bbue88QIvU0Win3FixeIQjZFvDEhxPL2v/6lwFRbpjZ5KA6o3kmKOjn3dC 6AqOOQu5ePhL65EZiY967IxYdTGuz/cjDph1Da0eVJRRcTEpV1JEFuAZzy11BtVjxrcE MQtCYbocqrBtKzkm0zPeBQ+PsaEqLAIc2HJNKyB3/Qo1JW8B9/DEY0rvzH5/WXc7V0yj 50vyJNu/31SNoFMWOe8prESPWCDxw/yNXzm+0utYpbVhyU3Y0XnyTBQdWAp7kOorh6g/ 2b0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="l/h8OgTb"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z16si14220434edb.23.2019.11.12.05.34.42; Tue, 12 Nov 2019 05:35:06 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b="l/h8OgTb"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727181AbfKLNbM (ORCPT + 99 others); Tue, 12 Nov 2019 08:31:12 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:60967 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726979AbfKLNbM (ORCPT ); Tue, 12 Nov 2019 08:31:12 -0500 X-UUID: fa344ab78da246fd9d8c411a4751c8c0-20191112 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=hT9QBdG+LtUKaBpt4OHfKg/vmDyoLlBwacPEIY+C38w=; b=l/h8OgTbd9GX8WRcOrFoOu5PNXuzU9akznAB+2X9v2vhclOHI9JXoWV22TJ2xaskjLvfXHqDOvFOha6ZswtjU59oB6GJh6f7GDMPSp1nD/0RQZCMZ13ZIdpChBvf1tyNva4W7ugamIWh8uZOj1w8SV4/VNqGUjqWuIflcZddpZQ=; X-UUID: fa344ab78da246fd9d8c411a4751c8c0-20191112 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1889015713; Tue, 12 Nov 2019 21:31:02 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 12 Nov 2019 21:31:00 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 12 Nov 2019 21:31:00 +0800 From: Mark-PK Tsai To: CC: , , , , , , , , , , , , , , , Subject: [PATCH] ARM: fix race in for_each_frame Date: Tue, 12 Nov 2019 21:29:38 +0800 Message-ID: <20191112132937.19335-1-mark-pk.tsai@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 323926A5FB2DE832EA31753876BD697D6E80BA9E1623AE50FC1C3E17F6D5373C2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlIHN2X3BjLCB3aGljaCBpcyBzYXZlZCBpbiB0aGUgc3RhY2ssIG1heSBiZSBhbiBpbnZhbGlk IGFkZHJlc3MNCmlmIHRoZSB0YXJnZXQgdGhyZWFkIGlzIHJ1bm5pbmcgb24gYW5vdGhlciBwcm9j ZXNzb3IgaW4gdGhlIG1lYW50aW1lLg0KSXQgd2lsbCBjYXVzZSBrZXJuZWwgY3Jhc2ggYXQgYG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