Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp650395rdg; Wed, 11 Oct 2023 01:12:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1lSrpWnZhxSxKzXBllJLc9U3GS0YY037nepRw5D+K+EKQ6ctamSO24jqPJT1O9CIdo3gC X-Received: by 2002:a17:903:11c9:b0:1c3:c127:540 with SMTP id q9-20020a17090311c900b001c3c1270540mr21149506plh.29.1697011977159; Wed, 11 Oct 2023 01:12:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697011977; cv=none; d=google.com; s=arc-20160816; b=OYmP7xB2KVFpFS4H9bor/EGpWpfJAkNaitm1C0q8gGlrkWqfH2D/sPIc0Kcsoty5A/ pKN+aT0ErPWEN5337mg1B1DIEE/9MSC775UrNLJ4G+U7NMufZiya/IfL52NAYl0dE7lk rIoC2uoxNs73fC2H7p/pstQVgEH3eatDAQJJT3+0vSrPDVTk+n4U0O2xuAJQFps4pgUJ AJm0mfrf59udmp54RrbU7DKKYWzTyGiqzdosYVS1xH8PwbMtnBgBicRy3mdJrhzZL/ya SNjpOxr/X/1ZAmYeP/syoJCMxfsn6FsW7cD1f2oCyUWQEesnoofSK4YIiR2BjIbPobvW EhYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=9zfuTvre0UzAi4GpamYmN3E9uemUolgHrcnYVxe0/6o=; fh=6XphIdWxfa6Vpt4el4ltSz/1eFeqJAQ3KUirCeZaEUc=; b=prlkaDfNLia/3owjMmnZ0OPFbaTMniQHIQ2m5RrcKQJWD/Z1l8n9PJw7DyqGXguMUP hCnn4NPBGy3b1eaQj0zRn2D7xHcYW5LzTabvZjZ5b90LcVLi3Jjf8L1jFoEq6CftmrBc OeHDGWPJjm7n0PRMfBKTB9E4SGpKDQp8GqDYbNdJh8nSJnzJl0Koy9TVcub1uDRBZR+j XprsQPAyC1SnSIJb+3X2YC9W/rjeoHC3KrtoAhpFXJeS/ZQrByNYR47N5ZmWq8JaA6xr ItLuTKwgZYq42H2JfUt0bQBRRn6aSCKipSH1uyBEX9yXCl3852SucRCmgaLxn++gaqGN 0Uvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=cwZtJjF5; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id jj6-20020a170903048600b001c0ab540e67si13852514plb.213.2023.10.11.01.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 01:12:57 -0700 (PDT) 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=pass header.i=@bootlin.com header.s=gm1 header.b=cwZtJjF5; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 34310801BFE9; Wed, 11 Oct 2023 01:12:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230205AbjJKIMh (ORCPT + 99 others); Wed, 11 Oct 2023 04:12:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230155AbjJKIMd (ORCPT ); Wed, 11 Oct 2023 04:12:33 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B7CC98; Wed, 11 Oct 2023 01:12:31 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id DE3341BF206; Wed, 11 Oct 2023 08:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697011950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9zfuTvre0UzAi4GpamYmN3E9uemUolgHrcnYVxe0/6o=; b=cwZtJjF55N4K1zCBuf7PfW7hNYydtD8p1nr7TpEtIiG+2S1jcgcesg0cUMQGTTeupwaQRD iM1rNe9SIQWe+rz4XDOEQJ3wtqaV3zbVWVw7TT/uuVNsUowGpFGegTvMjZpChSZdkDzaRG BvKPHYzmL7nETO6EnWPXmrF0jDyyBCqt+27QME7b836VzPKKq2+Vkf3XFfW3xIsCuPgG1o FFhIFcK0aqVR0SBuzistjylQtMtlgX4K6IoMIvFiB48CbK+SuOH4sjwd7JXszy+tbhCqx6 5W992I8Q3I2FkBGGltAyIK2KBFitdV2tyH63hIJEEvP4VMDVxRCB9K344ZNAsQ== From: Kory Maincent Date: Wed, 11 Oct 2023 10:11:41 +0200 Subject: [PATCH v3 2/6] dmaengine: dw-edma: Fix wrong interrupt bit set MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231011-b4-feature_hdma_mainline-v3-2-24ee0c979c6f@bootlin.com> References: <20231011-b4-feature_hdma_mainline-v3-0-24ee0c979c6f@bootlin.com> In-Reply-To: <20231011-b4-feature_hdma_mainline-v3-0-24ee0c979c6f@bootlin.com> To: Manivannan Sadhasivam , Gustavo Pimentel , Serge Semin , Vinod Koul , Cai Huoqing Cc: Thomas Petazzoni , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Herve Codina , Kory Maincent X-Mailer: b4 0.12.3 X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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, 11 Oct 2023 01:12:52 -0700 (PDT) X-Spam-Level: ** Fix "HDMA_V0_LOCAL_STOP_INT_EN" to "HDMA_V0_LOCAL_ABORT_INT_EN" as the STOP bit is already set in the same line. Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA") Signed-off-by: Kory Maincent Reviewed-by: Serge Semin --- Changes in v3: - Split the patch in two to differ bug fix and simple harmless typo. --- drivers/dma/dw-edma/dw-hdma-v0-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/dw-edma/dw-hdma-v0-core.c b/drivers/dma/dw-edma/dw-hdma-v0-core.c index 1f4cb7db5475..108f9127aaaa 100644 --- a/drivers/dma/dw-edma/dw-hdma-v0-core.c +++ b/drivers/dma/dw-edma/dw-hdma-v0-core.c @@ -236,7 +236,7 @@ static void dw_hdma_v0_core_start(struct dw_edma_chunk *chunk, bool first) /* Interrupt enable&unmask - done, abort */ tmp = GET_CH_32(dw, chan->dir, chan->id, int_setup) | HDMA_V0_STOP_INT_MASK | HDMA_V0_ABORT_INT_MASK | - HDMA_V0_LOCAL_STOP_INT_EN | HDMA_V0_LOCAL_STOP_INT_EN; + HDMA_V0_LOCAL_STOP_INT_EN | HDMA_V0_LOCAL_ABORT_INT_EN; SET_CH_32(dw, chan->dir, chan->id, int_setup, tmp); /* Channel control */ SET_CH_32(dw, chan->dir, chan->id, control1, HDMA_V0_LINKLIST_EN); -- 2.25.1