Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp850232rdg; Wed, 11 Oct 2023 07:17:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJyh1FhSbPc6eFN71tjBTDAxlwNPk31p08Qw1+tQponPH6QGRYCl1vVKkPOczCn4lYdqU+ X-Received: by 2002:a05:6a20:2447:b0:154:3f13:1bb7 with SMTP id t7-20020a056a20244700b001543f131bb7mr23968911pzc.49.1697033873053; Wed, 11 Oct 2023 07:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697033872; cv=none; d=google.com; s=arc-20160816; b=OKc2SFKAkk2rnKFTcwy0LEDTyEnfcKhJxA2uD3hMJ548NWSi/+vKUIAvixygkn617x Bc+cmnmLRqpxmgPEopqgX8NyyphaKbCpMWp+SKmAuRPwN8cAQR79FPGUb9r6NwSDhWSE lnL4Izx1+Bf78aRAevo4WEiZ2IZMPsmlsyIvZbOigDGRPQn4/yU64XtXkBDJYRqd3y2M 7V4dnvHYXe86ZqaQMGANpkI+521ZqPsEST7ayMiW8GEaFgLMTzpg8aOYBJzdtyaPRd/8 P8LiETfzmgjz+S325AMejYYF2Z5B8rMEkFId4YKrajB5RbFpzT9cti1TLPl9C9ZfHDTj 3wnQ== 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=O7YKx0GevPk+N/Kzt7ihULXoNd69tTIXrqexOPHEtpDSVXFLsX38NgBH8XOE0RIEZl 1nrm0ldgdih84PLOHI9vYlamS+3UnS/9EaF+YWqeRR7AoqZGIem/ucLfjihj6lf7b2SG 9+nvSIDrU+tU5tEjKSV9N73UszfYuz/J7IXsaNF7awKYnrapfY9l0BLkqES90YFDEyKK fCIJZyZQEAatNRwfMIwSYMg4gBnr8tPi9wxg/0WEpdRZ49LBsOChXFO6rlBNBnGkETom 94Rfi3nRQOcm3n0rGDuhVln0wCeLbpioVKT3kBY3oos255VfmXMhUbJk1/7rAwC8Ca8J MKJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Mqe9aNxe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c15-20020a170902d48f00b001c618473ac1si3006247plg.627.2023.10.11.07.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 07:17:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Mqe9aNxe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 116FE8185969; Wed, 11 Oct 2023 07:17:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346971AbjJKOR1 (ORCPT + 99 others); Wed, 11 Oct 2023 10:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346001AbjJKORW (ORCPT ); Wed, 11 Oct 2023 10:17:22 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 368D290; Wed, 11 Oct 2023 07:17:21 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id DF8D56000F; Wed, 11 Oct 2023 14:17:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697033839; 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=Mqe9aNxePFcxZ275FyR+52LUX8qW2w0VXYMWHkvJDU+BzcVtPojwNIQ1bRNjEmO2IMn7dm JzFxzUfe2f0sajzsDGJfdZsnkmzv9taGzqMIssyS+Eu6eqYEM4i+rbSPqKANjWJqQ2iOLp NBaPjzaLfCZbI/BozjI85vOVW1IQiCfuXQtkWjXjgm5F1jwTJd9n16hqZabNOQ66Dqsgnn QGC9XAhCyc+5uK3DXdcDKxCO32AJVcGY5dM1d0konOwWHLRbN6G8ZsWcPja+kR8ma01dLq LwtmL5hoIos2N3RT+sifbnYgnl8wBUYNe37ivNFgEBl2poosNS0jsd4g0RWQww== From: Kory Maincent Date: Wed, 11 Oct 2023 16:16:58 +0200 Subject: [PATCH v4 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-v4-2-43d417b93138@bootlin.com> References: <20231011-b4-feature_hdma_mainline-v4-0-43d417b93138@bootlin.com> In-Reply-To: <20231011-b4-feature_hdma_mainline-v4-0-43d417b93138@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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 11 Oct 2023 07:17:47 -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