Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp226214rdd; Wed, 22 Nov 2023 14:12:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsMgaOrrbUuyx5z17N9FvKcFqhZJ9ufhwuzKiIQFyW4d32jgYT38D9G91hDVuWed90aE8G X-Received: by 2002:a17:902:e741:b0:1cf:59df:241 with SMTP id p1-20020a170902e74100b001cf59df0241mr4185149plf.52.1700691123521; Wed, 22 Nov 2023 14:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700691123; cv=none; d=google.com; s=arc-20160816; b=aBKeoCaXyaK3oMGFCcn7aMWAUX+nIh9x/WoqBzEOxTqzbf5ss7AOFepKAWZJdg3o1n 30QuNhNdh+mS0Ih3u8AeJrQKto+EAZunfuxz17UZRIH/Mu1rqJBInGm3N0UYr0G7mfH9 gbmaEbzMJItFXAV0AqbT2lc8SmAlgmafz8xGsQrTdXDfHlW5/rICzhN7ekqJn2TIBda5 1tQpfwjr92AwZYY7vo9D/rgGy+ChHU86ZWSO/J5CCWBNdBauKKmY5fiYSpd8VFwipeAY xlhK/1dMMaGrmim0+VzAribR+NtZCfWpJPpI4jPZM8gRuAq+tIAigNQsG0eWQzqGEujQ ih7g== 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=RXS5JGpuDELDxQ/4dQrraI6J+NZvDTOAkF/AHQypleY=; b=uXcUT8n0d8J6XOrcs+XAxcmUOlcVFouFp/Zwlhi8/6oZ8IlcAlS+6HHvHVG4VyYGCm QPPZ5FNKYe8BlrOuEv3I200Bh3QE2Czcb7xjY4WvRCNU/edWDnffzGiFQm/iqUC0WVwx VMDNjzuq+hwB4R+fjqrgG2cqP4LhhJFZQm9sHWEVHLSEYOhfMemTIY6onurBsgIYvqw1 TkzKI1gSmIApRafLk6h1yMFcFNE7YGsvu9MJVt0xRSPkBi0NToodIF88C2Pl0TmcbAzI cK0vt4RdT2f/aiScmX6sU0FfHVfoRkoDf1xFErHvd+io/d+G9pJHG/6jOAvQt5l1R9uJ xX1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alatek.krakow.pl header.s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3 header.b=f4s1fWSQ; 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 j18-20020a170902da9200b001c9ff461649si318000plx.581.2023.11.22.14.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 14:12:03 -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=f4s1fWSQ; 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 939B880D6527; Wed, 22 Nov 2023 14:11:23 -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 S235182AbjKVWLM (ORCPT + 99 others); Wed, 22 Nov 2023 17:11:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbjKVWLK (ORCPT ); Wed, 22 Nov 2023 17:11:10 -0500 Received: from helios.alatek.com.pl (helios.alatek.com.pl [85.14.123.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D185E1A5; Wed, 22 Nov 2023 14:11:05 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id C22492D00B62; Wed, 22 Nov 2023 23:11:03 +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 pdB1MUBkCbJE; Wed, 22 Nov 2023 23:11:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by helios.alatek.com.pl (Postfix) with ESMTP id 8278E2D00B61; Wed, 22 Nov 2023 23:11:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 helios.alatek.com.pl 8278E2D00B61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alatek.krakow.pl; s=99EE5E86-D06A-11EC-BE24-DBCCD0A148D3; t=1700691063; bh=H3UOebWbztiN0l07oDLxMwZHegqQNqhnZ63Q4IX1xxM=; h=From:To:Date:Message-Id:MIME-Version; b=f4s1fWSQb78tnRN8iWTm6t5zobvN/vf5Y+pkArUjEzkaWzD6VOiUuNW6iQDsyJXTm kfPax90sQk4wNCApvnYZfwy08Anb/vZYR5G/3J8vvbbHaelNO2pRiEnzukOL5N9sQN A341E0ydkBBeZcEMgZN/q/+DtcgAYjBBC0QNYTzzmpaacYEnFxe6CVSaDds3UaUqoI hO5OGNq0iN5PcEMxfqpYHTxcDDYvOcijYkxT6LRGtJ9tCDr/Qau6I3IzuTrNPlRGNH +eE9d+dmlEwQq58xQuZJnOVZDx8btyBblyjqfdEbo5gnIyRYiDnT/fArCW3NuUI+tp H9sk3TGlzZIQA== 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 MVhGrBPj2ONb; Wed, 22 Nov 2023 23:11:03 +0100 (CET) Received: from ideapad.. (unknown [10.0.2.2]) by helios.alatek.com.pl (Postfix) with ESMTPSA id 4C4D32D00B60; Wed, 22 Nov 2023 23:11:03 +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 Cc: Jan Kuliga Subject: [PATCH 3/5] dmaengine: xilinx: xdma: Complete lacking register description Date: Wed, 22 Nov 2023 23:09:19 +0100 Message-Id: <20231122220921.117428-4-jankul@alatek.krakow.pl> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122220830.117403-1-jankul@alatek.krakow.pl> References: <20231122220830.117403-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]); Wed, 22 Nov 2023 14:11:23 -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