Message ID | 20180507154413.5ca0838a@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 101B860159 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 May 2018 07:46:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04AC628A45 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 May 2018 07:46:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED0DA28B1B; Mon, 7 May 2018 07:46: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 C04BF28A45 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 May 2018 07:46: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=f/VO/u+alv5ruiifCA5DshBvYF7zxkhbmC46mmrEr0c=; b=CODl0j4TKuAVih h22IXMFQQtZceQjF9S5SZjqjKukYVKc7TYznSYFmhFW30+Xy3Da0vvjYacAjWi1lhbKsn/Fc0DiEi ttHpizpERqS0zfknIyZFzT0ptcu8x3LxZWn4dbBsOWFmv66Nj6XzvoL+lewTzeydCduTlwXYsjvgM 9B3/vLIGUf18ozswqgLCmkJoEWJnVqRcn6NsI8RMG3y6ySuOb1KRI2qWNad4CIntq5x7ZhKJdvZZr QDlHg1cK+WL3mIOeHsINvhHuuOPNFbEBNzdFrMSo8+GP2x04LEQ5rJyV7+hM7YVddsN+WRa5iPeSK qF61XrYPvTiO98tRZBUA==; 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 1fFaqV-00072q-D6; Mon, 07 May 2018 07:46:07 +0000 Received: from mail-bn3nam01on0071.outbound.protection.outlook.com ([104.47.33.71] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFapS-0005Gc-AZ for linux-arm-kernel@lists.infradead.org; Mon, 07 May 2018 07:45:11 +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=dM34XjjdJQ20SIwf57eLu6xJAQFJ2q+p0xVvW4YhXac=; b=BIUGYW/EDPPrDfTQ3uiZlQ1JT5W4LJwxdV1p52xgL+1DK3tonmSKBwvm/Yyd+lqHI0dpd4K8YIWMUxSs1mGAp3h1BamtxYCJiPeYTkTu2vMI/6I2JVvTFgqxzng33rB8Mr7KNryxWCOHBbv5ct4cP0FUQk1Mqknml6NWX6RhLis= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by MWHPR03MB2640.namprd03.prod.outlook.com (2603:10b6:300:46::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Mon, 7 May 2018 07:44:47 +0000 Date: Mon, 7 May 2018 15:44:13 +0800 From: Jisheng Zhang <Jisheng.Zhang@synaptics.com> To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Subject: [PATCH] arm: berlin: remove non-necessary flush_cache_all() Message-ID: <20180507154413.5ca0838a@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: TY2PR01CA0014.jpnprd01.prod.outlook.com (2603:1096:404:a::26) To MWHPR03MB2640.namprd03.prod.outlook.com (2603:10b6:300:46::10) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:MWHPR03MB2640; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2640; 3:iyiVTK1BOVwRLjOpnTF9JhTRqyZ3PsWcRXTscNZ9hcCxb4+Gn8iYDp6tCsptdRJqMUUrVtdeIlmQCy6SD5pHQLa7YYDFVc8MQLaQ3cmVUV4UsVr45ROsTjIN900oqE7n9A2YUfvXxMsJClcYJJByA5pRt9d6jF11lFDoacyTzvPlHp2d6xSp3Ra4aSP7HCXtm4ZuZFDpDdHGyUbH77wWSS+jOcwTxla4VND2bX46dt/AowE+jNxyFfe3d49z4Imu; 25:ivNJh4iiQcnkNX0tmMwS8QsgkCXZAYVi9asT3IRywwSJFS0yqixzyKzHLea3LLZpPhSDzHtgbqlfV1ogo+kk2iwfpHw7d2Si36xBUBbMr5qCwroIVf9iJbFo7Y0kyYILCTCh7f7o4QYuieub1MqMOE+U+n+W8L5tezBPpUP6dNKF9S1Uk6gpUvsvQD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GztjDt5997PlX+Spr8Xa0hhOpZVLNx16Ws4+IemScAewZs695Hx6iMhBO3MM6NE+jNtXz3DfxdrRtNJqMPU77wBoHMlJ87hiZidWOC8EHLWO7PARU3n5ueXPbuDU+HCnKczm+57a0IbvHPgpliPaMCN/ih2dwoNU8Yyyfn0FWg0vTdWJPEzTRC5V8WTwA== X-Microsoft-Antispam-PRVS: <MWHPR03MB26409729BEA7ABB0661F55B2ED9B0@MWHPR03MB2640.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)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(149027)(150025)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:MWHPR03MB2640; BCL:0; PCL:0; RULEID:; SRVR:MWHPR03MB2640; X-Forefront-PRVS: 066517B35B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39850400004)(396003)(366004)(39380400002)(376002)(199004)(189003)(4326008)(8936002)(26005)(55016002)(305945005)(9686003)(16526019)(68736007)(186003)(33896004)(230700001)(59450400001)(6506007)(386003)(1857600001)(25786009)(316002)(52116002)(7696005)(105586002)(66066001)(50226002)(47776003)(106356001)(97736004)(81166006)(81156014)(8676002)(39060400002)(50466002)(2906002)(6916009)(5660300001)(476003)(6666003)(23726003)(1076002)(478600001)(86362001)(486006)(956004)(72206003)(53936002)(6116002)(7736002)(3846002)(39210200001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2640; 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; MWHPR03MB2640; 23:ci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v38VfUnTeCdhwh4ufTihAYRUgVDOik5XN9exrvmHYprf93s4F6IfepjW8osdAkNHaXvQyqps+aGY6epJ0Ec5OLHJP107uECjgqX3NtiiYcwbEVa72XRtlaSQ==; 5:XbMXwWAxFOu6hgJCAqphEcwoX9U7yAOkR7q+4PzGqcEqVfn3sVTa12/T6Vqj3pTHaAKcFLXVjt3YFXLGYERZMSO59q2MSYWkJGWeJCYQ+G5ZwjtOJQGePqDIWYmkKu/CVARn6NO+v5okxbaLNkjiY3rvdZ3Rc7rn0JRYuyMccoE=; 24:UpWhtZpg8FEXEGaANJWwSBl2pYjR029smO7ziX3ZkIgYotncUfwZUO6NiA/wux5XEPVgBvSdJ6UC8l+2shmPwXhsdtwcMB4NhNLV1pM5FSA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2640; 7:BiUfsb0l18d3oha3Nwf/ycBFEtZah+XU12rVWbbpm31d43pLHdekyraQRrcCyeDjFYcyMuWG7Ci46mRyljbiDGtNt9KKlT8vnyv5QYyd+8eAq+aSSBG51EXU2iqZ3ePzhTKWpO8utd8oGXekbmV19InQ3ZlU73m8FDhP6Lp/s8oX3gXLk/Zab8MapHW3qIloBpfQJwfsTST1hbceRcPrl4gkSWvyhtWZ7QZm6Vbt4SVp/39zsxFPpDu1slwkubVP X-MS-Office365-Filtering-Correlation-Id: d425a3c7-40e1-44c4-b3ae-08d5b3ee68c2 X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2018 07:44:47.4596 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d425a3c7-40e1-44c4-b3ae-08d5b3ee68c2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180507_004502_516276_1F5E8C0C X-CRM114-Status: UNSURE ( 9.04 ) 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-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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-berlin/platsmp.c b/arch/arm/mach-berlin/platsmp.c index 7586b7aec272..a8ae4a566d99 100644 --- a/arch/arm/mach-berlin/platsmp.c +++ b/arch/arm/mach-berlin/platsmp.c @@ -81,7 +81,6 @@ static void __init berlin_smp_prepare_cpus(unsigned int max_cpus) goto unmap_scu; scu_enable(scu_base); - flush_cache_all(); /* * Write the first instruction the CPU will execute after being reset
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-berlin/platsmp.c | 1 - 1 file changed, 1 deletion(-)