Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754098AbbGIUhs (ORCPT ); Thu, 9 Jul 2015 16:37:48 -0400 Received: from mail-by2on0103.outbound.protection.outlook.com ([207.46.100.103]:63168 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753902AbbGIUhK (ORCPT ); Thu, 9 Jul 2015 16:37:10 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none; From: Roy Pledge To: , CC: , Subject: [PATCH 00/11] Freescale DPAA QBMan Drivers Date: Thu, 9 Jul 2015 16:21:51 -0400 Message-ID: <1436473322-21247-1-git-send-email-Roy.Pledge@freescale.com> X-Mailer: git-send-email 1.7.9.5 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD008;1:S9kpX2O71LRIdvbPIEdhZMQKFdTWUUKez9k3oCd8ckAG2//I2XGRk2gJo/nes6YD26w/0uiHiNve/vgNS4+OlacEOznO2mWOeQUrAg+HhNwJlLVSJW7U9wG6KcgD7NNAvzAtDCogE+M1LcqfdQNJaX9n5jCqZLLCbTQzzmUHsxXu0DkF09BXrkdCVaUKcS+rtvDbx+dOuUlOmdqXh8eVaZ2aJKYRA3m2ijV1CS+33IILsGizfsu4M4TZXkb3aDPmeu/iUm8Gmwsc3lr3XyD78bC65dIlVwZLBe0Snp+A9ynvBDaDTgFalksogdrrFs8sROc5m4rJ2jbOEHv9c8gDJ6aBQ6DIoUXyu828gREfICC8gCgOTAgVsslYd6y4ZcboKW+KZmYdNVy9gpDXsPPuO7aitkcLPNEvfllQxOjBt/Z9k4oSJ5B3ZrLPt/2SwERA X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(36756003)(92566002)(50466002)(77096005)(50226001)(46102003)(5003940100001)(189998001)(106466001)(50986999)(62966003)(77156002)(48376002)(47776003)(104016003)(229853001)(6806004)(85426001)(5001920100001)(86362001)(5001770100001)(87936001)(5001960100002)(105606002)(4001450100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY1PR03MB1481;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BY1PR03MB1481;2:eDghQjDw8VJYCE7aAHOfGzBGVaaPwiS7f1Scbooc5KsBM4HwJL7J6BFfyJ8U/Wu9;3:HP8WGUdHLffZ6+JQP1ojvNDkjQi9OnRsb6IXb5OTOXDPYRJC5eeCbRjYpFev9yTrvBjRn/aU9K6xl98v98y6caatYmZ02tTDNwca1723xMRekkQn2F+nNvDPOkbL5w21y1IWkE3e1o3RvqJJ1s/7ouJct2R4JGF8un3ChASYvdKK62751oR4me2AqtgxB/awRS5mZWLNBq0NoIMz5/V2M7ZPZ61AuR1adH7P7DTFAbw=;25:LqFZdsu1t1b+VQNki5qznBMsaZoYLr2Zts5EoVRwryz4go0fLLEFNFZ3AQvbHR74f2ZLw6S5uMdxZvj+lMjznJggr7h2JLqyLQ2BCd4ZJr5pUCNTVaY8Sh11dzGrwSwX+CL5ycotK7QxAWnifHYcmAHOph876WcfViaSqM9kXUSNWcqKdBMlrgIaHUusLwK7TfK5lOhMHonRobeybDjq4+JUVMFxQlVsugrXvrXjcJirlzgymNjyUakRwzV3tT72dK6KzgcspcFkpgn+B5+7VA==;20:oRMwPhtqkPJA070rBKqpEBmOAcge2PSkOW9q4uWaf4TSzdbX2AoZsvc8R157h5/D7m+DTGp1wlXE8eV20PXOdZH4Era+XXBRIUIxEuhl61OXIPZjrSgqMKPx66h7mTG6kobU7nhrNa2bQUs9k/UQ0nkIcCrOmyFWwvhuIpStw6gT6FKAGB8XklLl/ExVIbm8j2CfZvDkx+qq11RXrKXKqPOdZ3p+Cg1jubM+GnboRWTimwWTH6DLFhRdBkD7hc8stkZfvI1GUN1EUIzXsYhpx71zfjQbi07fgKQEy7Y9KmjoEIZHJ/By8c1UMyoIsQEf0wDhGlroRlK7YwodOUF9p0BlZJ6ALOFWKv2g+47DaYE= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1481; BY1PR03MB1481: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BY1PR03MB1481;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1481; X-Microsoft-Exchange-Diagnostics: 1;BY1PR03MB1481;4:8L1hcChy3nLkUQt0nqGbP4Na0E3KrA6zJNdSbBVRM1GIO0KIVIMlvSMg3wb9P+QK1YtE0mlAQstJ3L05nCSYLKQWnrVIdGaSsrvChp7IAaiqMs8CwaU01icVeHSZFY6KJdfobFauJk4N6G8qVmwEOgmvPk0zioYIPkug8yau2AIcFMoEsTdUDCyTG6Agt8mN/pIrtAWNShIb/kLhppGWckr+9b7JMgxAmsS+fiG0Vx++ZQsNF6+QkXKRV85kMsdF7Tm3FeeOHCPjKESPPcRyOfN5iBrZ8xygX8uIcCUyyqI= X-Forefront-PRVS: 0632519F33 X-Microsoft-Exchange-Diagnostics: 1;BY1PR03MB1481;23:JPMrSw1/t00y34HOyAwXS0y+MbuaS9n5M6H+psT0Us2N9IVlb6y7pqEpRw1AyOX+6S7QjI7QSLLQ2Sr0pq9GCf2Cn+aFfpB2LIRgDRBtO5zZuq0n3FjXbYhBJ43bcwDR6Bbcdq4/kgEJQQkKXwGju0PVILVWUGZyj8Bvk5304XyrDSD3BleCjlnNvvBTzUR148a3jFyOROBDtshydmnt25uyoUYTldmWBW0dj+UJldUpgCNnizIiOK+WbxBOqXAKo49x0dU4xoFYZtm7sYmedC7ejFXHQFTLPE0rDTRwCMLgbUzed9ZA86c7dIaU1CfRYMoavUpRS79EeZXdN9xSs4Ww3aouY8EhV59CkCeDiv29geKD2UG8gvLXnJPA/J+HmD4nd+Izfz6OGo7N75s3mXQT+CVrjJ2sIeBCeX39Ri2p0Fp1ULUQ6BnfBNhaQ11yAiAVR8CSt2LZySviHrGXB1ypqCIEd9Ry7hZsXuQ6+glyRHD2g/WX6Pkh+xju78Y10xyIyGZjtrOYnN3u0oyZK8x8xcz6Hx01za+I74FgAP0gNi04wJ8NpORazvoGbtQMx+VMr/hEnrvZNErsEcHqKcAmAKLPNWW/Ia5XH31tAvciOKDl6fuGe1GuzHX6LKkYglkoicgnNH2bcwTPK6HqwqluYDUYjjKlANPBQ4Fndc/gn9GcxuWh58LaWwzRCY5Cf/xQAbrhW1xo3PMPG0DYDbcGA9MQRuuoxQTYBvF+1XpICiK9HWlT4Zmzdqe1B2AohuZH8suU311ohaesr6U0Ejbj32j3jKiTeZu399uNyFaASQL+LIAxKU1MTmn3qls9+CgzVskHRnoiSfzEPgqIqw== X-Microsoft-Exchange-Diagnostics: 1;BY1PR03MB1481;5:iX0uIquRvWiQjpBNCv6nVfOuioNubbCaubf4XtH7JpmqoyQmgSUtEtaRGTL4eiTlmc7mTlvbCrXdTEANrnbvjgs+NS2sxzs84+tz81B2pArMj17NaLTs2EWDs6n+6ebdpkJ5GHmTyS26ocm6geRm8A==;24:k/c5FOBi3l4UcavfxDKKGDldmMr6Hhiv9mfa+MTV45Mhq1MuEoi3rUquhi9xbWgptVn0WU6ZID73xC2QHVdCwyK5KnRaf1dnhphiPtAcWW8=;20:ZXVxV9+tQ8v1y/uyjQXlT4sLtc6eDuzLTEln+3mYJmZwL4BJQ1zwOxOr7orHH4sfuUGDo/uXbzxU7miOJB1MDw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2015 20:22:03.3354 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1481 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5804 Lines: 109 The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the accelerators. The Queue Manager (QMan) is a hardware queue management block that allows software and accelerators on the datapath to enqueue and dequeue frames in order to communicate. The Buffer Manager (BMan) is a hardware buffer pool management block that allows software and accelerators on the datapath to acquire and release buffers in order to build frames. This patch set introduces the QBMan driver code that configures initializes the QBMan hardware and provides APIs for software to use the frame queues and buffer pools the blocks provide. These drivers provide the base fuctionality for software to communicate with the other DPAA accelerators on Freescale QorIQ processors. Emil Medve (1): powerpc: re-add devm_ioremap_prot() Geoff Thorpe (7): soc/fsl: Introduce DPAA BMan device management driver soc/fsl: Introduce the DPAA BMan portal driver soc/fsl: Introduce drivers for the DPAA QMan soc/bman: Add self-tester for BMan driver soc/qman: Add self-tester for QMan driver soc/bman: Add debugfs support for the BMan driver soc/qman: Add debugfs support for the QMan driver Hai-Ying Wang (2): soc/bman: Add HOTPLUG_CPU support to the BMan driver soc/qman: Add HOTPLUG_CPU support to the QMan driver Madalin Bucur (1): soc/qman: add qman_delete_cgr_safe() arch/powerpc/include/asm/io.h | 3 + arch/powerpc/lib/Makefile | 1 + arch/powerpc/lib/devres.c | 43 + arch/powerpc/platforms/85xx/corenet_generic.c | 16 + arch/powerpc/platforms/85xx/p1023_rdb.c | 14 + drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/fsl/Kconfig | 5 + drivers/soc/fsl/Makefile | 3 + drivers/soc/fsl/qbman/Kconfig | 192 ++ drivers/soc/fsl/qbman/Makefile | 20 + drivers/soc/fsl/qbman/bman-debugfs.c | 117 + drivers/soc/fsl/qbman/bman.c | 554 +++++ drivers/soc/fsl/qbman/bman.h | 542 +++++ drivers/soc/fsl/qbman/bman_api.c | 1070 +++++++++ drivers/soc/fsl/qbman/bman_portal.c | 391 ++++ drivers/soc/fsl/qbman/bman_priv.h | 134 ++ drivers/soc/fsl/qbman/bman_test.c | 56 + drivers/soc/fsl/qbman/bman_test.h | 34 + drivers/soc/fsl/qbman/bman_test_api.c | 184 ++ drivers/soc/fsl/qbman/bman_test_thresh.c | 198 ++ drivers/soc/fsl/qbman/bman_utils.c | 72 + drivers/soc/fsl/qbman/dpaa_resource.c | 359 +++ drivers/soc/fsl/qbman/dpaa_sys.h | 301 +++ drivers/soc/fsl/qbman/qman-debugfs.c | 1313 +++++++++++ drivers/soc/fsl/qbman/qman.c | 1015 +++++++++ drivers/soc/fsl/qbman/qman.h | 1128 ++++++++++ drivers/soc/fsl/qbman/qman_api.c | 2917 +++++++++++++++++++++++++ drivers/soc/fsl/qbman/qman_driver.c | 83 + drivers/soc/fsl/qbman/qman_portal.c | 673 ++++++ drivers/soc/fsl/qbman/qman_priv.h | 290 +++ drivers/soc/fsl/qbman/qman_test.c | 57 + drivers/soc/fsl/qbman/qman_test.h | 44 + drivers/soc/fsl/qbman/qman_test_api.c | 216 ++ drivers/soc/fsl/qbman/qman_test_stash.c | 502 +++++ drivers/soc/fsl/qbman/qman_utils.c | 305 +++ include/soc/fsl/bman.h | 514 +++++ include/soc/fsl/qman.h | 1968 +++++++++++++++++ 38 files changed, 15336 insertions(+) create mode 100644 arch/powerpc/lib/devres.c create mode 100644 drivers/soc/fsl/Kconfig create mode 100644 drivers/soc/fsl/Makefile create mode 100644 drivers/soc/fsl/qbman/Kconfig create mode 100644 drivers/soc/fsl/qbman/Makefile create mode 100644 drivers/soc/fsl/qbman/bman-debugfs.c create mode 100644 drivers/soc/fsl/qbman/bman.c create mode 100644 drivers/soc/fsl/qbman/bman.h create mode 100644 drivers/soc/fsl/qbman/bman_api.c create mode 100644 drivers/soc/fsl/qbman/bman_portal.c create mode 100644 drivers/soc/fsl/qbman/bman_priv.h create mode 100644 drivers/soc/fsl/qbman/bman_test.c create mode 100644 drivers/soc/fsl/qbman/bman_test.h create mode 100644 drivers/soc/fsl/qbman/bman_test_api.c create mode 100644 drivers/soc/fsl/qbman/bman_test_thresh.c create mode 100644 drivers/soc/fsl/qbman/bman_utils.c create mode 100644 drivers/soc/fsl/qbman/dpaa_resource.c create mode 100644 drivers/soc/fsl/qbman/dpaa_sys.h create mode 100644 drivers/soc/fsl/qbman/qman-debugfs.c create mode 100644 drivers/soc/fsl/qbman/qman.c create mode 100644 drivers/soc/fsl/qbman/qman.h create mode 100644 drivers/soc/fsl/qbman/qman_api.c create mode 100644 drivers/soc/fsl/qbman/qman_driver.c create mode 100644 drivers/soc/fsl/qbman/qman_portal.c create mode 100644 drivers/soc/fsl/qbman/qman_priv.h create mode 100644 drivers/soc/fsl/qbman/qman_test.c create mode 100644 drivers/soc/fsl/qbman/qman_test.h create mode 100644 drivers/soc/fsl/qbman/qman_test_api.c create mode 100644 drivers/soc/fsl/qbman/qman_test_stash.c create mode 100644 drivers/soc/fsl/qbman/qman_utils.c create mode 100644 include/soc/fsl/bman.h create mode 100644 include/soc/fsl/qman.h -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/