Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753603AbdHXUiD (ORCPT ); Thu, 24 Aug 2017 16:38:03 -0400 Received: from mail-sn1nam02on0066.outbound.protection.outlook.com ([104.47.36.66]:38232 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752875AbdHXUiB (ORCPT ); Thu, 24 Aug 2017 16:38:01 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Roy Pledge To: , , , CC: , , , , , , Roy Pledge Subject: [v4 00/11] soc/fsl/qbman: Enable QBMan on ARM Platforms Date: Thu, 24 Aug 2017 16:37:44 -0400 Message-ID: <1503607075-28970-1-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 2.7.4 Reply-To: X-EOPAttributedMessage: 0 X-Matching-Connectors: 131480806794123648;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(7416002)(4326008)(5660300001)(48376002)(43066003)(189998001)(626005)(8656003)(305945005)(3450700001)(50466002)(77096006)(47776003)(97736004)(85426001)(50226002)(36756003)(53936002)(54906002)(6666003)(5003940100001)(106466001)(68736007)(2906002)(356003)(2201001)(86362001)(33646002)(8676002)(50986999)(8936002)(104016004)(81156014)(498600001)(81166006)(105606002)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR03MB2268;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD009;1:r7ihHQTBAjaWox0KhCnyDoh7kOWKRyVqPZY/7SERxtzCCcp9/agNNgck/EisRr4sHaRGxh55eYTQIZYV++Axb9WVdFhxn8N2ulsiM7aOoJ71iNjv6tJ6npg7kNKEdi1m MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0e80fc7e-cd43-4d79-7820-08d4eb300233 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY1PR03MB2268; X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB2268;3:PFvjSC07CGBr4FQgjioOa8AZMg+XUl788r55U80VhqX4/cyMiEo/DH/Pko4Vwo9F29CNwhieeS+VZ08m2c5dCTRe1flo4gYj8wqlI9TVpo6KxwNMSUVQZDQjd+xXvooXb+SzF2ShXQOeH5qiFtpOkgWrumPuOkDURArKs3C3EfgEfEpEQz/AIa9Cd8hOT+G2zY1NnN0w9CBQ685i3/nfcL3pY2ybX6yx6CpqonrgiR9IQs0fJwcoCzcwyOuDHbKsY13FrfQ6fXCT07ZjeCVT5VA3G+lQe/F1njDV6M1bNg1UPJ9v4s36dyOMk2CLIMt/1STefOa0DhLOHxOy7ys0z+Lymrq6crw/96smfdBOQ58=;25:T8owx2HUxAUX0NGh2U53FKZmvGbz4RCft39EmJm1HOXoHleIc/dCYhQsgXftvkTgwFS66/JJPptlo2m1E/CKXZvSZwanDA+zPfozRuTQjP+aSqhC/e5rLxGuU/u0jAWNGfUJS8veIn4py9pB6G4R5gnhF9ufD5kAlP4xysyAdY96FlkWZz2EF4LRfIDSa/WpUs9HccXIbqjTMrsjlEecuNfCePKjcFn5AQL/Yh3ymJg69TF/ibfrO5DmTTZandk+bYPwQnF60AxrVWeDOWWXOLoBnN5aH9uBoBIbKg+FoSwJcF+6Yo0WZNokZLR0SgCoFM/MWT63iCBn2QDk5SVR1A== X-MS-TrafficTypeDiagnostic: CY1PR03MB2268: X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB2268;31:LDV4bk7u1GSEIf3k8uVpMxUXZ8kK3fUB56MRQHOCDonCXxpOg/lpL4eekjbrBWpq0IMHGfx35xJq6cUsRLe8E3yl6JP3MR1aPLvodX5EjXmVQm272OEluA/vzyY6gbsb9kCX+mAo23EhayXyItexvHPpWzZex4ARcMhwHJsfBb0MzI+8TIgJy2hCX8tE0LLFWf4pvJsgCCX+TxJX9e2NZGa+eFSSw8LuTXpimCFIx5A=;4:4sxUyz3Ejye2oUNZ7hBt+CjEyTEbi7tgR5l59Sx73fWMWzT04bLx+yDd2CjKo6u1sdYk6ssjykdRmK4VH1zOO3re2octtAfRTBsU4EC2gsD+7F9/MdCSNAK3BoqjU27VfvXx5+DFNd47CpIhToQY9uFZXDOolZobGsnD96mnzFmJ6+RIvRRQycIZ1o7v94gik0yPoGH0LDGZRzSFMna6Yuw6O/M9OJjQYahs55JsJNUDco31mdx2SKjJyeYzh39O7DYBoeiBo9VBeu7fpJXRLHaw7sh1ESjzRXmSKmY8dhE= X-Exchange-Antispam-Report-Test: UriScan:(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)(13018025)(8121501046)(13016025)(5005006)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123561025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123565025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR03MB2268;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR03MB2268; X-Forefront-PRVS: 04097B7F7F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR03MB2268;23:f7jHw8YeDrLKByqCSIPtXjI4FXzZEkav/+6jF6TUq?= =?us-ascii?Q?BQbEkIWwiiqPUtsySMGkWtfYQvCpY+cK9e6ERUWi1rUUNxKypix902pFSYE3?= =?us-ascii?Q?nj51f5z9Hlbb/d0qJMm9ZGKkEEpxFODjv2COwyUKJJltp/B32B+Aop6xCQAZ?= =?us-ascii?Q?+FdCprOiDvpbYzWEOM7vZexZ2dH6btc1wHQ9EbBtdwVon2GHpm0gje90be6p?= =?us-ascii?Q?JtyfzFTTaIIW0BHbN0lws8iPL42jvGpmCbNxskH3h039AxCvoKM0ppUpbZXL?= =?us-ascii?Q?zqFg/weyLH+u3zlWQuDMWmhYJkvJY3x2HJvhjPBcQQHbZGICUfhfKkz/ijvC?= =?us-ascii?Q?FYg5ocfL1h6d2zRdLw9yH2QKJD5cKx8GyW/Pmtj503xDUE37xJE+Rg2HkwUV?= =?us-ascii?Q?tcItqbrpafaHyoBME75wEM0bQpdu3mLaH9Xe+V+Gz+v33RWQIz9kYZ9sve32?= =?us-ascii?Q?NJ4h+yRfQVa+tA9KbTkgFnNrTNpA48jH7b6qRcG5nOdqUHtck0mWLOAIK6Pc?= =?us-ascii?Q?fa1KKSixf4Coj+vXqnpyCUBHIlZoGDEIzj48A3eBUpFdER95LBsEGjTbur7F?= =?us-ascii?Q?S/O5jhZDY6rz/ByIrq68Ph8COjaItoXA54H0xwpxX8RTYLgc/JEDQmM/0PZw?= =?us-ascii?Q?32tUr7J0i8QXiBfSOF0Tx6h9pBDpku2sLIqRg+qSleChRoa7G/9eXO3pZvUI?= =?us-ascii?Q?TMkN95n1ipbirpu2emWLqvfCGVH22zPvCjH1E/oEXKMfau7crIYig3xm+AFg?= =?us-ascii?Q?EvjsTFF7NanQcC5GiTIGs8btutP9kGzwXYvkvLOMWW1P0XwCRHfBnMZtfxv3?= =?us-ascii?Q?FO/z4J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ve4eBW4mFLu0034OoJ6fOzJ1MAqCLHLqJjdHiOc2ttwE8lor7yb66HDTq1GGfprCwGsZahIrh1Qi0EeWVhpGQc1hcZRHyjETXuSLhvx5cFXvQc8aUaWufmTuuUyWSPxEodSakN2p1Q6ceKuaj7VnqIwBbOtLlGY7ZiKyrswiyoxka/w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2017 20:37:59.2095 (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.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2268 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2426 Lines: 57 This patch series enables DPAA1 QBMan devices for ARM and ARM64 architectures. This allows the LS1043A and LS1046A to use QBMan functionality which allows access to ethernet and cyptographic devices for example. Changes since v3: - Use memremap() instead of ioremap() for non iomem QBMan portal regions - Ensured the __iomem attribute is respected when accessing iomem mapped regions - Removed calls to flush/invalidate/prefetch for ARM/ARM64 since mapping is done as write combine Changes since v2: - Fixed some misspellings - Added 'no-map' constraint to device tree bindings - Described ordering contraint on regions in the device tree - Removed confusing comment regarding non-shareable mappings - Added warning if old reserved-memory technique is used on ARM Changes since v1: - Reworked private memory allocations to use shared-dma-pool on ARM platforms Claudiu Manoil (2): soc/fsl/qbman: Drop L1_CACHE_BYTES compile time check soc/fsl/qbman: Add missing headers on ARM Madalin Bucur (4): soc/fsl/qbman: Drop set/clear_bits usage soc/fsl/qbman: add QMAN_REV32 soc/fsl/qbman: different register offsets on ARM fsl/soc/qbman: Enable FSL_LAYERSCAPE config on ARM Roy Pledge (4): soc/fsl/qbman: Use shared-dma-pool for BMan private memory allocations soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations dt-bindings: soc/fsl: Update reserved memory binding for QBMan soc/fsl/qbman: Rework portal mapping calls for ARM/PPC Valentin Rothberg (1): soc/fsl/qbman: Fix ARM32 typo Documentation/devicetree/bindings/soc/fsl/bman.txt | 12 +- Documentation/devicetree/bindings/soc/fsl/qman.txt | 26 ++-- drivers/soc/fsl/qbman/Kconfig | 2 +- drivers/soc/fsl/qbman/bman.c | 30 ++++- drivers/soc/fsl/qbman/bman_ccsr.c | 35 +++++- drivers/soc/fsl/qbman/bman_portal.c | 36 ++++-- drivers/soc/fsl/qbman/bman_priv.h | 11 +- drivers/soc/fsl/qbman/dpaa_sys.h | 14 +-- drivers/soc/fsl/qbman/qman.c | 52 ++++++-- drivers/soc/fsl/qbman/qman_ccsr.c | 140 ++++++++++++++++----- drivers/soc/fsl/qbman/qman_portal.c | 36 ++++-- drivers/soc/fsl/qbman/qman_priv.h | 13 +- drivers/soc/fsl/qbman/qman_test.h | 2 - 13 files changed, 305 insertions(+), 104 deletions(-) -- 2.7.4