From patchwork Tue Jul 24 14:21:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roy Pledge X-Patchwork-Id: 10542235 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A823014BC for ; Tue, 24 Jul 2018 14:22:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9650E28B97 for ; Tue, 24 Jul 2018 14:22:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A8D228BC5; Tue, 24 Jul 2018 14:22:32 +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=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 EB53128BA1 for ; Tue, 24 Jul 2018 14:22:31 +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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HVgEQUreWUJMZSZ8A5BkVOK76UO3OiezwL1XF+Pb3aI=; b=Y3ACm6+TZpWHhq MKYD+5c52NPx0XejDcXv66LAWxk5qmCYZ1zIbhERqisfzBqgEHHfG8UR85wnLO0NC/PTcuX7KwuDZ jjdNVQnHOTVOi2g3JZfGqZSscy/O+df9tmpdsLX2gZPYzKtboHWWSbYXtsw3Rr+Zb28W65bN6SNSx o0xJ/a0BmeWTajzzk3/aHPSDneMOKJcuG10sa1GeXr3uEir2d+BRfFSKF5S5si+oO22qum++xnkLZ tSW9lKn+ShTOlMxVMzye5EPJVcZANO9IlJDn0hpDJ/Lf/Bvg0gtDmpOlNJLIL9La8z+pG89XN1Q64 L4w33WmnUdu+evgxc/XA==; 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 1fhyCq-00009a-1I; Tue, 24 Jul 2018 14:22:28 +0000 Received: from mail-he1eur01on0043.outbound.protection.outlook.com ([104.47.0.43] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhyCW-0008GG-PO for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 14:22:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lDZKIHyR2034iUyRWQVawtltx+astMShveJjBdzqC+Y=; b=cTGRPTfRQ6mSo/2gkmsLl3TD9kTr+7/ueifkB8U/6RrRJLhnltpHagvBAVZ161XNiYKsZ3MSY4NWJrvQwSuIp4Jo9zX3lRPLr2peQHk1eGnI5tJmdYa1EEKwzpcxyaI84XuDmKb0eKAJYWCn1Iduzy2XGCr3P20Uz5scCcWpmao= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; Received: from rhuath.am.freescale.net (64.157.242.222) by DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.21; Tue, 24 Jul 2018 14:21:52 +0000 From: Roy Pledge To: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, leoyang.li@nxp.com Subject: [PATCH v3 1/4] staging: fsl-dpaa2/eth: move generic FD defines to DPIO Date: Tue, 24 Jul 2018 09:21:28 -0500 Message-Id: <20180724142131.28970-2-roy.pledge@nxp.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20180724142131.28970-1-roy.pledge@nxp.com> References: <20180724142131.28970-1-roy.pledge@nxp.com> MIME-Version: 1.0 X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN6PR0102CA0006.prod.exchangelabs.com (2603:10b6:805:1::19) To DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 923dfc80-95bd-4e4f-58d1-08d5f170ce90 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DB7PR04MB4490; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4490; 3:YnRX93i5/6Mr5fRZgJi3IWR8GKTP54QER+kI0YsiS0NUGpTFZ+tpe7ZdxIcP57H4Wur6JMDC9b+J8euyDF8X2eSIKdVs05oMnRr6ScnmKTOuUADnAM2FWECOxG4tirVspiAo4wE8Zjn28Ua+q6EpeexvTzfg5DNrFV/chXmlVz0ixK+Z9o6dPsKAFnfwC4weOFIEr4OqzwTqW1m0jFYZdNY5wRrjx2zr7mJyRnQWnLh4W0wZfsZ2mdmabt5YmUnE; 25:l7BtaZ6cfrPbFzkJQTJDf5mXUCXNjY1LWOTwfg0a27+nOAhvI0rRzWroyN/ANdEFmS1I9DTwjgMZUmsS7H+aJ/pCpSl9bJ9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:Cy9KWHeuvAmqyKFTCxG9HVcn2h5MMNvD0jYEd8C0znFnqG7EgAneMuv7SEtXbRmZcUuU46AIYSq0NBoqvUBirDHGE5S9zPcZXYvbC40FNjGm1caBhJprHBzdlHe9Uzs2qMT4ogYQcmwwp1D3oh2KM27RTye7/ugkAF55X3x4+c+JL1xjLFqB/3s2GwrGELp4dR/SICzDgR9rwXyXytEtAL5lwK+/z9rB3zrmAqXZ2AH/I2QTT7AOd0qYQzdIo6hYpiu8/ggbCe5jKlqKjXVoMKZQatwRybO5J5ksP/cuCJXGUxotllX33ByImGHMYqYp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DB7PR04MB4490; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4490; X-Forefront-PRVS: 0743E8D0A6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(396003)(39860400002)(366004)(199004)(189003)(1076002)(2616005)(105586002)(44832011)(66066001)(446003)(11346002)(486006)(2906002)(3450700001)(47776003)(2870700001)(478600001)(6486002)(36756003)(53936002)(106356001)(956004)(575784001)(86362001)(6512007)(476003)(386003)(81156014)(5660300001)(6506007)(16526019)(68736007)(6636002)(97736004)(8936002)(6666003)(305945005)(23676004)(76176011)(52116002)(186003)(50226002)(26005)(81166006)(7736002)(316002)(14444005)(3846002)(6116002)(25786009)(4326008)(43066004)(8676002)(50466002)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4490; H:rhuath.am.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BDB7PR04MB4490=3B23=3A40un7By?= =?utf-8?q?aNuvnI0efi5GupjsP1sD1cEseVJn3nD1AMCyEz24DxOsOYEtLHDjnGlTcoKFjRpfD?= =?utf-8?q?6vTVzKLg4q7RYhblw1UhzLf5gUaLKj0zmwN3aXQV50XQl9EQ6DicYOlGt5p2F+5Kg?= =?utf-8?q?KQhQbWyyDrwMQhGV1kcezPRpbo5uVluVg7X/khNK8ZeMZPhp3+OdjAyKk6n1IIB7n?= =?utf-8?q?HYvthewTwxJ/rl3dk/1QDkGa0fov1NQFUdTLir7Efq/rp7BPmovy5/rDDryCDKLcN?= =?utf-8?q?cuM3JrkFQT1zkWZSCHmChxlEGNQN+eFD+CtFn17ZLxZ/nXg9B85Xb14sicxjTiSjC?= =?utf-8?q?bSdEwXUgsGZaekUeD0jocPou9N0q3CME5c0lqOLJHOetDt+fqZ3OhysZQ//EKcs7a?= =?utf-8?q?PIFeGadOABssP7wrRbbqadBWGMteRNKd93RNzSFzmJ4+rdzFtbpQTU1TbZYjTas3e?= =?utf-8?q?7v8hP87XJXT8IAsuLr3sbtCbO3n8z2qw217pTTZra3nFHoRv26DIVmbFdR6uXCthP?= =?utf-8?q?nar5y8VLiHyyE7nIrC75M0aOMTLC5aROu7Pcjbh2or6JtvPy9TQaBGGXmKNMIJBBA?= =?utf-8?q?mw1/5m9t60Yzgf1+k9gSAw9y6cVGX4WCfo1pM8Qf1eynAWBnIjTPVMD9bnPY+NqkX?= =?utf-8?q?MJ7ohacGpg2+TB201wJugbx+PB1h0/hcnBdrM0YFmBzMtxgvtIZqUTv6qyiLtq4Ba?= =?utf-8?q?brVBSBkKXqKFnYoATAQxjCTyMDGPzQFfAfAzNf6gRtCByME2jk+vm/flMWh+CYbIb?= =?utf-8?q?30Us564ib7v7/ypr+9h8QAvR15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D3OsZRNV+EU7/fU6X+t8nUXQb8jmDImfQ3ehOVD2PUQaquHSm45BTPP/fib51xlU42zpHVziy3uxlmxmd1xiHtKwQ+aWtVaBiGXqnGsye7CqWFztYR7kMI6bWHADSyclxseDRX0dMK7WqyoZ3psJfAuzmT6Z0Vj855OFuNc89rftdnTipmKfBxigU3FU04LJqUSa1swj9iUrne319/hxpfvV8YrNR53S9WycfTIXB1+YZeWFKbDKjsd2c9Y/uiXKObzOuNdtUZyyAtztrM4BVKA+8VWoamQCqNQ5hGvo0YeIEhEU4S4RHlzwrPlLZ418/hBAbUaUSE7Ri8GgdA1dMd19JcLjYutPDypAQ0pJkOmyjRI3HnB6PmQRapwXNLrCQwFniRQ8Hu4VADDVTBvLFEJSSg==; 5:8U0QQxkkE4tLi5BQiqWnKrkIJctYQpi5Mu2UdC50rSlLEWqnGKxP77INfYwJ1CA7MCzvMC7Y5F7C/WwMhXX5BfUjXZ/aFDThRVHZ8pLEpqDivkO/iAUcpy5/d6qH2O4n/wF4dNN9hI0kXaUh/fHFSXUEBn4eJdFR/N9wGDgnwwM=; 7:arVdy/dOoYaLkEJndrGUy5ErsHiL7DPpmk1HjzqTd1vNZ9cAP6SoqvUCRPjDmtcEG2gCccv1kBVlory4fuqS+XdL7DZYQ9E2ixXRSPZKYQSvqVcX/RLPoSZb/zzusS5rkm7I0XggKpgQS7Xvo6mdwhrCvhsJsEt6yxe4eh4vQIJ40gcIWkU4eOykHVATAjZz8KBlC525EpxuUFNZ25IcPq6pz0k5Q8OCS+VWdCoa+AIWo/yxCBCINErj5kDnIcrW SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2018 14:21:52.9078 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 923dfc80-95bd-4e4f-58d1-08d5f170ce90 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4490 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_072208_838350_8D508B49 X-CRM114-Status: GOOD ( 11.41 ) 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: , Reply-To: roy.pledge@nxp.com Cc: horia.geanta@nxp.com, arnd@arndb.de, catalin.marinas@arm.com, ruxandra.radulescu@nxp.com, linux-kernel@vger.kernel.org, robin.murphy@arm.com, laurentiu.tudor@nxp.com 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: Horia Geantă Previous commits: commit 6e2387e8f19e ("staging: fsl-dpaa2/eth: Add Freescale DPAA2 Ethernet driver") commit 39163c0ce0f4 ("staging: fsl-dpaa2/eth: Errors checking update") have added bits that are not specific to the WRIOP accelerator. Move these where they belong (in DPIO) such that other accelerators can make use of them. Signed-off-by: Horia Geantă Acked-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 4 ++-- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 18 +++++------------- drivers/staging/fsl-mc/include/dpaa2-fd.h | 12 ++++++++++++ 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index 3963717..d5f0ac5 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -455,7 +455,7 @@ static int build_sg_fd(struct dpaa2_eth_priv *priv, dpaa2_fd_set_format(fd, dpaa2_fd_sg); dpaa2_fd_set_addr(fd, addr); dpaa2_fd_set_len(fd, skb->len); - dpaa2_fd_set_ctrl(fd, DPAA2_FD_CTRL_PTA | DPAA2_FD_CTRL_PTV1); + dpaa2_fd_set_ctrl(fd, FD_CTRL_PTA | FD_CTRL_PTV1); if (priv->tx_tstamp && skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) enable_tx_tstamp(fd, sgt_buf); @@ -508,7 +508,7 @@ static int build_single_fd(struct dpaa2_eth_priv *priv, dpaa2_fd_set_offset(fd, (u16)(skb->data - buffer_start)); dpaa2_fd_set_len(fd, skb->len); dpaa2_fd_set_format(fd, dpaa2_fd_single); - dpaa2_fd_set_ctrl(fd, DPAA2_FD_CTRL_PTA | DPAA2_FD_CTRL_PTV1); + dpaa2_fd_set_ctrl(fd, FD_CTRL_PTA | FD_CTRL_PTV1); if (priv->tx_tstamp && skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) enable_tx_tstamp(fd, buffer_start); diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h index 905a4e6..9269cb0 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h @@ -124,21 +124,13 @@ struct dpaa2_eth_swa { #define DPAA2_FD_FRC_FAICFDV 0x0400 /* Error bits in FD CTRL */ -#define DPAA2_FD_CTRL_UFD 0x00000004 -#define DPAA2_FD_CTRL_SBE 0x00000008 -#define DPAA2_FD_CTRL_FSE 0x00000020 -#define DPAA2_FD_CTRL_FAERR 0x00000040 - -#define DPAA2_FD_RX_ERR_MASK (DPAA2_FD_CTRL_SBE | \ - DPAA2_FD_CTRL_FAERR) -#define DPAA2_FD_TX_ERR_MASK (DPAA2_FD_CTRL_UFD | \ - DPAA2_FD_CTRL_SBE | \ - DPAA2_FD_CTRL_FSE | \ - DPAA2_FD_CTRL_FAERR) +#define DPAA2_FD_RX_ERR_MASK (FD_CTRL_SBE | FD_CTRL_FAERR) +#define DPAA2_FD_TX_ERR_MASK (FD_CTRL_UFD | \ + FD_CTRL_SBE | \ + FD_CTRL_FSE | \ + FD_CTRL_FAERR) /* Annotation bits in FD CTRL */ -#define DPAA2_FD_CTRL_PTA 0x00800000 -#define DPAA2_FD_CTRL_PTV1 0x00400000 #define DPAA2_FD_CTRL_ASAL 0x00020000 /* ASAL = 128B */ /* Frame annotation status */ diff --git a/drivers/staging/fsl-mc/include/dpaa2-fd.h b/drivers/staging/fsl-mc/include/dpaa2-fd.h index b55b89b..2576aba 100644 --- a/drivers/staging/fsl-mc/include/dpaa2-fd.h +++ b/drivers/staging/fsl-mc/include/dpaa2-fd.h @@ -67,6 +67,18 @@ struct dpaa2_fd { #define SG_FINAL_FLAG_MASK 0x1 #define SG_FINAL_FLAG_SHIFT 15 +/* Error bits in FD CTRL */ +#define FD_CTRL_ERR_MASK 0x000000FF +#define FD_CTRL_UFD 0x00000004 +#define FD_CTRL_SBE 0x00000008 +#define FD_CTRL_FLC 0x00000010 +#define FD_CTRL_FSE 0x00000020 +#define FD_CTRL_FAERR 0x00000040 + +/* Annotation bits in FD CTRL */ +#define FD_CTRL_PTA 0x00800000 +#define FD_CTRL_PTV1 0x00400000 + enum dpaa2_fd_format { dpaa2_fd_single = 0, dpaa2_fd_list, From patchwork Tue Jul 24 14:21:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Pledge X-Patchwork-Id: 10542237 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 16A0314BC for ; Tue, 24 Jul 2018 14:22:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0274428B22 for ; Tue, 24 Jul 2018 14:22:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9E6C28B85; Tue, 24 Jul 2018 14:22:58 +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 2780628B88 for ; Tue, 24 Jul 2018 14:22:58 +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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+Sul1s5shstcZmkOZxry8VGCFJOpASKZlLohNWye9cw=; b=j+nMymrRZ3YcVB srsfEJa1Nk5TjffQmhmz5iIdsvJ7sf34DxCvC5uHS9g1UTRMRrAxvGXyoe1r740UC+THsyJ/5pN9w 8Fwn8KrUvO+kSr1YNF5tESn2RCM618uPX96/f6uBdAkd9tNrtvdsOAPfaG31qEfssAuewVeypwYtw wbZi04IXFLzTK4ss4jZqqzYPx8uWp+89648rPVbhMTC4qXTUhZZ41Hb6q8w31YrhHXBZ8WjVsGOUE 8JMLNUuPigc7VTNJKK3o1Y+xXu464Wd45UzQyrlQSj2HYMZKs+Ays6+RhfE0pRvuXqstSa7F7N6Xq ELUkisYDa+uo6FZTf0Rg==; 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 1fhyDC-0000e1-RP; Tue, 24 Jul 2018 14:22:50 +0000 Received: from mail-he1eur01on0057.outbound.protection.outlook.com ([104.47.0.57] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhyCl-0008Jy-AI for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 14:22:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+LsalBKgUJZq44g9mzRM7yamMsL8K21LyTWwijZcFmM=; b=by28rvdpw427qjMHFcDrsLLXfaBHGr4vpAyyrFwKhf2hTbSDx4LZcTRyAqfD8De1N0bnwaURSgoXXDkMP1tXLA8fiozzgSrssr5KsIP98pBM6xLy23IQG9CFeZ3ZgG2Jqav2kQZ64cdKDU+EivhLO7F4yqtGzqQ2byuweX5EwUY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; Received: from rhuath.am.freescale.net (64.157.242.222) by DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.21; Tue, 24 Jul 2018 14:21:55 +0000 From: Roy Pledge To: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, leoyang.li@nxp.com Subject: [PATCH v3 2/4] staging:fsl-mc: Move DPIO from staging to drivers/soc/fsl Date: Tue, 24 Jul 2018 09:21:29 -0500 Message-Id: <20180724142131.28970-3-roy.pledge@nxp.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20180724142131.28970-1-roy.pledge@nxp.com> References: <20180724142131.28970-1-roy.pledge@nxp.com> MIME-Version: 1.0 X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN6PR0102CA0006.prod.exchangelabs.com (2603:10b6:805:1::19) To DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 83d099d7-c832-4464-207e-08d5f170cff4 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DB7PR04MB4490; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4490; 3:1JGKwmhrI1SH2lEoggnaOttjJOQ5rZPU/XwtJ9PedCDnHyXj1dL2rkpCfhTdPJWdbELt/Q1iz4JaPioyNyEj6bofr0xMaziVIQhGT4QclLwCaLDqiWEJ/sTOOW1yg6t/XSrmXjgOXvXKx1VYYVlPXK8BuoSkZOREaECvn1bUOSCJxoo5BW12ojlP7pPhVEuG8YN3qevAe+GsBySs+5yDKekvlc41nxyEuv6WI3D51sd8RzJ4MnCszixwFLtU/HIA; 25:t4iBvDndq2OTWZnPYYv3F5ckNmvvisQPVeGDUhSQweOtbVmJA9sriPOawwSFLZenzwAmc+O0PfexmMbrJITM8qq6S8yfbFqXGgCfDN2b6tkebeBIYksdjo94vlQK8q7YL3L59fuc1INhTEwmdbzi7hu0bJWJa5sHsSDEBpw66lQ+Kh3TJDK7RXXxxMd/LA+kHxVGFsE7i0okiIe1EuO14ColGNYGjPDLqF2m20qPj3rvciYwGBwVwepdf505HfLorHxFRN+FDzAZadYikrQzfTP2wYsI7clVvuM3IA2rzJWhqB3MI6Nm4vPgRH0BoyB8hCl7mk9i2BVh/QaIvcuvKQ==; 31:ab8MXcSGEYR7EBW873RG6EK1KjSwY96oRNJ7xWha2sfhDrOskMCwHkOPeZ7mD388lug0Y68u7tGRUNmA9t4C4BwTmqJsI1tLK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UpFlqFPuBKVb+gTYoPKFJbmK X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(35073007944872)(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DB7PR04MB4490; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4490; X-Forefront-PRVS: 0743E8D0A6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(396003)(39860400002)(366004)(199004)(189003)(1076002)(2616005)(105586002)(44832011)(66066001)(446003)(11346002)(486006)(2906002)(3450700001)(47776003)(478600001)(6486002)(36756003)(53936002)(106356001)(956004)(86362001)(6512007)(476003)(386003)(81156014)(5660300001)(6506007)(16526019)(68736007)(6636002)(97736004)(8936002)(6666003)(305945005)(76176011)(52116002)(186003)(50226002)(26005)(81166006)(7736002)(316002)(48376002)(14444005)(3846002)(6116002)(16586007)(25786009)(4326008)(43066004)(51416003)(8676002)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4490; H:rhuath.am.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB7PR04MB4490; 23:/8Usb30psQf+znAPNgkSQrg81qxG+woWZtV0r/9W+?= vU6GFa08AvWW7ViwfJJ7jKxaPO0chrREERhRuAJwNzvUnFUI8NuUqJqE3jbGVF4PEFsKqpMDEc5qciosXVxoCPRNWExp3ueuEwJ83aOtJIUAjPECu3vZboKK0sWzHQLrVy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/JP+abWJXz34=; 7:U37/QAmqsbwNG3HBTMkSu0tmTVxyH8wf6CF2GSAVlFQ9ZyobHfNNkxeGV7XdZ9fjdQ56R7zKiZ4qYfMCSH1LJOjaRkFmgc4MT3oWJqzgk5ZkK/m2OmhWY/PE7KXCScrllwEO8Vz0vSY//eMpz99/QMbmE3kNiQJj84Xp2WByQpmNNxwGH5Hz5CX2a/PLgng+mZXhao+HDD/7gdfpVBxLV//q7GR5d+O4+29gThjmjN+RZ5ZBCrT+Xwi5X8IIhloW SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2018 14:21:55.0993 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 83d099d7-c832-4464-207e-08d5f170cff4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4490 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_072223_730144_58C6B9E7 X-CRM114-Status: GOOD ( 13.14 ) 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: , Reply-To: roy.pledge@nxp.com Cc: horia.geanta@nxp.com, arnd@arndb.de, catalin.marinas@arm.com, Roy Pledge , ruxandra.radulescu@nxp.com, linux-kernel@vger.kernel.org, robin.murphy@arm.com, laurentiu.tudor@nxp.com 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 Move the NXP DPIO (Datapath I/O Driver) out of the drivers/staging directory and into the drivers/soc/fsl directory. The DPIO driver enables access to Queue and Buffer Manager (QBMAN) hardware on NXP DPAA2 devices. This is a prerequisite to moving the DPAA2 Ethernet driver out of staging. Signed-off-by: Roy Pledge --- MAINTAINERS | 2 +- drivers/crypto/caam/sg_sw_qm2.h | 2 +- drivers/crypto/caam/sg_sw_sec4.h | 2 +- drivers/soc/fsl/Kconfig | 10 ++++++++++ drivers/soc/fsl/Makefile | 1 + drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/Makefile | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-cmd.h | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.c | 2 +- drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.txt | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-service.c | 2 +- drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.c | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.h | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.c | 2 +- drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.h | 2 +- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 4 ++-- drivers/staging/fsl-mc/bus/Kconfig | 9 --------- drivers/staging/fsl-mc/bus/Makefile | 2 -- {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-fd.h | 0 .../staging/fsl-mc/include => include/soc/fsl}/dpaa2-global.h | 0 {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-io.h | 0 20 files changed, 20 insertions(+), 20 deletions(-) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/Makefile (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.txt (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-service.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.c (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.h (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.h (99%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-fd.h (100%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-global.h (100%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-io.h (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 0fe4228..34ce842 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4418,7 +4418,7 @@ DPAA2 DATAPATH I/O (DPIO) DRIVER M: Roy Pledge L: linux-kernel@vger.kernel.org S: Maintained -F: drivers/staging/fsl-mc/bus/dpio +F: drivers/soc/fsl/dpio DPAA2 ETHERNET DRIVER M: Ioana Radulescu diff --git a/drivers/crypto/caam/sg_sw_qm2.h b/drivers/crypto/caam/sg_sw_qm2.h index 31b4407..b5b4c12 100644 --- a/drivers/crypto/caam/sg_sw_qm2.h +++ b/drivers/crypto/caam/sg_sw_qm2.h @@ -35,7 +35,7 @@ #ifndef _SG_SW_QM2_H_ #define _SG_SW_QM2_H_ -#include "../../../drivers/staging/fsl-mc/include/dpaa2-fd.h" +#include static inline void dma_to_qm_sg_one(struct dpaa2_sg_entry *qm_sg_ptr, dma_addr_t dma, u32 len, u16 offset) diff --git a/drivers/crypto/caam/sg_sw_sec4.h b/drivers/crypto/caam/sg_sw_sec4.h index e586ffa..dbfa9fc 100644 --- a/drivers/crypto/caam/sg_sw_sec4.h +++ b/drivers/crypto/caam/sg_sw_sec4.h @@ -12,7 +12,7 @@ #include "ctrl.h" #include "regs.h" #include "sg_sw_qm2.h" -#include "../../../drivers/staging/fsl-mc/include/dpaa2-fd.h" +#include struct sec4_sg_entry { u64 ptr; diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig index 7a9fb9b..c17bf38 100644 --- a/drivers/soc/fsl/Kconfig +++ b/drivers/soc/fsl/Kconfig @@ -16,3 +16,13 @@ config FSL_GUTS Initially only reading SVR and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. + +config FSL_MC_DPIO + tristate "QorIQ DPAA2 DPIO driver" + depends on FSL_MC_BUS + help + Driver for the DPAA2 DPIO object. A DPIO provides queue and + buffer management facilities for software to interact with + other DPAA2 objects. This driver does not expose the DPIO + objects individually, but groups them under a service layer + API. diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile index 44b3beb..803ef1b 100644 --- a/drivers/soc/fsl/Makefile +++ b/drivers/soc/fsl/Makefile @@ -6,3 +6,4 @@ obj-$(CONFIG_FSL_DPAA) += qbman/ obj-$(CONFIG_QUICC_ENGINE) += qe/ obj-$(CONFIG_CPM) += qe/ obj-$(CONFIG_FSL_GUTS) += guts.o +obj-$(CONFIG_FSL_MC_DPIO) += dpio/ diff --git a/drivers/staging/fsl-mc/bus/dpio/Makefile b/drivers/soc/fsl/dpio/Makefile similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/Makefile rename to drivers/soc/fsl/dpio/Makefile diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-cmd.h b/drivers/soc/fsl/dpio/dpio-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio-cmd.h rename to drivers/soc/fsl/dpio/dpio-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-driver.c b/drivers/soc/fsl/dpio/dpio-driver.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/dpio-driver.c rename to drivers/soc/fsl/dpio/dpio-driver.c index 11a90a9..b60b77b 100644 --- a/drivers/staging/fsl-mc/bus/dpio/dpio-driver.c +++ b/drivers/soc/fsl/dpio/dpio-driver.c @@ -16,7 +16,7 @@ #include #include -#include "../../include/dpaa2-io.h" +#include #include "qbman-portal.h" #include "dpio.h" diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt b/drivers/soc/fsl/dpio/dpio-driver.txt similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt rename to drivers/soc/fsl/dpio/dpio-driver.txt diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-service.c b/drivers/soc/fsl/dpio/dpio-service.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/dpio-service.c rename to drivers/soc/fsl/dpio/dpio-service.c index 14ed2be..9b17f72 100644 --- a/drivers/staging/fsl-mc/bus/dpio/dpio-service.c +++ b/drivers/soc/fsl/dpio/dpio-service.c @@ -6,7 +6,7 @@ */ #include #include -#include "../../include/dpaa2-io.h" +#include #include #include #include diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio.c b/drivers/soc/fsl/dpio/dpio.c similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio.c rename to drivers/soc/fsl/dpio/dpio.c diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio.h b/drivers/soc/fsl/dpio/dpio.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio.h rename to drivers/soc/fsl/dpio/dpio.h diff --git a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c b/drivers/soc/fsl/dpio/qbman-portal.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/qbman-portal.c rename to drivers/soc/fsl/dpio/qbman-portal.c index 116fafb..cf1d448 100644 --- a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c +++ b/drivers/soc/fsl/dpio/qbman-portal.c @@ -8,7 +8,7 @@ #include #include #include -#include "../../include/dpaa2-global.h" +#include #include "qbman-portal.h" diff --git a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.h b/drivers/soc/fsl/dpio/qbman-portal.h similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/qbman-portal.h rename to drivers/soc/fsl/dpio/qbman-portal.h index 69db3c8..89d1dd9 100644 --- a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.h +++ b/drivers/soc/fsl/dpio/qbman-portal.h @@ -7,7 +7,7 @@ #ifndef __FSL_QBMAN_PORTAL_H #define __FSL_QBMAN_PORTAL_H -#include "../../include/dpaa2-fd.h" +#include struct dpaa2_dq; struct qbman_swp; diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h index 9269cb0..f2917b5 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h @@ -37,8 +37,8 @@ #include #include -#include "../../fsl-mc/include/dpaa2-io.h" -#include "../../fsl-mc/include/dpaa2-fd.h" +#include +#include #include "dpni.h" #include "dpni-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/staging/fsl-mc/bus/Kconfig index 3424530..90f234d 100644 --- a/drivers/staging/fsl-mc/bus/Kconfig +++ b/drivers/staging/fsl-mc/bus/Kconfig @@ -5,12 +5,3 @@ # Copyright (C) 2014-2016 Freescale Semiconductor, Inc. # -config FSL_MC_DPIO - tristate "QorIQ DPAA2 DPIO driver" - depends on FSL_MC_BUS - help - Driver for the DPAA2 DPIO object. A DPIO provides queue and - buffer management facilities for software to interact with - other DPAA2 objects. This driver does not expose the DPIO - objects individually, but groups them under a service layer - API. diff --git a/drivers/staging/fsl-mc/bus/Makefile b/drivers/staging/fsl-mc/bus/Makefile index 21d8ebc..2141e4b 100644 --- a/drivers/staging/fsl-mc/bus/Makefile +++ b/drivers/staging/fsl-mc/bus/Makefile @@ -5,5 +5,3 @@ # Copyright (C) 2014 Freescale Semiconductor, Inc. # -# MC DPIO driver -obj-$(CONFIG_FSL_MC_DPIO) += dpio/ diff --git a/drivers/staging/fsl-mc/include/dpaa2-fd.h b/include/soc/fsl/dpaa2-fd.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpaa2-fd.h rename to include/soc/fsl/dpaa2-fd.h diff --git a/drivers/staging/fsl-mc/include/dpaa2-global.h b/include/soc/fsl/dpaa2-global.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpaa2-global.h rename to include/soc/fsl/dpaa2-global.h diff --git a/drivers/staging/fsl-mc/include/dpaa2-io.h b/include/soc/fsl/dpaa2-io.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpaa2-io.h rename to include/soc/fsl/dpaa2-io.h From patchwork Tue Jul 24 14:21:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Pledge X-Patchwork-Id: 10542241 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C6F5B13BB for ; Tue, 24 Jul 2018 14:24:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B433628B22 for ; Tue, 24 Jul 2018 14:24:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7A5F28B85; Tue, 24 Jul 2018 14:24:18 +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 4275228B22 for ; Tue, 24 Jul 2018 14:24: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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ontb6NfEfopPs414lElqGU+0KhDeraUECFAp19w4DSQ=; b=i7z4jJWT2YV1vv XC3aeoT6Xchtl969yXzxAlvkHr5YuyomSCmutbqLBMxPONa0ivlCNJRx1Vml0hQkVPElww02mzLjl Ns2qulbsjLIHZ6Sr2ZQ6CmbsgLiG31eakfOXzXn4Vp+8NupFwCbP4smc9abp8J7N94SIohJtsn9rz S/7Vj+oO1aiTJMDGg06GqPDSzq1nUz6UPffKA1DPdY5tZX6Rq+6FIaiEYUn/MKuF0Mp5tyANaJMhu 59hONHGMT6WgAVOjyEiKtGNm60RhzKRsIPcBsbliMnD3fNxECa9aC56pKilgpJkDcFPv9E62H5Iyx y3EFc9s53E2dypcVjYzw==; 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 1fhyEY-0001jO-Nh; Tue, 24 Jul 2018 14:24:14 +0000 Received: from mail-he1eur01on0057.outbound.protection.outlook.com ([104.47.0.57] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhyCo-0008Jy-DS for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 14:22:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3xe4bTCOnz+rR7Mysxu8fEOPpliQmrKVSBXiujyPOj8=; b=ciSI/ULYR7l2U3cKaULk110KbbyCrmOtqKAdJdIAzABz5tsqjaeuMoeuqxxFEQyRE1xoku6gFUCIbVn1oaZlLQIRqEitYrgyjLIaOlpeD0JBnjRDMt28KbJxA8gvY+6hm3YKcIIRU9KNMnlSnez4RVMMF6YjscYNmWzdP//3qwA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; Received: from rhuath.am.freescale.net (64.157.242.222) by DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.21; Tue, 24 Jul 2018 14:21:57 +0000 From: Roy Pledge To: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, leoyang.li@nxp.com Subject: [PATCH v3 3/4] drivers/staging: Remove fsl-mc driver from staging Date: Tue, 24 Jul 2018 09:21:30 -0500 Message-Id: <20180724142131.28970-4-roy.pledge@nxp.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20180724142131.28970-1-roy.pledge@nxp.com> References: <20180724142131.28970-1-roy.pledge@nxp.com> MIME-Version: 1.0 X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN6PR0102CA0006.prod.exchangelabs.com (2603:10b6:805:1::19) To DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4e26a36e-febd-4a7a-aa1f-08d5f170d163 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DB7PR04MB4490; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4490; 3:Wt/xGzOQp6HN6q0xfnjkTIftjAfv4S7blEIgJ6geRCiSmok49SWjCANb7MsPlCx0VgosCioTwe527EmicJUci3rho+0zWl+MNC4Np+yGpnAdQGc3xQ/s2VnF0M2t7+vKdkWi/wFU9A5YgtftWcjMJCo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WfFNao12ZJpxaenXpHIpUteq5yFPxQNdGLkoYhTDYD09AwoWNvceukZVa/z1G86SXn/Q6y34k+nRYZzQ5JfmFz7hIlSrHn6V3k62JYP9DDWNvEssJ/YZ0cx19eJGPddMEkM10lBy4voMM8klDg+bFatSmx5pBXkOX18Jbtjg7kgyBRTb66pFb21PmWDQH8nTFgbThfrSGYp; 4:WnwA3VdhZI5mc4DE3ri9De9Rz6FTiP4uSdzCGh0k4/RRu8NEa4owuUoOeimmpI3bWZdQ/xst3167h9ZMGcATIz7PUWXCxBP62srQXv3sJXSjQyc+ytGzX4cK/kGS8SZyiyf8UUrSdiW9ppyD+xL0xQRmtrYPB02DvoDyxy5gr1kFQVZ7t6L0Rit47AvRTZbcGCn27OaYEyoiyjqg5H8V+EqCkrfYXd1ykeUU1evw0Jmx0aMlmYEb7EH3HD9ruSnalgwwbVXH6PEUiiOcbktZ7BlxtrmXKvG40pF+H+l5SbkoWkdS73dhWW0wxz9nsViD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DB7PR04MB4490; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4490; X-Forefront-PRVS: 0743E8D0A6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(396003)(39860400002)(366004)(199004)(189003)(1076002)(2616005)(105586002)(44832011)(66066001)(446003)(11346002)(486006)(2906002)(3450700001)(47776003)(478600001)(6486002)(36756003)(53936002)(106356001)(956004)(86362001)(6512007)(476003)(386003)(81156014)(5660300001)(6506007)(16526019)(68736007)(6636002)(97736004)(8936002)(6666003)(305945005)(76176011)(52116002)(186003)(50226002)(26005)(81166006)(7736002)(316002)(48376002)(14444005)(3846002)(6116002)(16586007)(25786009)(4326008)(43066004)(51416003)(8676002)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4490; H:rhuath.am.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB7PR04MB4490; 23:YS6gpikVTNwe3u+dfxhHkkkBIl/vmFka14WtfZn2+?= gUAnujRxFdMMxRQBbtgIKm44c44RPAQMXOc+JPwrKh0z/YQ5x3oAAOn6RkLZA5qKGZwNpJdVvLArctheeVz1QUwec2TKM8dzi9am27Nq5Wo0THxTF9xOUzyB0hValivSPo9xOzCgWAUEVyBEdRMW4z9Ysi39/PVHCxPSfurSCN/BsudezscBceg552L6xbN/Zu2LjPFYDCFi8CMaixMb5bVt2dOAj4MtUom80HjoDyxdrUA3E+S1aq310ZCIZIq5/2mGtOvuG7N7GuCre39xtVK8Y9L7HUJObtKZmhdVU+F5UmJkJb9N1K3xM8s2n30RxWYfq6pHhRjBHRRqzCrirlmlcxpVABHmr1Oc3FoPczoiRDBdmNSOzcORE1dHuXafObececRvZwRMtwd9K/CrREIlrC+kV/XRdHAe/u7P0xCx+dJIhNUygm4cYP5Auk6czCsEkmpYf1PyVA0UN08YWrmo8WpAygSvdAopS+l1quO5FOBC1GC1/ElYkT8uwPXlUBFWsLfSMJQ0GtSNuNS34/hJueX05KcOOlJPdxF5C1gfdft+czWrBS5pxcbEqaim1BKLVU5WjlosMn4ocAdoOjoK951v18MA7qPP/CWoSw+mxSUKvmBXTDWCcV3lJGHasaMgEiyqWvnkSXHMQdtwoh1IG5OE41tEw/qpDS2IOXRxLvL7BmG62sSF9ZbUJAY9XKO4onQpciu2GAu0zwtYXMHhpl3Rf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Qw8EbCtqtsv1nd9UCjmlMfi0dsz3WMek20tDoYanejdjlSuhs7z1dr051L3DwRk+A4itLmx2eIf0lQsc7o0QKPPUqdH7A3PWqNGYMiY/aNI8J6Sgf0PV5B0FnHCcIh+DNPng1PDyvNoPiRBL/c9Ca9o3tBwdfPV8iNq910e3AjEludNAV4jT+oaTmA+iDUIl2DdO9thkZkG8smqWyBdiSYtLdWfyNrO2ApHyZJlho+OAZfVEVtGlktP37d+Fvdgwrx9/+HhvrRaBojwiNsreA2ur19d++KX+LYeQVrDT9Nnbr2OENNNWrg==; 5:znuMPiTa5rfCJpASvfYCOQAKXhxVeo//K2uouqhNnzdiclW5LXcopA2KGQXihvk1Cnf8nm85QG+rr/M4wIuVrCmBV52RsNfMZwS+0EsSxHoJUBgEv8oTYog4f1tZv1Xp3ge71HBteknUXhbVGgctK7EfjSLt7WvHsbWnvXjuqzo=; 7:r2I1BcjArj6iN6y5CgqaihtO0VRk0wCPZTeJ65+euCE/1jEpIhc9srSx7SEXbHXROvypzauPJYhj8buWK6TfwDbsSUfYrZax7esHYXp1n0GChVylZmYhZ8UZFnz8M6YLEDgYYWu7SWImiJy1tl+AB4FYIxnrXapMUqSLCLy5qRuH6KCBIoCBiuFbJPT0zGxGM8kqhkCI9uvWhxvduFYlLZY0dhwnN6S0kDE72QVeeo8zGvxA5t6OuXaev7jMlgdL SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2018 14:21:57.5050 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4e26a36e-febd-4a7a-aa1f-08d5f170d163 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4490 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_072226_457277_E468926D X-CRM114-Status: GOOD ( 10.22 ) 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: , Reply-To: roy.pledge@nxp.com Cc: horia.geanta@nxp.com, arnd@arndb.de, catalin.marinas@arm.com, Roy Pledge , ruxandra.radulescu@nxp.com, linux-kernel@vger.kernel.org, robin.murphy@arm.com, laurentiu.tudor@nxp.com 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 Remove the staging/drivers/fsl-mc directory from the staging area now that all the components have been moved to the main kernel areas. Signed-off-by: Roy Pledge --- drivers/staging/Kconfig | 2 -- drivers/staging/Makefile | 1 - drivers/staging/fsl-mc/Kconfig | 2 -- drivers/staging/fsl-mc/Makefile | 3 --- drivers/staging/fsl-mc/bus/Kconfig | 7 ------- drivers/staging/fsl-mc/bus/Makefile | 7 ------- 6 files changed, 22 deletions(-) delete mode 100644 drivers/staging/fsl-mc/Kconfig delete mode 100644 drivers/staging/fsl-mc/Makefile delete mode 100644 drivers/staging/fsl-mc/bus/Kconfig delete mode 100644 drivers/staging/fsl-mc/bus/Makefile diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 75a4804..47b61c3 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -92,8 +92,6 @@ source "drivers/staging/clocking-wizard/Kconfig" source "drivers/staging/fbtft/Kconfig" -source "drivers/staging/fsl-mc/Kconfig" - source "drivers/staging/fsl-dpaa2/Kconfig" source "drivers/staging/wilc1000/Kconfig" diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index e84959a..bfef8f2 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -37,7 +37,6 @@ obj-$(CONFIG_CRYPTO_SKEIN) += skein/ obj-$(CONFIG_UNISYSSPAR) += unisys/ obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clocking-wizard/ obj-$(CONFIG_FB_TFT) += fbtft/ -obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/ obj-$(CONFIG_FSL_DPAA2) += fsl-dpaa2/ obj-$(CONFIG_WILC1000) += wilc1000/ obj-$(CONFIG_MOST) += most/ diff --git a/drivers/staging/fsl-mc/Kconfig b/drivers/staging/fsl-mc/Kconfig deleted file mode 100644 index 3002229..0000000 --- a/drivers/staging/fsl-mc/Kconfig +++ /dev/null @@ -1,2 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -source "drivers/staging/fsl-mc/bus/Kconfig" diff --git a/drivers/staging/fsl-mc/Makefile b/drivers/staging/fsl-mc/Makefile deleted file mode 100644 index 1468388..0000000 --- a/drivers/staging/fsl-mc/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# Freescale Management Complex (MC) bus drivers -obj-$(CONFIG_FSL_MC_BUS) += bus/ diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/staging/fsl-mc/bus/Kconfig deleted file mode 100644 index 90f234d..0000000 --- a/drivers/staging/fsl-mc/bus/Kconfig +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# DPAA2 fsl-mc bus -# -# Copyright (C) 2014-2016 Freescale Semiconductor, Inc. -# - diff --git a/drivers/staging/fsl-mc/bus/Makefile b/drivers/staging/fsl-mc/bus/Makefile deleted file mode 100644 index 2141e4b..0000000 --- a/drivers/staging/fsl-mc/bus/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Freescale Management Complex (MC) bus drivers -# -# Copyright (C) 2014 Freescale Semiconductor, Inc. -# - From patchwork Tue Jul 24 14:21:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Pledge X-Patchwork-Id: 10542239 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5695A14BC for ; Tue, 24 Jul 2018 14:23:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4427428B22 for ; Tue, 24 Jul 2018 14:23:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3705628B88; Tue, 24 Jul 2018 14:23:46 +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 BDBF328B22 for ; Tue, 24 Jul 2018 14:23:45 +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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=llYK7cljj0rlpCgUVpjTxX2raRMFvjAunQMsv9+ZPNk=; b=RUMRh0FrLDC2rW NYJuTvsI0VOpFMaS1ETeQ5LXdWSNgib2pO8A3p5Sx96D6f0Lykq6NWL+lazKTB4Si/ToCIBvfsOpr NpUA9DHB43VriYvz76ZWHJCX1Ll/LE+ZROtPLZzZlyQZ1Kvf9fvLaiwm+DfMFDFM0ndQmY/xtXKBo 9LYD7vHo/u1QAza4JyWpDVqkx+ioOywn0wsRW2ks65I5jIhplnYKVo5hP4WxJn3iX1MTpM0kUsVNQ dpmzk6ddE3alCURI3mP6c1QsUDVRO2w6Txv2yJCQxQ9ozIPmL3ekiDY8j0ByM4znI0lIx3+VhPyS3 ppziIZX2hc4oKx5Lf2cg==; 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 1fhyE2-00014Z-EY; Tue, 24 Jul 2018 14:23:42 +0000 Received: from mail-he1eur01on0057.outbound.protection.outlook.com ([104.47.0.57] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhyCq-0008Jy-FR for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 14:22:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aCWE3FDOpEchDhuhfHWTQa/4Gt2s7X/io9xzOEAuxW0=; b=IDBxniYKVORO3KEdK0r/B85tdzmumVFk1/hEvv6Ye2jRIcU+/ajJOhilllhKQsr2cxurXgRRB0K3Ymdx94S01qQGcXFl9vGxg/OXOHAMEEs6aV/b3QjTAEZ0AwlHUp/dP82rv/ytuEQnzKrQhfFbxkQwVJWjKgDCaBFeW+SZuK8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; Received: from rhuath.am.freescale.net (64.157.242.222) by DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.21; Tue, 24 Jul 2018 14:21:59 +0000 From: Roy Pledge To: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, leoyang.li@nxp.com Subject: [PATCH v3 4/4] drivers/soc/fsl/dpio: Convert DPIO documentation to .rst Date: Tue, 24 Jul 2018 09:21:31 -0500 Message-Id: <20180724142131.28970-5-roy.pledge@nxp.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20180724142131.28970-1-roy.pledge@nxp.com> References: <20180724142131.28970-1-roy.pledge@nxp.com> MIME-Version: 1.0 X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN6PR0102CA0006.prod.exchangelabs.com (2603:10b6:805:1::19) To DB7PR04MB4490.eurprd04.prod.outlook.com (2603:10a6:5:35::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 957dc7ea-0d93-4bb1-d199-08d5f170d2c8 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DB7PR04MB4490; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4490; 3:WQ7XxEm+dMMIqMftO0HoDJpnLLQwzt9QZ/7cBtP8DVjkmUZbxAPKB6kqu6HTw0rkuchvCniuJYQ9R2YcEVbJCsowjMWrWXJfem360coSR/2iWo9q2B3Nxk+l+PtEZbLSmaDCp1XqccNg72Veu25kOa0OBwS2JvXl6tx78dkhJyx9BDtQSryiyiyqWEVbhUHC4lwnkuF4/7FKNHQUbLXunRTgYXuffk70fJsm/7MTkA3FSGyWzuVCuTns/r+ARtDs; 25:82qwNkMHguMSw9nO9ZyL9gD/iKmAqjnZ52dfjX1R1Ut1entaNM3/0wcY4nsHgLG5Y021/1OiqXm1JKNtCN3fDgDulm6y7bBUeLa9L6i+ynG6ljSUHmT+geg5tZjUmpU5BPpiHX1dKglh6sj5F8U7ObHb28FYMdTNq/7rH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48oKdWBFPHZPOgodlLwhq23ClWtuSNi9VdaAAiHJjrsibHLkua6jjn/q0JPGe4HjfQlMnSp0D4V80j1hEyO4peYJW8VigqB8jJ4n52oj6hM1Ma37omHcc5pTN4CgeV3WIfvar2xWoivvsloO8auCI7jNbbCTn99ZOe/HEjtowI7sHrvAWsCUmzsyAqebi8bcxcXP1UViKTci1VgRRarq2tmQ7oqDfEQtHkSrKI46qZlHuhrhO/2xSfA9apnh9gu/oLQWXllZGFKZtXajd650pxpbD1ZWT+1Nwmn+eG0cV2NeCvDyyl+Rp2ce X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(227817650892897)(275809806118684); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DB7PR04MB4490; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4490; X-Forefront-PRVS: 0743E8D0A6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(136003)(376002)(346002)(396003)(39860400002)(366004)(199004)(189003)(1076002)(2616005)(105586002)(44832011)(66066001)(446003)(11346002)(486006)(2906002)(3450700001)(47776003)(478600001)(6486002)(36756003)(53936002)(106356001)(956004)(86362001)(6512007)(476003)(386003)(81156014)(5660300001)(6506007)(16526019)(68736007)(6636002)(97736004)(8936002)(6666003)(305945005)(76176011)(52116002)(186003)(50226002)(26005)(81166006)(7736002)(316002)(48376002)(14444005)(3846002)(6116002)(16586007)(25786009)(4326008)(43066004)(51416003)(8676002)(50466002)(142923001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4490; H:rhuath.am.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB7PR04MB4490; 23:veyDMQn6uI9b6BCvAQDzQPYWIOUwA8EZKKGK2PYXe?= kqR97kz4Up7hQAPZspItpz3kwluoOONgcfghPoVYAqWUEC8flx6HcnAAGSjFaNYA9+p3OB2r0qUWZkFNXvgQg1jTfEb8ednvjC8RZU+eQVVUuwMyKfvwQmC4sN9AS9LNRuJ474kLaiHbYz9x30xQOZoTJp6H665yEdw0DR6nTjRIticMjKEXo+FkjAn6+ej9nGGdCILkd0Lj4pMciLW4f0oAHGxi1GzEgHksD+3RybidHQtV6Jm4J15uo4egviNIEMjE6RykYW1xqzAsWpB8JaIrWBEt3fGG3doliduoiy3vwnrSdJRTahLgp18/M045pcpFu4r/2N7YjTZ8nC783zB2Waj/1ZVYGU+xXwwlaxrQuFVrEKBCk476+w4FdLDehzbpNy+tFcVpCFbrNUk3/HOhi0I3T/+2BZT612nQjScO+hmqZA5q/+0vPfod0uvQBOHTACwwPCKvyqTeU04LpO9SMJjB80U3WKbrGLsiCU5f9l1Nqcc18gfxsQfGPkGE/7sRS7Mgltew8jXGo5oXOyIpV+0U4J+Wxr+Pv0inBhlOn8tEnINsHrny4qUctxEuPfgvvD8kg5G++YNiuT4JBkfQjGz1Ii5C0uQ39ZvF2VjRj/Ppvh8JaMKDaAZrgEESVLmJs0PK5j3YL5SwOr/IhbTx30VwCaQ4F1tx+8wk3OGnzfzSkvpOFMU66GUus6Zq191lxceKhiAIzlkhV1HGj5Gwwh9MHMk1klIKn1Br/zcalHucBuDurb9WrvwAY48ngdY1jUxBeksRraF/FqlFOBmSanUGFTp9i1PKddkl4Iay6PwJTgtoqFU929h8Uj4jfRRNQDCTZ0yiGsvT5BadBUWk/DTr1psokj2WSy42LDzaGlKOkTMr3MHIbxNYSErXkAqT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7R1u6tiftlwsr8Yy1tp0k8dAiX4Yv1GsBPhk6wn7VJkttHuka43eK5qV+AkIBkuIQ/yhjLJ3bgpzHV0/40Gv606z8rZrkAH73y7OB8cHXCnoHcV+W+H93j1TPlrlEXYFRzzDha1lYwZ/Mcwus6MLqbSehh55VWUcIkGdCPWduAInJ+kittSFlFJuaH7bc8yI2ofQBJG1tV8bVEmjWuXi3Bikao3eVCifnQod6zH4LJmy5oM7EvHYPEWwxAB4c6UDSl955IQ2Tdh2NDlZBvNdipN5fGQ847I+lg==; 5:C15Onczft/r5msi1D0C4LHAHrKUlNZM2XMdrDhs4ATtWaRyiBt0EKpJi1tvxnbSe+JAXYM9ZjrzpkRSCRPnrBsrFo7onpdFtxd5Y2OkIFfLFo32gpJze0v7glSKtMD3gCblYRIsWCY8fMjbun4da95DFVAUHCORXIXngc3ppTnM=; 7:wQpSB3sREpHOezFsfbx1pGiyXm/dmqjwHqUqlUjRSRMmpQpYH3VJMqWCmpjV6valUmN/5rq35eD0G8rnVLucblSeqgoChl4ZSj56v2668/hv9XRYCqVo2Q/7cnnnMG3r143BbtvCJ6RFlNlIjlRf7bJckXmJo9moL6DCteI3vN9R6QtXFezp0Hm9M3HYYnWSNhE4A0kBhMLswC5FcDhGLDYW2MFPqDt2JOn0eoaWzjFegCylLd/0f4Y2BW3CqqjZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2018 14:21:59.8446 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 957dc7ea-0d93-4bb1-d199-08d5f170d2c8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4490 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_072228_837158_909D08FA X-CRM114-Status: GOOD ( 11.19 ) 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: , Reply-To: roy.pledge@nxp.com Cc: horia.geanta@nxp.com, arnd@arndb.de, catalin.marinas@arm.com, Roy Pledge , ruxandra.radulescu@nxp.com, linux-kernel@vger.kernel.org, robin.murphy@arm.com, laurentiu.tudor@nxp.com 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 Convert the Datapath I/O documentation to .rst format and move to the Documation/networking/dpaa2 directory Signed-off-by: Roy Pledge --- .../networking/dpaa2/dpio-driver.rst | 29 +++++++++++++++++++--- Documentation/networking/dpaa2/index.rst | 1 + 2 files changed, 27 insertions(+), 3 deletions(-) rename drivers/soc/fsl/dpio/dpio-driver.txt => Documentation/networking/dpaa2/dpio-driver.rst (95%) diff --git a/drivers/soc/fsl/dpio/dpio-driver.txt b/Documentation/networking/dpaa2/dpio-driver.rst similarity index 95% rename from drivers/soc/fsl/dpio/dpio-driver.txt rename to Documentation/networking/dpaa2/dpio-driver.rst index 72ba9da..1358810 100644 --- a/drivers/soc/fsl/dpio/dpio-driver.txt +++ b/Documentation/networking/dpaa2/dpio-driver.rst @@ -1,7 +1,15 @@ -Copyright 2016 NXP +.. include:: + +DPAA2 DPIO (Data Path I/O) Overview +=================================== + +:Copyright: |copy| 2016-2018 NXP + +This document provides an overview of the Freescale DPAA2 DPIO +drivers Introduction ------------- +============ A DPAA2 DPIO (Data Path I/O) is a hardware object that provides interfaces to enqueue and dequeue frames to/from network interfaces @@ -27,8 +35,11 @@ provides services that: The Linux DPIO driver consists of 3 primary components-- DPIO object driver-- fsl-mc driver that manages the DPIO object + DPIO service-- provides APIs to other Linux drivers for services + QBman portal interface-- sends portal commands, gets responses +:: fsl-mc other bus drivers @@ -45,8 +56,9 @@ The Linux DPIO driver consists of 3 primary components-- | hardware + The diagram below shows how the DPIO driver components fit with the other -DPAA2 Linux driver components: +DPAA2 Linux driver components:: +------------+ | OS Network | | Stack | @@ -98,20 +110,29 @@ DPIO service (dpio-service.c, dpaa2-io.h) Notification handling dpaa2_io_service_register() + dpaa2_io_service_deregister() + dpaa2_io_service_rearm() Queuing dpaa2_io_service_pull_fq() + dpaa2_io_service_pull_channel() + dpaa2_io_service_enqueue_fq() + dpaa2_io_service_enqueue_qd() + dpaa2_io_store_create() + dpaa2_io_store_destroy() + dpaa2_io_store_next() Buffer pool management dpaa2_io_service_release() + dpaa2_io_service_acquire() QBman portal interface (qbman-portal.c) @@ -120,7 +141,9 @@ QBman portal interface (qbman-portal.c) The qbman-portal component provides APIs to do the low level hardware bit twiddling for operations such as: -initializing Qman software portals + -building and sending portal commands + -portal interrupt configuration and processing The qbman-portal APIs are not public to other drivers, and are diff --git a/Documentation/networking/dpaa2/index.rst b/Documentation/networking/dpaa2/index.rst index 4c6586c..10bea11 100644 --- a/Documentation/networking/dpaa2/index.rst +++ b/Documentation/networking/dpaa2/index.rst @@ -6,3 +6,4 @@ DPAA2 Documentation :maxdepth: 1 overview + dpio-driver