From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8DA58A0C57; Mon, 1 Nov 2021 09:52:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FF7940E28; Mon, 1 Nov 2021 09:52:09 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2048.outbound.protection.outlook.com [40.107.22.48]) by mails.dpdk.org (Postfix) with ESMTP id 9C43240DF6 for ; Mon, 1 Nov 2021 09:52:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lUZL+nUcgdUjJgvxxSWaK8j5Lg1Xe/+d14O4DxyVdyDE+hCukarlRpF7y44TipOZIOwPcYKLyuAiVD5pzXmYB5gMpmpxUsX04fDWWtdy2bHgYPw5SFokew+1am77Ug+WpQpgU2T+jOdwzDqZ2xbiHi5pWz7M8jftFwXP7JOcpz5mbZ2MFWZ0x+1+4AFmgQVEOPjbXKvcQk4Lahmzu8G/Cx2I5HvMFekXXEn86NxkNETEeXD0fBp7QfzoB3lF13TusqRdHrJONSVyQpadNMP+isjpgEfqEOmS4NhmvhZflf22/XIneduHcSCNIcQ7rfmd681ZDXokm21FsYG0hkZJyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=licDa2lUjrOQOrCjlE28ypSHxTyJEoxdYGf7ujqLuz0=; b=jQnY62v25Uw9I2BMOfA8pnTH3FjCKnLt7udygCP2m3zQEYVE0vfd52fYriGZxTgG7cPoNJtG5qxvB7ibmCDzip0QuZFaZY6PUm7Qf8maRE4cKHczBPz2aCYnQM4uXIzr7A+rZOv2sOmJ/gui8kRKyi4VETL4r4oV5cBaf1daI8bjbPaHNPTFlPPzp/gycTYkNycMaR0fdOT+6XQVmuWLnrF2x3aGmScj6dgiLadTqyTWciKh+D95PUK5y6+ozKQj4cnFtM59KFyfpaJgUDlMlA+T/+qp+zRke+tyUbYWIZPsNfTU7jjgmUkF3mDuyuFQoRX90P93/T+e675tyn5M+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=licDa2lUjrOQOrCjlE28ypSHxTyJEoxdYGf7ujqLuz0=; b=OXgl8biZUUe+daQuDMso/eoozoyu4TifgUq4jJkqSaMcq8eeUJOwILmEJITWlZGg4ABnK0O5olVecn7vsV+B2Kjw7DfhYlPmb6jLwn0yv8qmP/Kz9jf5yp2aVwqdGgSVTrrcRq3DGq9mP3TW+BdQdh8LhqO8gRgm8b8RHpgQHmg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB6960.eurprd04.prod.outlook.com (2603:10a6:803:12d::10) by VI1PR0402MB3614.eurprd04.prod.outlook.com (2603:10a6:803:b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.18; Mon, 1 Nov 2021 08:52:06 +0000 Received: from VI1PR04MB6960.eurprd04.prod.outlook.com ([fe80::11d9:6f32:90e:80c1]) by VI1PR04MB6960.eurprd04.prod.outlook.com ([fe80::11d9:6f32:90e:80c1%7]) with mapi id 15.20.4649.019; Mon, 1 Nov 2021 08:52:06 +0000 From: Gagandeep Singh To: thomas@monjalon.net, dev@dpdk.org Cc: nipun.gupta@nxp.com, Gagandeep Singh Date: Mon, 1 Nov 2021 14:21:37 +0530 Message-Id: <20211101085143.2472241-1-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210909111500.3901706-1-g.singh@nxp.com> References: <20210909111500.3901706-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0092.apcprd02.prod.outlook.com (2603:1096:4:90::32) To VI1PR04MB6960.eurprd04.prod.outlook.com (2603:10a6:803:12d::10) MIME-Version: 1.0 Received: from lsv03457.swis.in-blr01.nxp.com (14.142.151.118) by SG2PR02CA0092.apcprd02.prod.outlook.com (2603:1096:4:90::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Mon, 1 Nov 2021 08:52:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 80451dfb-c116-4fea-7bbb-08d99d14e1ac X-MS-TrafficTypeDiagnostic: VI1PR0402MB3614: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2803; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dCQH7swki7B0uzfOuHhuXWK/frGYZHsH6M6pi4RfODYPbmlN4umAO506etwTrjBjFB3yyAzBEIyaxaCQydrmi9gjRkXXRaLIEmSFG7kQuFHm0B9wwJ89H5Ap4NAKFrnUHiMrzILBnYasZStpSN+310BUDsTFEcX6zSNK/ueJl3KvrW9QcrsTXq0/xSR1zUmwa1L0icprq/JmfPy+tp7vTEs0HLPPeyg+dYUpG4Bs7/LZ8Bw5o7fkjuJdCKroL0qLocCJM1miJur+jlFt5K7qG1yPWWwwJglLMrmBroidkd7DjBo4lVokKBj227VNKtj/rEb/zTgVFlLGNdKqFPX85kRLCmG+D6Y+cwaMievrMTG9eawQl1c50JypMi+aZBw/wH9Tz+jUOEY3jG8ea25KJuN3b62vC3q7wkaRKBMH3NQNjVtgg15XcIIZIYvZvoJd8eDVSkz1r1jnLjfdgenWagBZ8pPICKo8DWgl/eszoUA/23hywyXMpuy3Ye+Qm7o5Brz9jmnTuP/xAx1Jwl0LfCGrzun+BQGpNC9bJyI8adp9ny/tqd3jIOqZ46xiBUbKsroq+5cSITVm3AuXdqKyDQo8FkGfM6zlqnV1KP+k1EvTRlRHpQaM7xjdS+310nDUHcghAhZ4qrpfSmZ8n7Fndnq9JIuJrq3T7AdUGGVdj9rJl0rS0QTLa8IiC4T8LDftMW7Fxc7/zHDDD09Oo2O7I8lTGvPWsuXNG0X3mqBYiGaw7bK4/77gVFByGNoGAGmO X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB6960.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(4326008)(316002)(6486002)(66946007)(55236004)(2906002)(52116002)(7696005)(66476007)(66556008)(5660300002)(956004)(1076003)(38350700002)(38100700002)(86362001)(2616005)(36756003)(8676002)(26005)(8936002)(186003)(6666004)(1006002)(110426009); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?fejlDEYVkuF6bp2cMdEi6jcg37AgD0rJxmm+pz/a2jD6hWdbqwrsuWkvsSfg?= =?us-ascii?Q?hk9OGWou/qKtRiMU5gwo2Zy5q/5BDOTD+HtFIkWbmpeBv6ePUXG32yXzD0W5?= =?us-ascii?Q?EtMcM3Skt3zL7VrWopzi9Oc8hqR/cEzCO+dxY0PCYR2TJdLWjaHXZ4X+fQVn?= =?us-ascii?Q?QROOHzYcpcNVDS1sCJzj37Vc9T/02ZKMiSYlu5CrlBClngTfQWcyOBbfNgqe?= =?us-ascii?Q?uorrUxiAmLTOAq9n9Qqin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=?us-ascii?Q?XtcCcm6jlddvCGRNijp/fGZRifsbXk8RWkq5Oq3RmBCRkfclO3VmkI0skGtX?= =?us-ascii?Q?HB1ddggnE/nxg+M5SVmOWQUxqEqA+xBi9ubXvrbAL3XzxlYuaWbNPBHP95uK?= =?us-ascii?Q?bbrCslNOyxjLx24o168oDEdvmdB+saJX1Dme8JbY7Ure0mcSwp836Z2sH7kd?= =?us-ascii?Q?mguz+n99LecgwxHkyC/Nj3N9zKHb7VixoD5ceqFcF9nb3uZedgLQhSv0RiRa?= =?us-ascii?Q?p8hX5r9XVG6wY95nXterANT+16lGzKsS9H9uFEt94U6m6m4THaU8UMQ3wSUP?= =?us-ascii?Q?aYt0eTv+cdieFBeshoLhfj4NRMyFN63DAhm18Sv+rThd7XQzwIAZaHbMrinN?= =?us-ascii?Q?imeBmYSc2ercU3vtV428HuqKvhEd3oVWn1ucQqg2uB0EiGG7haWJC0x/ueUI?= =?us-ascii?Q?4uAQNGLZZj2z2hodwmE=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80451dfb-c116-4fea-7bbb-08d99d14e1ac X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB6960.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2021 08:52:06.6614 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BV8T4uV4JuhDeQVvjYF+2F2Qw1/hi6qlfOVzevV8AP8EEhiBJuBMStNh771o1Wna X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3614 Subject: [dpdk-dev] [PATCH v2 0/6] Introduce DPAA DMA driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This series support DMA driver for NXP 1046A and 1043A SoCs. v2-change-log: * series rebased with latest dma driver Gagandeep Singh (6): dma/dpaa: introduce DPAA DMA driver dma/dpaa: add device probe and remove functionality dma/dpaa: add driver logs dma/dpaa: support basic operations dma/dpaa: support DMA operations doc: add user guide of DPAA DMA driver MAINTAINERS | 11 + doc/guides/dmadevs/dpaa.rst | 60 ++ doc/guides/rel_notes/release_21_11.rst | 3 + drivers/bus/dpaa/dpaa_bus.c | 22 + drivers/bus/dpaa/rte_dpaa_bus.h | 5 + drivers/common/dpaax/dpaa_list.h | 2 + drivers/dma/dpaa/dpaa_qdma.c | 997 +++++++++++++++++++++++++ drivers/dma/dpaa/dpaa_qdma.h | 257 +++++++ drivers/dma/dpaa/dpaa_qdma_logs.h | 46 ++ drivers/dma/dpaa/meson.build | 14 + drivers/dma/dpaa/version.map | 4 + drivers/dma/meson.build | 1 + 12 files changed, 1422 insertions(+) create mode 100644 doc/guides/dmadevs/dpaa.rst create mode 100644 drivers/dma/dpaa/dpaa_qdma.c create mode 100644 drivers/dma/dpaa/dpaa_qdma.h create mode 100644 drivers/dma/dpaa/dpaa_qdma_logs.h create mode 100644 drivers/dma/dpaa/meson.build create mode 100644 drivers/dma/dpaa/version.map -- 2.25.1