Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp480425lqr; Wed, 5 Jun 2024 11:23:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsYqkezklaJQm6s9GwFDBBvztJqrjrDFdk9hPIgZ07L36Hh2x70c7Ot+Vi1mJio124ubl/3WEVgTzWOgn4Of/anAsAmD8kfEDbM9etcg== X-Google-Smtp-Source: AGHT+IGMHi7IajyRzoZOnzCu9pf9gZA+XVmuLcaYWdz3Vcz1T4SY/1uFw4AQWW2u2f4lxcD7cVn+ X-Received: by 2002:a05:6359:45a9:b0:183:4d1d:dcaa with SMTP id e5c5f4694b2df-19c69a94f33mr389769055d.3.1717611798394; Wed, 05 Jun 2024 11:23:18 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b00507ae0csi3422016d6.251.2024.06.05.11.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 11:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=G2l0SHkf; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-203053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CFF671C23D2B for ; Wed, 5 Jun 2024 18:23:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22B3044377; Wed, 5 Jun 2024 18:22:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="G2l0SHkf" Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2047.outbound.protection.outlook.com [40.107.20.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04BEE19D8B0; Wed, 5 Jun 2024 18:22:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.47 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717611763; cv=fail; b=AzLUG+/ClAoZOhpjn7TIniSL3F4W9GLlBg6t5dMC+umORQ1BcDRu49c+RCOMVSTVgVqjPXvyGw1JePbu7w2iOXRddx25q4xljiNT+1N9PBC5C1dSozkiXJZ1Lgo28Msu14GFYJ6Ykv9+PyV5JJLeUosDvLBh9L3b4V8x2lEjCBo= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717611763; c=relaxed/simple; bh=pAuM4g62PTzr00rysvD9uuvhskjQmLhFCvZNQ/yuX+0=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=Mneis/s/KY6Rw/3DzlUSOs/M07Yjj1mjQPTE01JgegUTR1Y1Vvf1rE7O/10U5GofExbDt8aA/sYqsiAwTf+Bu2KNFtKfRnsPZqDOfYyuU4etJ8PbsUTYT1F+gn43Oyj2cty5wNckW7VrTujYFS1/Au951hMRqD9CupdGtZhUmvo= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=G2l0SHkf; arc=fail smtp.client-ip=40.107.20.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N5J+HklMf5iRbaIGS/UjY5X/WovhGVHiv8o1t6J0j7L7QZ+jgRuSvA/mx25drQGdSd1Fra9vpaMz4Do5QF1079vlOawqQzHjYQNudO5SolYIM1K9aBExzefqwYxyYP432+/LcxxJ5nQ4hSseohl6Qd2cZSdzAchSe3perJg+H2b+GUMGKxLgKMUgbxAd/VUBlvVVedre535y2ze7+uU8trC/jBrV3qgnB7G+QUU08d3w9bNMCPWIsljriL2y3zTZs5UL3f5fOE/APMOeWVNXeQp1ftQZAzOTC2H9RltUVd3r2/p/gnLHJIMt+WOSA1RGEHtJfG2Y7DJ4dRinaLzqGw== 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=5dszcuq6HlSwdoLPPVVZg9vO5F4GpLQisiHO35fj5OM=; b=UsJEVcGE26RF2M06csPu/13iytrvAhANqwzjlO8GQpz9dPRDhSEM1O3ltGMIehMlwTVmYZQ8CUtrc50TuPx3YWQIx4nLhiSH/vK2A7x7Buhuqj13tv5Yw/lpmh/IPrDD1LzySu2GkoJyNRM0JIZrZ31Bruvb0VxVuu75aoqQNje9QVGevnnpMXzhzgpqeystnDnR6EUH9Yy1XcFX1n+IL/W+u+Vw4Z+Nt2D0xGn+Omc8E7NZmbX2OScspi6pzF6k5bu9KGz6rCWlY4Ca2/D2p/Nph/bHDz6zJ2K6if9RH878i8qkqo4VWiMn3TmAIsEY0WCYUQtTHB6AFvBTAJSNZg== 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=5dszcuq6HlSwdoLPPVVZg9vO5F4GpLQisiHO35fj5OM=; b=G2l0SHkfQ9bzoI6k/lnTCATL425h+PHcjtgCqDkuK4GGDkL9pf745uOvav+8MaD1WbFe2x4p/E8OpH4hFTHyd4gJrfJ3AGB+ZEYrU7xJHFyix+b6ExS6UAdg2j90BIoYqiUDN8tHt+fHy5oRJA6iQW1E/IBrbbAR4zR+uhBdTvI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AM8PR04MB7378.eurprd04.prod.outlook.com (2603:10a6:20b:1d8::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Wed, 5 Jun 2024 18:22:38 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7633.021; Wed, 5 Jun 2024 18:22:38 +0000 Date: Wed, 5 Jun 2024 14:22:26 -0400 From: Frank Li To: Dave Stevenson Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden , Vinod Koul , Maxime Ripard , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Ulf Hansson , Mark Brown , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Vladimir Murzin , Phil Elwell , Stefan Wahren , Serge Semin , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mmc@vger.kernel.org, linux-spi@vger.kernel.org, iommu@lists.linux.dev, linux-sound@vger.kernel.org Subject: Re: [PATCH 11/18] dmaengine: bcm2835: Use dma_map_resource to map addresses Message-ID: References: <20240524182702.1317935-1-dave.stevenson@raspberrypi.com> <20240524182702.1317935-12-dave.stevenson@raspberrypi.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240524182702.1317935-12-dave.stevenson@raspberrypi.com> X-ClientProxiedBy: SJ0PR03CA0222.namprd03.prod.outlook.com (2603:10b6:a03:39f::17) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM8PR04MB7378:EE_ X-MS-Office365-Filtering-Correlation-Id: ee335081-7f73-46c4-ee67-08dc858c7b1e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|52116005|1800799015|376005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?jEu1HeoW81K22zWPJMBYFQJzKFdf+sePOw2jbV13WyNLoBf79CnKSSVktywi?= =?us-ascii?Q?PZX7n5lBoLz5khxFouiieeeFac/FJQQK8g1HmUoKdpBYRFP2wbgprfH1rE5S?= =?us-ascii?Q?JsR6gtYYvuubLs5mVKfME6cHBM6jFqX/8vvIUJyCgnnbwZmjdwGX6L2IGFjq?= =?us-ascii?Q?kw6TnVaGVlksbrd3vpEK5GV+4iWDWqYPID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pFGOTgDPEsyDteb5+q+nbEsnMbPO90StJcAm3pE9ORGMUbL?= =?us-ascii?Q?xRVYAPMrBDOK75fKKQRHfC9Snlu0tdxE9T285+vhgv6U7Ye34OJwngTsyPTh?= =?us-ascii?Q?/A11kbRzaypeHru916rZxhuj5GKEwlOUX9Vjs9lU7K4gJt9jPD9ObrBsg/W8?= =?us-ascii?Q?6j/dh5t0f09bybV5Ilb9XXmnmFfarI2trlv+PGQRLPuo3VrJGuafzzvHs4M8?= =?us-ascii?Q?9MZBjZ/QwXX5fdZ0YwIUDSNbErsDDqOFrXKVjhM3caxN5VY6IAlyDu4qPG9q?= =?us-ascii?Q?pH1KS50=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(52116005)(1800799015)(376005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?EsHZZk1v/j4K0xpMr/cxKXohbw4rAclPgFRVzRAVzH0JV6LD6kEv5EmEDv8u?= =?us-ascii?Q?BYSI2hKV/HOyyiSc/GN7lv9/372JzVSKRmtuQZ8R9SZPM9XprEV++ilXugsu?= =?us-ascii?Q?McxJRM8mXfp2RMqnz5AQIXG5aYYKQ7B5PnOoSP9IthbMT7icqdUMPFtPoS5y?= =?us-ascii?Q?eQsuN3ldG8WOchwa/4/VsevWU2F6USbdnNhNBNspINnrr196LlnHD3ppJHHI?= =?us-ascii?Q?qqSKeE9gwytUJ45+P4gJucWxo1kNRvqV4Ak4JiD9MpPbNVg012qnApY7diO5?= =?us-ascii?Q?d/+QlrjRxsxtOY7W1Kg1gkfBeJD7DanV3MwKFzH3RUNF+QMCSIecPiO8EZHA?= =?us-ascii?Q?hjZMVlYLmi8fhfxYUsJlhoUn+kG2YM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= =?us-ascii?Q?13F/i5SRjNzFdpd0fr7w1DuMaEjnPVGHI2h63K7weZX4CiwGa+GFGy+5gY2P?= =?us-ascii?Q?ruLPj1CdFhYDqaDpNB3wNeqv98O2rlt4A0HiwhBAt1i0dE4WmZ0doyEhmowd?= =?us-ascii?Q?dojMOiejq9wjz9ZUzouiy3VaxAi9G2Px2NrSPBivmQkOZIDrtfRBeMooNxQg?= =?us-ascii?Q?xCYv7+ZU/RiL9xqwb7rhsxlwffXCxPUWjny/l++cxD8j/24Xajj8n6kMi5zV?= =?us-ascii?Q?JraIxq712bAeFchcd14d+R1K9cm5jTDcIBhHANZXPFleY6+zpCao1EHg0Mh/?= =?us-ascii?Q?wDNgItvxYFuchrdSIJirE5AJROtP/QCG+Jo5PrLK?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee335081-7f73-46c4-ee67-08dc858c7b1e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 18:22:38.8915 (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: TmDCPB4NuqXvRzhGTNC1KD/krwkB+MBAzbvpIAIYMCu1vtW2dHfLrJCigdMxb3tNbJ2ny+aD+MM2KSrOw0f5eQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7378 On Fri, May 24, 2024 at 07:26:55PM +0100, Dave Stevenson wrote: > There is a need to account for dma-ranges and iommus in the > dma mapping process, and the public API for handling that is > dma_map_resource. what's means? > > Add support for mapping addresses to the DMA driver. > > Signed-off-by: Dave Stevenson > --- > drivers/dma/bcm2835-dma.c | 46 ++++++++++++++++++++++++++++++++++----- > 1 file changed, 41 insertions(+), 5 deletions(-) > > diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c > index 9531c0b82071..e48008b06716 100644 > --- a/drivers/dma/bcm2835-dma.c > +++ b/drivers/dma/bcm2835-dma.c > @@ -67,6 +67,10 @@ struct bcm2835_cb_entry { > > struct bcm2835_dma_chan_map { > dma_addr_t addr; > + enum dma_data_direction dir; > + > + phys_addr_t slave_addr; > + unsigned int xfer_size; > }; > > struct bcm2835_chan { > @@ -294,12 +298,44 @@ static int bcm2835_dma_map_slave_addr(struct dma_chan *chan, > return 0; > } where umap function? I suppose you should unmap all when terminate chan or free chan by client driver. > > - /* > - * This path will be updated to handle new clients, but currently should > - * never be used. > - */ > + if (dev_size != DMA_SLAVE_BUSWIDTH_4_BYTES) > + return -EIO; > + > + /* Reuse current map if possible. */ > + if (dev_addr == map->slave_addr && > + dev_size == map->xfer_size && > + dev_dir == map->dir) > + return 0; > + > + /* Remove old mapping if present. */ > + if (map->xfer_size) { > + dev_dbg(chan->device->dev, "chan: unmap %zx@%pap to %pad dir: %s\n", > + dev_size, &dev_addr, &map->addr, > + dev_dir == DMA_TO_DEVICE ? "DMA_TO_DEVICE" : "DMA_FROM_DEVICE"); > + dma_unmap_resource(chan->device->dev, map->addr, > + map->xfer_size, map->dir, 0); > + } > + map->xfer_size = 0; > > - return -EINVAL; > + /* Create new slave address map. */ > + map->addr = dma_map_resource(chan->device->dev, dev_addr, dev_size, > + dev_dir, 0); > + > + if (dma_mapping_error(chan->device->dev, map->addr)) { > + dev_err(chan->device->dev, "chan: failed to map %zx@%pap", > + dev_size, &dev_addr); > + return -EIO; > + } > + > + dev_dbg(chan->device->dev, "chan: map %zx@%pap to %pad dir: %s\n", > + dev_size, &dev_addr, &map->addr, > + dev_dir == DMA_TO_DEVICE ? "DMA_TO_DEVICE" : "DMA_FROM_DEVICE"); > + > + map->slave_addr = dev_addr; > + map->xfer_size = dev_size; > + map->dir = dev_dir; > + > + return 0; > } > > static void bcm2835_dma_free_cb_chain(struct bcm2835_desc *desc) > -- > 2.34.1 >