From patchwork Tue Jul 18 13:37:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9848375 Return-Path: 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 BE198602C8 for ; Tue, 18 Jul 2017 13:38:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAB6628516 for ; Tue, 18 Jul 2017 13:38:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F33528542; Tue, 18 Jul 2017 13:38:50 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 19EA728516 for ; Tue, 18 Jul 2017 13:38:50 +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:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8It585R8djYpUHbKj+W1b0ug3fhrL2FTMNAqdt+sta4=; b=XiO5HEGLKjRwH+ IiQOvGLzLVdvcJXPm94szSiJR/auFCBRUIVmuinGd6FeVu4TQ2VVYDn9lF61P7FwFHIeyQ4r16Vqf aiVrg15Lahc/PURxXVDxTC9emxlaficxX+bilExG5wG3FhkMwnVDP8g4oWOMFuFwtMKrqX3TTPJ6a W45/TIsCRpvAtKR+QkiIqGRhy2At01OsH+0Shm5fI6atf29ioEc1gq6GGs+bfa48vsYBwhvTsVxjc ycSmbNGDdZ8ZAPdLAePVz4BqXF2CAn2VnmLwx9KmVn8GBgLz8HbikdVmyd9z5Qb6rvhsTH9OSHvSY pVTzlVA3cCmidFbD3OBw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXSi6-0001Sg-7T; Tue, 18 Jul 2017 13:38:46 +0000 Received: from mail-dm3nam03on0047.outbound.protection.outlook.com ([104.47.41.47] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXShY-0000u8-E6 for linux-arm-kernel@lists.infradead.org; Tue, 18 Jul 2017 13:38:19 +0000 Received: from CY4PR03CA0089.namprd03.prod.outlook.com (10.171.242.158) by SN1PR0301MB2126.namprd03.prod.outlook.com (10.163.228.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Tue, 18 Jul 2017 13:37:50 +0000 Received: from BL2FFO11FD024.protection.gbl (2a01:111:f400:7c09::117) by CY4PR03CA0089.outlook.office365.com (2603:10b6:910:4d::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13 via Frontend Transport; Tue, 18 Jul 2017 13:37:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD024.mail.protection.outlook.com (10.173.161.103) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1240.9 via Frontend Transport; Tue, 18 Jul 2017 13:37:41 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.86]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v6IDbQkA028521; Tue, 18 Jul 2017 06:37:36 -0700 From: To: , Subject: [PATCH v2 2/8] staging: fsl-mc: use generic memory barriers Date: Tue, 18 Jul 2017 16:37:17 +0300 Message-ID: <20170718133723.12709-3-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170718133723.12709-1-laurentiu.tudor@nxp.com> References: <20170718133723.12709-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131448586688847176; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39400400002)(39410400002)(39850400002)(39380400002)(39840400002)(39860400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(2950100002)(6666003)(356003)(48376002)(54906002)(86152003)(38730400002)(2906002)(8936002)(50466002)(53936002)(498600001)(305945005)(77096006)(7416002)(69596002)(47776003)(5003940100001)(4326008)(39060400002)(50226002)(626005)(106466001)(8656003)(5660300001)(2876002)(81166006)(105606002)(86362001)(50986999)(76176999)(189998001)(33646002)(1076002)(36756003)(8676002)(85426001)(104016004)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB2126; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2FFO11FD024; 1:DSH+DAylzESg8QnSd36ygj/i+nwwsA+Hn3FsuxLQf5?= =?us-ascii?Q?YZsKXOkqcx/YtMCRkmrpMppjZ29Hou+qA6Q9hnXn7giSgfydx1loo5e9zbDq?= =?us-ascii?Q?2jZZgah+cDk5aMGhNa5MAWtBAPrjZB19NQUEULC8OvaBcQVslzVohu80lZLv?= =?us-ascii?Q?QydQ806Hj1/pc1I9AQywRK2jerKBic48vtLQ/8q3kl2tUKyi3/J1Uc5LOS/j?= =?us-ascii?Q?LxUEfnGi/DZgeNgBwEV7OmejzdwPXrfVBHXGVArtgjbwW6efUYSAY/9Qrv5C?= =?us-ascii?Q?9eu8+e+Le1XNDw/Hlz/3bXzBOEh5DFcEvLNYC0ssChgq0sVfLxzEd+Ml7Yut?= =?us-ascii?Q?/+TnapliqsdwlEkuQHo+hlMBOh0Rq6IyoJtlD/rBoLqzZHLhtaMtpDEyILgW?= =?us-ascii?Q?PHBbI2YsAnSlWRy1CgzLyo85f8d7HRnzNeqOs5xXKs3GAAIDS/AijlZMt7Ua?= =?us-ascii?Q?JeYYGxTbw47tgzLSaC168NN9QSNb+7YSrLwzklYb/NutS+JWf1MMcb6MV3Xy?= =?us-ascii?Q?aKi0IePW3PMKMJYJFitVep677Q/Z3Cxk+6JZ4OPH+DYj2g9ZX66PIxR1IZS7?= =?us-ascii?Q?0O5vyuO9J7nUlhhEaKNUYxWuz5S36UbIeQ5+ac+RrkOfTE7yiZlEF4mEOcUE?= =?us-ascii?Q?5Tc4ClSf7Nii+eGpJ2Be1ZGd9kHQ7E74ttLXsebWTzxjLgn9cWHScnresh0B?= =?us-ascii?Q?tnqfTa89198xGvr4lVgXwzBEGqYiADI0L81la5DrPdWL8Q4A8hSnUa70z/ok?= =?us-ascii?Q?a92nT0f/Pkabp93RffKO/DZ1xCwr5SkpZtnwLyKYJwN2ckz1RffpdgHK9I9k?= =?us-ascii?Q?zAFM5U84EVMKVpj2/xOlwadxM8LnR73EL6r5L21zhhHwqafrXrYqcGKclE7I?= =?us-ascii?Q?55ByxV/dNzKQ0AcS4JMfIg2ER1YYobnEwrsACTni5La5u1zHUvHsCtP7GSzG?= =?us-ascii?Q?1+tO8GrZDKjaRGYPIjyiY1EVY4LuWCk9C3C1QtRWq7/AbBJz/AsBC7CTf08/?= =?us-ascii?Q?CD6dl3NHabD8eJ7/JIBCkKloYI7N6E4WW2D9NOWjtJJOUQY9VVBE4HHccfy7?= =?us-ascii?Q?5mE+c=3D?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 10ff1ece-68f5-4cdf-7be7-08d4cde22e45 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN1PR0301MB2126; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2126; 3:7cHWi9IQ3D52Cj9P78/L20UWYceTLzmSoLtNCNkObze5PQnFFCDC7sEb75oh475iY8xvnhaB1aLtckBWyzmZeFYMDAMkXJ70Z8ko5lQzMSNQ1DqU803giRVhup/vSRUT5B/SkTiCgcwC3XW6PD+4+wgE5GCTlCLm9QbcKK+WELwY6kAvOV2wZbAn9gS59KR30IC01C9PCcGrFqSWPyRoAx+OiJ2AkCqN0ZUNaFa9/aJsBqOUyGM45bQpjNxJhADmYgOS1kbRk+35I4fd19u9CqYtSDkmOALHCdNmDXSVQsx9NidxraVM/a88CyNvFeRZ+HyfkGOXobbxRmDhh7xslSSfBtgfrgsC3ZUdoIFyO6pzm4ZYOsqVPFBcdwM4f9IAQ+YX4o46Ug8PgereXMqhl5p1aSVed1BatrNugV7Ie1NgwBGS/vu4VHyw3yy/1/nduUBZqVDgQ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iYG/XfT/RzKOglGOqYku0ziWop65pcxVA== X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(275809806118684); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13016025)(5005006)(8121501046)(2017060910075)(13018025)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123563025)(20161123561025)(20161123565025)(20161123556025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN1PR0301MB2126; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR0301MB2126; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB2126; 4:JE1CWFQnuyC2vG1IEgDWL6T1zAq5zbNsgHTr66ia?= =?us-ascii?Q?CtD5ci9dQ1AiQSa+ylFcqOubs2InpXsqgukHWVOmi57OoIOguJ4YSqGi/Hb1?= =?us-ascii?Q?lDPFeaoUNHJGeoFfU0VHAV1W92ei+XzGkb3JXDIb4YIhKfh5hNqZ/KqY9bOn?= =?us-ascii?Q?TX70zJJqw+f2MNz1rNyLCIzvjnb3RZBlG2ui/4jU2qkIUvZpQ0CAU4qJN9eK?= =?us-ascii?Q?jx+9q34495fQVX0nB/YUs3lsV959XLefFEvFOFBY276tXaBFLrOK0bMvKrUg?= =?us-ascii?Q?hJgs9UEp9GJ70Aai6NUfmcbJTKW2uD+HkGmZ8h8VHY6TdqQAHsZRISRRvZde?= =?us-ascii?Q?N0w+B9t3hQcjCZ/a6jlrBKol3/W5OZ/NE/ImzGkDRFese0vhOIqXVniT1kd6?= =?us-ascii?Q?5zCGMG4GJzAmb6nhDMfXStmY079Bd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kNJzOaABiNqH5dt7OoW7KQZYsNM3Ot0eT08aEZAnh5jZ/SoKFecGWO/+?= =?us-ascii?Q?8hSRaw=3D=3D?= X-Forefront-PRVS: 037291602B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB2126; 23:cjl/xoenIHZpNLyDgE45OrZYRw/jioPnIFuJTuc?= =?us-ascii?Q?3ElI0G12/PJUkpn/DxSGuDgZRhT8vGHYuKeQzeDWX1ZabUbwpYBx2shUn0gj?= =?us-ascii?Q?p9qHiGG+hllEMmcNVAdLWnffG6jOahX3AJCQC6q6LT5UKIiReVtoijTRk0An?= =?us-ascii?Q?TwXcd1ubzra5iqL/hQrZ0RH+9iKFjsbeL+rAKSeR9gJzBqOkkpLOa19d6d7l?= =?us-ascii?Q?TXSDGE3VLJo8yC+InqUzYlxxm+/AEXiPwIG6dLgVlsyBL3SMeF6wFgVn/6BW?= =?us-ascii?Q?7CYTJYzUMJ8oKJmBSPHLWFmo1da7hBoE8Y5BfKGc1P11UV4ojB5Pq27ZTqVf?= =?us-ascii?Q?28Tg+enanqSGA4rMNUe0xI+RIlYJm5zs26/mGL+vk0A+Cg+cM8WyvI4IfaC7?= =?us-ascii?Q?mr9GyrSldTK8Rfz852VK0dgQz2Wa4nY5dLn0SI1h0fr5FdK2/RmoA7LaOZUG?= =?us-ascii?Q?hsrqkQFShaZWQBrrUFWvq06IWzWYGxcEc+mf38ogex3vINEPhuh7Vm4MIAv5?= =?us-ascii?Q?Kz6E8wTKSIr5UhXSjGmeoHNojLputmK+sZLLXHzTm9KoNbvBK6RGa61WLWfW?= =?us-ascii?Q?Da4SQURrxoBrq2enyAc4EfU9Ky+q5CjWF+/HLXBDTQodLye3IF6Z0miaXFQc?= =?us-ascii?Q?dK8wDr32T6EhdTSheclELEA21d4ss5Fsf5alFdVX+ZIEp3H/UOwu/GsmnWMc?= =?us-ascii?Q?MHx/V8EHA2Rc6PyoaPpI7/LGVVQ776vZyfV3zgfSmvVrsgd6Sj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U/D1k6B3nVu9xs0ev0HSGn4B/BHGqTLob8ch8gJv5IKCxYXP7jTFtgP?= =?us-ascii?Q?tE1q+d69tx6kNH3s3RaE7JziTXRL2l4GwCIXqpiwCGI9bCRib7BsCb1aYWSY?= =?us-ascii?Q?4WnV6hl/txjKQkLUBxe68xK7sBax80qD2UKEQEHCRNZQc/H1hZrdohMlBUVl?= =?us-ascii?Q?jsDTk2bKTkIHt5nrpIf5pWiWxEg60351PcI0hejBaJFtyZgtoCRHL5BKXEX/?= =?us-ascii?Q?3WYkXyOxeFAC8fBE0DbnZaHgWvk8XM1oLlCutlW/XMOmjwkHsDytJ+r1rBl4?= =?us-ascii?Q?na5YtNYFCJitSi4oAn974Fv2wHUdJYAmLeZcSVyRak/hoaZbg7kU/3Xkqdzr?= =?us-ascii?Q?zOC7Go+4oxztzuVGbAA9ocw//EN3lpvan9bkuXy0PLZgVF5DqILht8gvc5BV?= =?us-ascii?Q?so7lFOsmOmZGc6tgyRLuBe+v4pJ1i6icKudHb2qZ7XunlndxhjSKKuCycQnd?= =?us-ascii?Q?3Izp8yD/b5c4k6SpIop6yhQjFt05wh38rItPvspgfGuBnP2ULKHeMouQSp55?= =?us-ascii?Q?nLkii9i7eFBF+j3KVmI5WmeVfurYKaDP6fFFZC9+Le74Hct+tbJi83NH8gVZ?= =?us-ascii?Q?iIfgsNiSAxNYN+m+KU4z5UHYtG5Yhm7y6gjuBt5+lzesDOWnN6wJAyOFbr1d?= =?us-ascii?Q?5zXxYRZPzjnmp/O0Jlu0zYp/TDtCWToGaObZeoMxAlmfmg9KnxdjGdACMp4k?= =?us-ascii?Q?r1T6fo+FbftYd6/2199CqabH67ibG4vviUqYZchExZJ8E0+VlqGpWxEFGK1t?= =?us-ascii?Q?YXM=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2126; 5:Vff2x/OLOQ8zSXsbOe9l8aZXw9YFP/OxEYKQpHuiH0VKolw/b3/ktZHSBlc+pighTs3U5b9AmvEaskc+Vp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VMYmvQlpiZ3KSNSpoUFgPBAqglCy4W5Ov2J+xlE1MPlQyjA5n1YKrgJ0opt6tTLLI5epMq8/0G0i6P38XuUsdPEHooGY7l5iLNVwuL+NXgmCxkcptbkRrw5bnNMlqiP0wG7IVwrswhIvNK4ruYyLU1//Fnk92thpZwN5tipIPSO1Y+3sjYPi0wego3iDS1JKCvDVnFBO2pwSsdq+ZPjB8ILCJ8DsWFXIKFZNxAo2BD3nZknfynNbyFkj6Z0AInNNISTZTtsw/RQEd8yKQagQW/kN7FssTRNIXSsPxiOkZZGiL+b9qpP2lZW5ieE1djDxfuRqdr9+W2TEGd2pxfLRlcvA8cRgXm0pChfc7lemrB+JD2a7WTMr+8Y= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2017 13:37:41.8334 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB2126 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170718_063813_082965_B6932421 X-CRM114-Status: UNSURE ( 3.28 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, ruxandra.radulescu@nxp.com, arnd@arndb.de, marc.zyngier@arm.com, bharat.bhushan@nxp.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, ioana.ciornei@nxp.com, leoyang.li@nxp.com, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurentiu Tudor No need to use arch-specific memory barriers; switch to using generic ones. The rmb()s were useless so drop them. Signed-off-by: Laurentiu Tudor --- Notes: -v2 -no changes drivers/staging/fsl-mc/bus/mc-sys.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/mc-sys.c b/drivers/staging/fsl-mc/bus/mc-sys.c index a1704c3..012abd5 100644 --- a/drivers/staging/fsl-mc/bus/mc-sys.c +++ b/drivers/staging/fsl-mc/bus/mc-sys.c @@ -127,7 +127,8 @@ static inline void mc_write_command(struct mc_command __iomem *portal, /* copy command parameters into the portal */ for (i = 0; i < MC_CMD_NUM_OF_PARAMS; i++) __raw_writeq(cmd->params[i], &portal->params[i]); - __iowmb(); + /* ensure command params are committed before submitting it */ + wmb(); /* submit the command by writing the header */ __raw_writeq(cmd->header, &portal->header); @@ -150,9 +151,7 @@ static inline enum mc_cmd_status mc_read_response(struct mc_command __iomem * enum mc_cmd_status status; /* Copy command response header from MC portal: */ - __iormb(); resp->header = __raw_readq(&portal->header); - __iormb(); status = mc_cmd_hdr_read_status(resp); if (status != MC_CMD_STATUS_OK) return status; @@ -160,7 +159,6 @@ static inline enum mc_cmd_status mc_read_response(struct mc_command __iomem * /* Copy command response data from MC portal: */ for (i = 0; i < MC_CMD_NUM_OF_PARAMS; i++) resp->params[i] = __raw_readq(&portal->params[i]); - __iormb(); return status; }