Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp198496rwb; Wed, 14 Dec 2022 16:05:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf6lTdHIzhi0VJfzvXpaNppKyusCWjjHUOQaf7IgqcxNUl/ypowIKTDQVEe0Qk4U5Vce4HC1 X-Received: by 2002:a17:906:7808:b0:7c1:61a6:2cd2 with SMTP id u8-20020a170906780800b007c161a62cd2mr15489600ejm.9.1671062728390; Wed, 14 Dec 2022 16:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671062728; cv=none; d=google.com; s=arc-20160816; b=JQbUfq8yCrr+zdOaHOZF0fn0ZGx5vI+kYqMlIAIx4QR7iQt7h98vkAY+DiyWJ1UzXk fETomG0bfNvivsU1SAp+fH7NX7dTIRvyyfW7eQxUP0ZWSoV0HccV1b93nO+lzuRg0U8T +br7nCyKz3xIse28N2lXbppeLLATvmK57n4zCjSMDK/0ITjOFB4FTcF1DpPRd/+bNTJm Xd1BGSX+1PxVB3id7JfPCOLcj2huCeh6x9wEGqJvDBnyXgX37HrkYr+mC2HPbQIPnzl0 MI5vlupeeAE1KnESASL6X2HPV2Ujx2qZ4iyuCsCKjjveWUwSw0efohxN0k0cCp1E4KOK S34Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=h43jggFkHbpSKEdtfUv/QU5I7Y2qMI4tAlStsWepeHc=; b=rgn8LhFTw0+37h34Q5aoHFjegeS84m3kmyRPCCrDUf9/TdBw+cmUOqtCSJ/BkLjF8I eGV/t32YqPnn0fIik6ZqkBj34i31dRrFw+S23lujrR3g54QCczkS9kxsRDKPk7i1yiLT LZwZADSA9KLvAGSc+uBH3tv8IGpFvnswEk0nG7un1vYgNMkFac3OAmxpS8guhl10HUT1 HmS9S4pjZgPc7vD7rfuMy80K6rnrKwwIfbWZAOklfYFJZDTfDwjhQvL78Yelegwglu5c QoMCpBkfpSB0l9Z7Yar1PZlhXgzatAJsmY6r51lkxOK6aidiqhSI0nCEQLg8MsaMtgib qCag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=Hak2QjM5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=baikalelectronics.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020a17090655c800b007c0905bab0asi9563960ejp.311.2022.12.14.16.04.58; Wed, 14 Dec 2022 16:05:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=Hak2QjM5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbiLNXx3 (ORCPT + 70 others); Wed, 14 Dec 2022 18:53:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbiLNXxN (ORCPT ); Wed, 14 Dec 2022 18:53:13 -0500 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4101048754; Wed, 14 Dec 2022 15:53:09 -0800 (PST) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 623E3E0ED5; Thu, 15 Dec 2022 02:53:08 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=h43jggFkHbpSKEdtfUv/QU5I7Y2qMI4tAlStsWepeHc=; b=Hak2QjM5p12G bQRIn79KDGfOTZbcMa1FPqsPEn7r9/r7G0j6SziqGyTOxgtApx236cfhWb6E1DcC YEXcW1Q6G0FAFcWJ76sS6JPVANYOfRRbqMDn8Sz1kVkMH2u7vKPdWGhD1kiIddSc gsQqHYdYPGboN4EYPvH/Yh7hbYt3YeQ= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 519F3E0E6B; Thu, 15 Dec 2022 02:53:08 +0300 (MSK) Received: from localhost (10.8.30.6) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 15 Dec 2022 02:53:08 +0300 From: Serge Semin To: Gustavo Pimentel , Vinod Koul , Rob Herring , Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Robin Murphy , Jingoo Han , Frank Li , Manivannan Sadhasivam CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , caihuoqing , Yoshihiro Shimoda , , , Subject: [PATCH v7 01/25] dmaengine: Fix dma_slave_config.dst_addr description Date: Thu, 15 Dec 2022 02:52:41 +0300 Message-ID: <20221214235305.31744-2-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221214235305.31744-1-Sergey.Semin@baikalelectronics.ru> References: <20221214235305.31744-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.8.30.6] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Most likely due to a copy-paste mistake the dst_addr member of the dma_slave_config structure has been marked as ignored if the !source! address belong to the memory. That is relevant to the src_addr field of the structure while the dst_addr field as containing a destination device address is supposed to be ignored if the destination is the CPU memory. Let's fix the field description accordingly. Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam Tested-by: Manivannan Sadhasivam Acked-by: Vinod Koul --- include/linux/dmaengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index c923f4e60f24..0c020682d894 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -394,7 +394,7 @@ enum dma_slave_buswidth { * should be read (RX), if the source is memory this argument is * ignored. * @dst_addr: this is the physical address where DMA slave data - * should be written (TX), if the source is memory this argument + * should be written (TX), if the destination is memory this argument * is ignored. * @src_addr_width: this is the width in bytes of the source (RX) * register where DMA data shall be read. If the source -- 2.38.1