Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp467302lqr; Wed, 5 Jun 2024 11:01:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVOW5e0faCs8Sv5yM+Hk9ZUeyf2mewTdO/sbgvZ0n/VHfjvvoD8gpN4PjaFUwhYwihnbH25H91AMxXZ01rGoWTXehb65FbpckxyvbEQYQ== X-Google-Smtp-Source: AGHT+IEVlZWQrPCDottjWgenFuV8BIBrZrwrn70NXxDenVhn6HbVExnAdrpRuaU/XnV9i8Sv0w8e X-Received: by 2002:a17:90b:110f:b0:2bd:d6cc:c305 with SMTP id 98e67ed59e1d1-2c27dd578bfmr2907279a91.49.1717610502458; Wed, 05 Jun 2024 11:01:42 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2806bc8b3si1632740a91.115.2024.06.05.11.01.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 11:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=rPJ40FBL; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-202991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202991-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7CCD2288021 for ; Wed, 5 Jun 2024 17:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D031194AFA; Wed, 5 Jun 2024 17:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="rPJ40FBL" Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2066.outbound.protection.outlook.com [40.107.8.66]) (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 87A22139D00; Wed, 5 Jun 2024 17:53:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.66 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717609984; cv=fail; b=POW2kobMrBqof6F7WXcRXsX7qGQqNEZsM/LErbr1EDjdM85TAmjTfXhroORlKPYMNwbbDo/3m5I73ucbqQpUf6oJJ5TJjH3LWg4j7YA2bDgcs75K19BEYi53k5kwlrgEU8+uTINAo4ZnAEtEA/MFA+eDCjZ5t2OeRTL103PMnyI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717609984; c=relaxed/simple; bh=dyya2tVWhpxGyzKXve4kL7kLTk9qvA/SLJPK7iUe5xQ=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=STJ1QyWs2K/9InjkA65S1rd55FCvx6hWOPxAOeu3rWTIWrf6nfx6F9LyQHpAmg8YGmqwcvNipiz9mQHa1Seadc3PVUvYwe76AxlWNdMMUHznCechSWtw3TfgEfC+vxsLGj1TsMn0N+qVI21onp6AWzRsjI4gjjVObgET9WwlijY= 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=rPJ40FBL; arc=fail smtp.client-ip=40.107.8.66 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=Clar/6THG5bDrLt4ouqCQWsJ0N1s4SB8by3A6Gb+waJVWn7oXLA6u7JcMXr23+E/ZAX7TDO11d080R0EW2Q+ofsU51UAMGaAN6Z/lBwaZrFw+a2wCzoO37NNZ/4XJ6CvZU47TkY32s4s7GmJsN50sg9U+OIKx8O2XylC4u6PZwU8oLWACj5tsEG5zF0Epv0NfZmps7pkCtjb/3i4Zx5ZdEnUMV4AXE9CayHPfo95jyRFQ32sCBzyaK/4p6RGVHPDMryJCVW0HlSTxQ//tQUq6D++S+iEcwXnXM5MGdOc4GgchyafDEpOVw1UwXSaB5YP44KuqYeHM6lFNgJsmIqmAQ== 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=c2MCWJHefvvplIk0ZxN9KujW5v9jT/VsYe8TtPCQZPU=; b=PMA2z2Bp7bSSrIzNeL4/tn5ALU8lCTkA2IyOsQ3K0E2k7dJYvLvuosc4+PFDJxiaNJ9rH6pSvserb2avIw9fNvKc5dAySXCtX1PE5WYdGCEtWHJNFWp2QPBPL5rDmDX9H4SAt7yG8DJw+M2m3Td8X9loUm+nU+2Pwy14V+r/dKIg8N3F3aP6ru6H/Q0HvfVHjI+wwiXFxLKDAsNQcMfHSF/t8M4+nE5KOL3mrETVeFQ2Yvd0eobHK+mr7BIICuSTlmO5L/N2DfQnc3iCz1iXkQeT8ugCdOcieiHjtjlNDBhLwgfq0CNleblKGBDln+wg22ZEawpZvtH73OG6BEl5dw== 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=c2MCWJHefvvplIk0ZxN9KujW5v9jT/VsYe8TtPCQZPU=; b=rPJ40FBLUcaOKDvW+YfHOwp08NmNeSh1foF5HwNHgSedMBq5JDpKR20O2SJmdKT8PSmodXZ/omndnCv7NRWUSYS5gvQzEbaLEmkQluGjdHugHL8ZRk0fQofHUXNATCsBtueCbjoRobA0W3T7gRHFf5iMYu+9jE8ODSgin4+Pdyw= 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 VI1PR04MB6959.eurprd04.prod.outlook.com (2603:10a6:803:139::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.25; Wed, 5 Jun 2024 17:52:58 +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 17:52:58 +0000 Date: Wed, 5 Jun 2024 13:52:44 -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, Stefan Wahren Subject: Re: [PATCH 06/18] dmaengine: bcm2835: make address increment platform independent Message-ID: References: <20240524182702.1317935-1-dave.stevenson@raspberrypi.com> <20240524182702.1317935-7-dave.stevenson@raspberrypi.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240524182702.1317935-7-dave.stevenson@raspberrypi.com> X-ClientProxiedBy: BYAPR21CA0015.namprd21.prod.outlook.com (2603:10b6:a03:114::25) 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_|VI1PR04MB6959:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e8fb22c-fb9f-42d9-2e97-08dc858855dd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|1800799015|376005|366007|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?smBGH0rG7FoxBn5y6mWW1lS6fMjUzeTyTNoyHdOrWZQ1hj43kaHT7TTV0owU?= =?us-ascii?Q?LkumNSlsQS/d7fbAJt/2lpo7c0s9kR5stN3CRC4d8Zu/vMLDy2ogxfvl5lp+?= =?us-ascii?Q?0tbwkLpR4hgh7xFybGqTllacIxw7/Fz5knz9Jx003ufU5/icG/7GOiUyenN1?= =?us-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BmkBBE4SeiRLpPjES9X8mCxiAiil?= =?us-ascii?Q?IcsvMPHj1tB8x7t+kpA6y5Xah+BijKsXnhxqbe/Y+GN4xGr05wpDM+EzyaFr?= =?us-ascii?Q?TcnyTBRlDpt4LufrKwwG+MxCWjJRuPkjAnH+cBPBhiqstyfJBhXNF/YLv3oV?= =?us-ascii?Q?ZTON6qIP3+DaxwEjzwI2nLLlkH+0LzNzfvWWqT/xQ/7k+ZsI9CVE1ijPjlhA?= =?us-ascii?Q?NQsgOC8X9A3YQBrRV46FjSdkyv/vT8cKYVEsZfg5b8Bk7JLVgQbtn4aKSuqj?= =?us-ascii?Q?JjXugKlZIH3cYk9cs9mFe/C04B4F9CqKWzW7YcZuLFtLvgq+i4qsk1Q/NVuM?= =?us-ascii?Q?oBOJK6Q=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)(52116005)(1800799015)(376005)(366007)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?s73sUocWUyyeHMwr8FAxVLAuQCDl+/eHfu5G2w/bftUyYk/8AR3YDYTg3rhZ?= =?us-ascii?Q?4QcGPFAGD/HKfo4OT0UXSDfKard1pHHmR3VWEN578ZPge0XQzJy3wVY+6i7X?= =?us-ascii?Q?Vqn17+fWxhj5i/zqTBUHPVLlsGQBfSBslk2wKURNV272GOaG2+lxGxiDOn4K?= =?us-ascii?Q?q6Yw9RW76fMEbKXaTLeQr5n4LWi5UNOoM4QDUOnXoPIi/R7yACnG4CRIe1FW?= =?us-ascii?Q?u8P5wkOAAJ34GJMCoUD6NSqBZuT/+odEvep08LMEiC+TGpXYvdusiHKBmtGr?= =?us-ascii?Q?cDWUlgHoZ87vmYugMgrXAcPp0s6Uc9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w+Q95IN4?= =?us-ascii?Q?LNERUs6rC7MlJl0Idfz0oFlHQ6y/hjs0Y1yBhCcTdv75U0dIWfu0hA4YZ2Rx?= =?us-ascii?Q?GnCbxcaaZTKwi5OIg8RprNUOo1GQk9SiZj9BM2w7jWkpdKVt1VNPVnGuvbyI?= =?us-ascii?Q?i2ZuPEtAGYEJbBSbAAqeGfT9cLfbikSN2fFTnJHvVrFlOkSRhuL2rmyKfnMo?= =?us-ascii?Q?RDGFATK+9LCFDn/wvHEGC9J6+ryZLNEPzVMoA/IaafrkIW6qr6xARin2KySu?= =?us-ascii?Q?S65mh9ofUB3HdaO/LkDxADJ4BJh4ki2GRCeNwNI3GllhMK7Xu5E/0uRzpLuc?= =?us-ascii?Q?6048hmPXhndftAjTr4TXR4/393Y9ZStYgT4lZK4d0eNp/YyZrEWmpcqGROAO?= =?us-ascii?Q?qK2gsSg48oVSyPOwZITYE1Q7nntGlfxJgNi7OaFt?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e8fb22c-fb9f-42d9-2e97-08dc858855dd X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 17:52:58.3437 (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: qPo0VB6l8VmR+6P6Ah3GALj5FREQR7aO88mH8Nr+k3uJNTlw0Fdx9QRCDovXfvsbxmdaz+JZmHt+ex6IhaaXHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6959 On Fri, May 24, 2024 at 07:26:50PM +0100, Dave Stevenson wrote: > From: Stefan Wahren > > Actually the criteria to increment source & destination address doesn't > based on platform specific bits. It's just the DMA transfer direction which > is translated into the info bits. So introduce two new helper functions > and get the rid of these platform specifics. > Fix increment source & destination address depend on the platform drvdata. It should be depend on dma_transfer_direction. look like it is bug fixes. Can you add fixes tag. > Signed-off-by: Stefan Wahren > Signed-off-by: Dave Stevenson > --- > drivers/dma/bcm2835-dma.c | 28 ++++++++++++++++++++++------ > 1 file changed, 22 insertions(+), 6 deletions(-) > > diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c > index ef452ebb3c15..d6c5a2762a46 100644 > --- a/drivers/dma/bcm2835-dma.c > +++ b/drivers/dma/bcm2835-dma.c > @@ -252,6 +252,24 @@ static u32 bcm2835_dma_prepare_cb_extra(struct bcm2835_chan *c, > return result; > } > > +static inline bool need_src_incr(enum dma_transfer_direction direction) > +{ > + return direction != DMA_DEV_TO_MEM; > +} > + > +static inline bool need_dst_incr(enum dma_transfer_direction direction) > +{ > + switch (direction) { > + case DMA_MEM_TO_MEM: > + case DMA_DEV_TO_MEM: > + return true; > + default: > + break; > + } > + > + return false; > +} > + > static void bcm2835_dma_free_cb_chain(struct bcm2835_desc *desc) > { > size_t i; > @@ -336,10 +354,8 @@ static inline size_t bcm2835_dma_count_frames_for_sg( > * @cyclic: it is a cyclic transfer > * @info: the default info bits to apply per controlblock > * @frames: number of controlblocks to allocate > - * @src: the src address to assign (if the S_INC bit is set > - * in @info, then it gets incremented) > - * @dst: the dst address to assign (if the D_INC bit is set > - * in @info, then it gets incremented) > + * @src: the src address to assign > + * @dst: the dst address to assign > * @buf_len: the full buffer length (may also be 0) > * @period_len: the period length when to apply @finalextrainfo > * in addition to the last transfer > @@ -408,9 +424,9 @@ static struct bcm2835_desc *bcm2835_dma_create_cb_chain( > d->cb_list[frame - 1].cb->next = cb_entry->paddr; > > /* update src and dst and length */ > - if (src && (info & BCM2835_DMA_S_INC)) > + if (src && need_src_incr(direction)) > src += control_block->length; > - if (dst && (info & BCM2835_DMA_D_INC)) > + if (dst && need_dst_incr(direction)) > dst += control_block->length; > > /* Length of total transfer */ > -- > 2.34.1 >