Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1396109rdh; Fri, 24 Nov 2023 11:28:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IH91zVHb+U8KWAKvG5uMbEWcbNqvukg3slhAiIKgdyzx2yiIexCoSg1OTY1NdNczB2roPSP X-Received: by 2002:a17:903:110e:b0:1cf:51f9:197b with SMTP id n14-20020a170903110e00b001cf51f9197bmr5567865plh.23.1700854101712; Fri, 24 Nov 2023 11:28:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700854101; cv=none; d=google.com; s=arc-20160816; b=QlobCR8FhC8Nli8YqB81oRXsCnAqw7p+5oB5TtFrWvH744qGfvc7XsTOvfbfK7Xehq NzLE5+hym09U3AduB1JMKt796JSqbjrML3w3TmR/zYxTWjkP19oVygW2nLhv9AOf3330 yc8vLhC3itP2Qj6+a/jLHZ+Buh6WfRjRUjxTUAlcQy/f2PtAk05M2eDAlbp4f4TbJOg2 HGatszus1sfOyrZk5GoWbo+T1i1sHGYFYwJA1ZoYTLp+mDc5cqYAZvfMEhqZ0dTNqBXv FM9cOWAdqe6G9BLQ+LKjCV0bhmGi34G/923HXsmLFWsp/KyVdAowNTbb7tefTFICCDh4 vUCg== 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=H3UOebWbztiN0l07oDLxMwZHegqQNqhnZ63Q4IX1xxM=; fh=5oQXmq3tgP56Sn2YSHNFNW/thZW9bzO7oAoCayAstmg=; b=APmHZrnvja37ruecgbQNUlvXBKnxPHytHQOjiPbeI5BMbMtMiV2qfQ6uPPdBzKlXqu +t1R9lGNA60HDX3l+kyaSwhNDzD1nOgcz5vAdwZ3ijpDLdyzl/Qy6oYEiveWoWogOICt UMZgs4ZJti1NfEY590usmvyMq7DB7ky+luw3gpWBS4i/Y6Bm7SLGRpX2EOzsFGIzAzpZ 7rsF9w9ODmavHls0/eCmZOxhxRiVIAz6Dru3L0B09Xjc5bzj7VVBGbQXfWaJQ+A035pS ibpl2qroiPK2QjAG5GVnnkjBuVobeVR3We5MeStcmdkuDQ5TVGzZOC7hI1tXlrgjMqOz TAYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alatek.krakow.pl header.s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3 header.b="sx/kn3UN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alatek.krakow.pl Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id h23-20020a170902ac9700b001c9e75f87edsi3936425plr.152.2023.11.24.11.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 11:28:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=fail header.i=@alatek.krakow.pl header.s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3 header.b="sx/kn3UN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alatek.krakow.pl Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id ECEC083D0AA0; Fri, 24 Nov 2023 11:27:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345941AbjKXT0f (ORCPT + 99 others); Fri, 24 Nov 2023 14:26:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346033AbjKXT0c (ORCPT ); Fri, 24 Nov 2023 14:26:32 -0500 Received: from helios.alatek.com.pl (helios.alatek.com.pl [85.14.123.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 823BD384D; Fri, 24 Nov 2023 11:26:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id 8B33E2CE00D8; Fri, 24 Nov 2023 20:26:36 +0100 (CET) Received: from helios.alatek.com.pl ([127.0.0.1]) by localhost (helios.alatek.com.pl [127.0.0.1]) (amavis, port 10032) with ESMTP id 3Wyw9UDK6470; Fri, 24 Nov 2023 20:26:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id 31E232CE00D5; Fri, 24 Nov 2023 20:26:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 helios.alatek.com.pl 31E232CE00D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alatek.krakow.pl; s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3; t=1700853996; bh=H3UOebWbztiN0l07oDLxMwZHegqQNqhnZ63Q4IX1xxM=; h=From:To:Date:Message-Id:MIME-Version; b=sx/kn3UN96dLfEqk3VI5IhC/VPJkWSSP8cPDmTa3yBW47VIS41J+/K/JtIjPZu1oK R+CvpTMsUQo7vo+s2L86DfIwj+eFKJzVrn8wslUmbuYjyrEaiCOpTJdHh1AsbIvFY2 dLiV6VZFpoSJXn2X1/opmSStQg4/RFo0p8ctm9zFmt31ypU1tcYy0H83tifqGDOe5P LCJblmPesz25d8VPRykHgqHrVrGhGgcjBohr5PvYEvMz12/AEnqJv7cpjbq3ukm1b+ EcLNMyXpAI4lvADuhrNkF1qDFH5zDN/vSp/nYsMhCEIaV49OgV/SDlAQD2agg2ypP7 33Y4goo7YCe6Q== X-Virus-Scanned: amavis at alatek.com.pl Received: from helios.alatek.com.pl ([127.0.0.1]) by localhost (helios.alatek.com.pl [127.0.0.1]) (amavis, port 10026) with ESMTP id OPjaALiZmbOG; Fri, 24 Nov 2023 20:26:36 +0100 (CET) Received: from ideapad.. (unknown [10.0.2.2]) by helios.alatek.com.pl (Postfix) with ESMTPSA id F3C862CE00D3; Fri, 24 Nov 2023 20:26:35 +0100 (CET) From: Jan Kuliga To: lizhi.hou@amd.com, brian.xu@amd.com, raj.kumar.rampelli@amd.com, vkoul@kernel.org, michal.simek@amd.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, runtimeca39d@amd.com Cc: Jan Kuliga Subject: [PATCH v3 3/5] dmaengine: xilinx: xdma: Complete lacking register description Date: Fri, 24 Nov 2023 20:25:56 +0100 Message-Id: <20231124192558.135004-4-jankul@alatek.krakow.pl> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231124192524.134989-1-jankul@alatek.krakow.pl> References: <20231124192524.134989-1-jankul@alatek.krakow.pl> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 24 Nov 2023 11:27:03 -0800 (PST) Complete lacking bits, that describe the status/control register values. Signed-off-by: Jan Kuliga --- drivers/dma/xilinx/xdma-regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma/xilinx/xdma-regs.h b/drivers/dma/xilinx/xdma-reg= s.h index 7a169377b483..654c5e41112d 100644 --- a/drivers/dma/xilinx/xdma-regs.h +++ b/drivers/dma/xilinx/xdma-regs.h @@ -102,6 +102,7 @@ struct xdma_hw_desc { #define CHAN_CTRL_IE_MAGIC_STOPPED BIT(4) #define CHAN_CTRL_IE_IDLE_STOPPED BIT(6) #define CHAN_CTRL_IE_READ_ERROR GENMASK(13, 9) +#define CHAN_CTRL_IE_WRITE_ERROR GENMASK(18, 14) #define CHAN_CTRL_IE_DESC_ERROR GENMASK(23, 19) #define CHAN_CTRL_NON_INCR_ADDR BIT(25) #define CHAN_CTRL_POLL_MODE_WB BIT(26) @@ -112,6 +113,7 @@ struct xdma_hw_desc { CHAN_CTRL_IE_DESC_ALIGN_MISMATCH | \ CHAN_CTRL_IE_MAGIC_STOPPED | \ CHAN_CTRL_IE_READ_ERROR | \ + CHAN_CTRL_IE_WRITE_ERROR | \ CHAN_CTRL_IE_DESC_ERROR) =20 /* bits of the channel interrupt enable mask */ --=20 2.34.1