Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1229728iol; Fri, 10 Jun 2022 03:08:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwveSXMeGDs7r3TU9YkJ5PXmpDoTEb5n3J4RfGxkEFWMNyVOj029a0Rs9FcMA1wSAYDe5jz X-Received: by 2002:aa7:c14b:0:b0:42d:d763:104 with SMTP id r11-20020aa7c14b000000b0042dd7630104mr50775169edp.104.1654855722248; Fri, 10 Jun 2022 03:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654855722; cv=none; d=google.com; s=arc-20160816; b=Y7TAZ4trIREKDfWWW92snIhI6DIZNyn3w0U246fVuhjQMULy5cV6YS/I5bRgNOJFe0 ricSCD9fnncTAbTb1A/Bk5Sa+gOBPRknWGBjyeIQi4tbossN1PGoksIhkLYlHHVROQ93 MULz7miltSjRNcifBboz4W6BCBKbhvMrLMer9Wb8ah2VoczYjeQLFLJsdzs/rKNH7JI+ GHLRH34/kUADZ9E3w3QQC1OoySfamLYrwu11FWsIF2pXynMaGLOBr70lHVbjvo+l4UXe yk4oVws1SD3XElvKxZZJsdDQ7KI96Ci5VlkJlK+PPyW9jP1kIQ4Kn7uZv3o9d3q+L8Nw Iy0w== 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:dkim-filter; bh=jdEFSqG6aoMObiat/d/ABAKCDMCthhWtDmNFbKuYowg=; b=et7ywbMomhsLBzKiGYF5rEN7QI2M75SBuF+DAvlwyjLtBNMikstuiKrIvyJxjQ0DLZ Jdndga+EQcCi2xoQv6kb0cpLAJnmwwHw6yieeYVg/j6pVFPbGaSc/AbFeRlP4pbRxm20 ac1Mf4MCUKyEDwMpp6IobwLanddNaT/HbaIXPd/lC97rbVWUfaL0yaZD2UMMvWLNO7R4 mS2RUH9wZGysZRx1TaIvQWg6S59udj10F4vrlrPROpBeKK90vnCDZ55B+9NqfzlmDcHQ d92NqTS4sLj7cVIbEhvqaJ9uN/wLMJWo4ys+dDLL5RjZcI1L4CnAncwS51N1RuR3FiEk ECvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=mail header.b=rRp2f39I; 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 qw28-20020a1709066a1c00b006f3a0b4e2basi7956453ejc.614.2022.06.10.03.08.15; Fri, 10 Jun 2022 03:08:42 -0700 (PDT) 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=mail header.b=rRp2f39I; 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 S1348761AbiFJJQU (ORCPT + 99 others); Fri, 10 Jun 2022 05:16:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347543AbiFJJPM (ORCPT ); Fri, 10 Jun 2022 05:15:12 -0400 Received: from mail.baikalelectronics.com (mail.baikalelectronics.com [87.245.175.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 014C71D1053; Fri, 10 Jun 2022 02:15:09 -0700 (PDT) Received: from mail (mail.baikal.int [192.168.51.25]) by mail.baikalelectronics.com (Postfix) with ESMTP id D110216A1; Fri, 10 Jun 2022 12:15:57 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.baikalelectronics.com D110216A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baikalelectronics.ru; s=mail; t=1654852557; bh=jdEFSqG6aoMObiat/d/ABAKCDMCthhWtDmNFbKuYowg=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=rRp2f39IYk8oOdmgz1RAwZSwXfv3tiPMsJu76QmFEZmRo0pj22DjTKrwr6X/1AMy4 YGiXkch8AOw3UiInOtNjavBfOMmwZROfoddkl/Jxw2PeKIX5gqKyasX7CP00evoNwE mrEiiOOI19BBQwMEhzuubQBKUCgRLaJA27ynJL0E= Received: from localhost (192.168.53.207) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 10 Jun 2022 12:15:05 +0300 From: Serge Semin To: Gustavo Pimentel , Vinod Koul , Rob Herring , Bjorn Helgaas , Lorenzo Pieralisi , Jingoo Han , Frank Li , Manivannan Sadhasivam CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , , , Subject: [PATCH v3 01/24] dmaengine: Fix dma_slave_config.dst_addr description Date: Fri, 10 Jun 2022 12:14:36 +0300 Message-ID: <20220610091459.17612-2-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20220610091459.17612-1-Sergey.Semin@baikalelectronics.ru> References: <20220610091459.17612-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 --- 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 842d4f7ca752..f204ea16ac1c 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -395,7 +395,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.35.1