Message ID | 20180507154215.45a9348f@xhacker.debian (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1FDAF60353 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 May 2018 07:43:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14A9128459 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 May 2018 07:43:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 093B3287A9; Mon, 7 May 2018 07:43:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7842E28459 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 May 2018 07:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=kFtMS3tmnaxoRimQ3Q/ANoZOQmVIQt+xqIWzk9Jhc8g=; b=tfBapi/qpbI1Xr v4TykpynXuasPV0aHVN3qS5zEkg/JWjDjAH+8AedjHuV26d3PzZY7DNru01s7HRrk7Mj99uCSWcAy u8ZkjHcoSxCptk9Lu9x68j7r0TSn8n4SqrrhgvK3NQFPIN+L0oIMFHdTjs7GBt+01RlssEDLEthX+ akd2b4ydtl859KvIg81HDOglgNZzjeijUJoGCUBQrm4WTtlsN+6QtRTZOVwMhilywr2tsQWsxQIif eO8RFlgGQgWy77SZMVMWjB9In8RQGWg5bctGKgCMUffIvnhAizSiF3c07afgjoxz47ArTh7/FlJhj h/YmaI7sxDRz9uiT276A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFane-0004Xq-HR; Mon, 07 May 2018 07:43:10 +0000 Received: from mail-bl2nam02on0045.outbound.protection.outlook.com ([104.47.38.45] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFana-0004Wo-1y for linux-arm-kernel@lists.infradead.org; Mon, 07 May 2018 07:43:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector1-synaptics-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0T7qpDlC972uTBw1TWUL26ZvfVJSqh2b3uUOQRgdbIw=; b=X7BrXQCdAXqmxWWxsnpn/JR0Hq6NkukX8llPY3gzN3Kkp4efHqN5P4bUzeZdL2BWTevxarBoDew51GZmlpzZg2JZNgemrqSBSuSlcJl4EHSR2qswOg3g56A4ArM0yOh+WpglomXUwyFeys9SurUuXSC+/qURTRqUKYAP5aStenw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by BN6PR03MB2625.namprd03.prod.outlook.com (2603:10b6:404:59::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.735.17; Mon, 7 May 2018 07:42:50 +0000 Date: Mon, 7 May 2018 15:42:15 +0800 From: Jisheng Zhang <Jisheng.Zhang@synaptics.com> To: Neil Armstrong <narmstrong@baylibre.com> Subject: [PATCH] arm: oxnas: remove non-necessary flush_cache_all() Message-ID: <20180507154215.45a9348f@xhacker.debian> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: TYAPR01CA0019.jpnprd01.prod.outlook.com (2603:1096:404::31) To BN6PR03MB2625.namprd03.prod.outlook.com (2603:10b6:404:59::8) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN6PR03MB2625; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2625; 3:D9OtDw5iVhZ5WvVa5h29P9sxUtW6L5+NcRHscAqnwFLQ3XOORpGk0PV+MBZpHtDXWuZEpyJy7DKsKY0SKvZfJgty0RnwyuYNSZe1L+4RJpj9zPCFrMTFTnGkpT3lDR/iRm9835GFzljqP/RSF0lMUAeFLKGD6cHb87HYZrCPewKuw0hnvkQ50aGRK/JSHMDh0fiBZLioLpmvd2yOrmrtj4jJB60YNTzr/IzhxdNOz2Rm7IbbX3LEUwOfhQ1805Av; 25:6S6OaxM7XVQmHXkWQiR8vHw0T+AumEz9tZW6wwSioKYg7Q2ixuruQdoRHSscQQS/qhNnBmJDKWuUyzddpk89OygyZyTlz1dgcCJYwIoAzywZrDQkuJZpX35pCJSLPCIFhrocTe/RGQYzwD/3MCZJRamNWlMvB+rxJoqoRehctOu/FbRgjP7sLnzgzUo6OPqpOERFfqF2fRO4rbhtJdRHec+RSpFX4fLCh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hPK/UXYQL2kwe2YQQ2W+aO+Tl8XyZtEOKx/meEq705Hoi3KCuQBQd1iYWFySEDRtiF+PHUBMm0/lX6cn9W9Vob0QBcx2fo5OBp/N9v9gUZuVI44Z6XxIKvw2ZE3gt0RsoGLpE/84qlPQMiZg== X-Microsoft-Antispam-PRVS: <BN6PR03MB2625185BAC7192ABDD2A1F97ED9B0@BN6PR03MB2625.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231254)(944501410)(52105095)(93006095)(93001095)(149027)(150025)(6041310)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN6PR03MB2625; BCL:0; PCL:0; RULEID:; SRVR:BN6PR03MB2625; X-Forefront-PRVS: 066517B35B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(39860400002)(366004)(376002)(346002)(199004)(189003)(97736004)(956004)(476003)(50466002)(1857600001)(6916009)(68736007)(6666003)(105586002)(106356001)(486006)(5660300001)(2906002)(4326008)(1076002)(6116002)(3846002)(81166006)(23726003)(81156014)(50226002)(8676002)(8936002)(53936002)(86362001)(55016002)(386003)(6506007)(47776003)(305945005)(33896004)(7696005)(59450400001)(52116002)(26005)(230700001)(16526019)(186003)(66066001)(25786009)(478600001)(316002)(9686003)(72206003)(7736002)(39210200001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2625; H:xhacker.debian; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2625; 23:9erATuZso/Mhmv2suAEynbNUZm/lLvFiCsrRv+gTs?= =?us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2AhMYDo3v+ZmYQ9uRjVGIsW6qWJttI2L4a7GgVnYGx3Slx1q94jEQ==; 5:KjpmnwGg2DU7RguVfHfBELaM9f52z+Ov/35iFSdTBHCzVnDJkjxhe4wsFg7ZXmYZGnPWKEP9UIUPZngkZ8bFlJjkyFMUzvJO8CjJPcqpIxmziBFQ3NHGltZHSToFb/Il3ZMvBfhy4gHsAeLuoyV/g5huJPTr1qZJZLPTpdVQMXI=; 24:tHR7A16FmLSjNp+ZRheaKQHEnijSlMVx6HiIdz2iPaDp5jFb7YY3rbwnnZFCu/o8hPU4k6cGwTlHaMnf3ru4HDszRaY1IsQuPZ0N7Vv1jME= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2625; 7:9EIGB9SiO+gwwIAtbvIYgcjM/fpaXPFiDLtfgdZm05Cm90vw9BJZgTKr3HDkSE1rt5Iu/w0/cRcWcQKHJB7h+uXL1LyVrll7JSJeEWp2vy3Z0cmQ/Jhmvet2A6tJHxSlC47SVgpiUwu1cF0y02jbI8BUhPLy6o6QcXSSudYDTzdur+4GuioNWbCj9ROJzVLWDi/Eq/5dNjhp2CQKIyt25G668W3Lsa0jB+p+dgeRxo6XULJZH0ybp+evM75LPjA4 X-MS-Office365-Filtering-Correlation-Id: 0b3b9591-6ad9-47f4-414c-08d5b3ee2397 X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2018 07:42:50.7442 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b3b9591-6ad9-47f4-414c-08d5b3ee2397 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2625 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180507_004306_174395_5E8E1EE6 X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-oxnas@groups.io, Russell King <linux@armlinux.org.uk>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mach-oxnas/platsmp.c b/arch/arm/mach-oxnas/platsmp.c index 442cc8a2f7dc..1a8e1e9fc222 100644 --- a/arch/arm/mach-oxnas/platsmp.c +++ b/arch/arm/mach-oxnas/platsmp.c @@ -85,7 +85,6 @@ static void __init ox820_smp_prepare_cpus(unsigned int max_cpus) goto unmap_scu; scu_enable(scu_base); - flush_cache_all(); unmap_scu: iounmap(scu_base);
I believe the flush_cache_all() after scu_enable() is to "Ensure that the data accessed by CPU0 before the SCU was initialised is visible to the other CPUs." as commented in scu_enable(). So flush_cache_all() here is a duplication of the one in scu_enable(), remove it. Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> --- arch/arm/mach-oxnas/platsmp.c | 1 - 1 file changed, 1 deletion(-)