From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1B3DC10F00 for ; Fri, 5 Apr 2019 14:41:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 938C0218A6 for ; Fri, 5 Apr 2019 14:41:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j7U6h0us"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="YBnTKNbB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 938C0218A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:Message-ID:Date: Subject:To:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GhIjKBMNu/JaB25EE/Eme+nI94ib7DDQEvAkWIEqyF8=; b=j7U6h0usmvE6jy RWThrZgoRfTLZkIPKIM7hYKyIPMZCH4QO9/NBOpszoeVMo5YqeKNyayX4DyHTzO0rzuQaI4k4Sdmb hYpJa5dpcbr8F9hqc78iykD59adfxika7/vcF3Azp5B/abayLN5utsbGh15sLRwQK5YP2Dvkrk8EN eX+5ZoZR7ShTEpHtaEwcKM6AxqYdy9rr6rw+wU1nXS9sU/drdhce7U3QWbn50hDAU+eFX9jUClEYG MnD26UlVjXgFecX80HGGvMSq6I/2V+CD1qiPhGLA+uDm+m8uQPvd83RoYJsOQ0H39BHaYFNOIAWRz 4x5RnHbPEAYm2ayY0Yew==; 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 1hCQ1x-0002VN-6q; Fri, 05 Apr 2019 14:41:21 +0000 Received: from mail-eopbgr20043.outbound.protection.outlook.com ([40.107.2.43] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCQ1t-0002UB-EX for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2019 14:41:19 +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=/TIXsyknO/vrmlrqvap11iuJFWe0GSysbAW9tyzzk7I=; b=YBnTKNbB5QcMBf1b9yjOJFJgLL90f27mtFNuDZSjS9I3G7nYV28pemwCM0f9DSOcA9+IGQFAaNuTcb7Vd6ISQARXBbGLocmKEd2XvItbspDLRigHrgtTt5qsOMCgK1ONKU7EvYxfhSZHuiGGH2sANhZ5HCGkyIWGd9/5mSzUgQ0= Received: from DB6PR0402MB2727.eurprd04.prod.outlook.com (10.172.247.10) by DB6PR0402MB2870.eurprd04.prod.outlook.com (10.172.248.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Fri, 5 Apr 2019 14:41:09 +0000 Received: from DB6PR0402MB2727.eurprd04.prod.outlook.com ([fe80::18a2:3eae:e7c:4d42]) by DB6PR0402MB2727.eurprd04.prod.outlook.com ([fe80::18a2:3eae:e7c:4d42%5]) with mapi id 15.20.1750.017; Fri, 5 Apr 2019 14:41:09 +0000 From: Roy Pledge To: "stuyoder@gmail.com" , Laurentiu Tudor , Leo Li Subject: [PATCH v2 0/2] soc: fsl: dpio: Add support for memory backed QBMan portals Thread-Topic: [PATCH v2 0/2] soc: fsl: dpio: Add support for memory backed QBMan portals Thread-Index: AQHU672bycR9r5FSNkKRXvfe1VcPhw== Date: Fri, 5 Apr 2019 14:41:09 +0000 Message-ID: <1554475256-4805-1-git-send-email-roy.pledge@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: SN4PR0501CA0114.namprd05.prod.outlook.com (2603:10b6:803:42::31) To DB6PR0402MB2727.eurprd04.prod.outlook.com (2603:10a6:4:98::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [72.142.119.78] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 54bfc088-5bcc-4629-9be3-08d6b9d4bdf7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:DB6PR0402MB2870; x-ms-traffictypediagnostic: DB6PR0402MB2870: x-microsoft-antispam-prvs: x-forefront-prvs: 0998671D02 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(396003)(366004)(136003)(346002)(199004)(189003)(305945005)(25786009)(44832011)(486006)(66066001)(14454004)(2616005)(478600001)(476003)(110136005)(26005)(6636002)(50226002)(71190400001)(6436002)(86362001)(316002)(4326008)(186003)(5660300002)(54906003)(71200400001)(6506007)(386003)(256004)(36756003)(3846002)(6116002)(6512007)(2906002)(53936002)(97736004)(8936002)(3450700001)(43066004)(6486002)(7736002)(2501003)(81166006)(106356001)(68736007)(105586002)(81156014)(99286004)(52116002)(102836004)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0402MB2870; H:DB6PR0402MB2727.eurprd04.prod.outlook.com; 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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Cet4GOMXmMiKuLbVt6DZ7ITqJLBPnltEOO949+QXIhvHEVZhE9Xzutjy2EZP02oMs/TjVI1KvSalvsR5/5aGFmlPLmtbVgrO+J/V4vFFdvpexNAcMRvfHF1pcgcMlkYGoWP36Pv5wnePzhNQVfdddFA3mX7ZHIjlhosHq79af2Le5RV0saoqHjGRbEnovCoW6wQPGEcUShcPDQbsN6CnAw5X93yhqA/QqrfXd/CYLj8Qa5Yhf/S3mCIZbytaXxQNbx5w5GG8rm6hPY38D+iNTlnsbDTDSzi1vF8VAsRAbXyFNISIJbEKCpQBqnDgF2arqGAG7FUoMu1RflP3eOQYYk3S+2lvrYzlB09alzYdwlu0/B/ut1OsspbDNf52hW/qf0oIKtZgpVMmWxmK/7VVZRGJ49uE1Js5WjwWeeUKq8E= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54bfc088-5bcc-4629-9be3-08d6b9d4bdf7 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2019 14:41:09.5324 (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-Transport-CrossTenantHeadersStamped: DB6PR0402MB2870 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190405_074117_735714_4ACB0247 X-CRM114-Status: UNSURE ( 9.88 ) 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: , Reply-To: Roy Pledge Cc: Roy Pledge , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds support for QBMan memory backed portals which is avaialble in devices containing QBMan verion 5.0 and above (for example NXP's LX2160A SoC). Memory backed portals can be mapped as normal cacheable/shareable memory which allows the portals to migrate between cores without needing manual cache manipulations by the CPU. The patches add support for the new portal attributes in the fsl-mc bus drivers as well as modifying the QBMan driver to use the new portal read trigger mechanism. Changes since v1: * Support older DPRC command in case of older MC firmware * Fix issue with padding in command Roy Pledge (2): bus: mc-bus: Add support for mapping shareable portals soc: fsl: dpio: Add support for memory backed QBMan portals drivers/bus/fsl-mc/dprc.c | 30 +++++++- drivers/bus/fsl-mc/fsl-mc-bus.c | 15 +++- drivers/bus/fsl-mc/fsl-mc-private.h | 17 ++++- drivers/soc/fsl/dpio/dpio-driver.c | 23 ++++-- drivers/soc/fsl/dpio/qbman-portal.c | 148 ++++++++++++++++++++++++++++++------ drivers/soc/fsl/dpio/qbman-portal.h | 5 ++ 6 files changed, 199 insertions(+), 39 deletions(-) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel