Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp199191rdg; Tue, 10 Oct 2023 07:59:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETeV9oG6MPMYXisIZMQOVwwNd0ALvTHTslO60bN1xatutv5fUvUomTx4gE4OXrBxA0aUO5 X-Received: by 2002:a05:6358:9485:b0:143:6b2a:e909 with SMTP id i5-20020a056358948500b001436b2ae909mr16478787rwb.25.1696949969623; Tue, 10 Oct 2023 07:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696949969; cv=none; d=google.com; s=arc-20160816; b=sMprUq/W1QzohT+bH6aCDXbk2DSx9nzTKRE0MbO0/snR/5iaX06o6VA/7bKqokDl1P +GHvgqPaY9brRskHHzkoKdTdhUDPgmmhA8tOAOciMCIM+591ZmXYOAm0Cd82pZC8e+9K o2w5ApXQFWq4hrWecJoWrPepZGe8953YSvuEnEBnhFP/evRbDNpucG+XwS121oexh3k4 eb39FzcJMl12j/k0Sy074OSrmdFuwCM6aREhd34tjDrnWCUrmVvzDE0YOUqljbdOE0T/ 0ujaRFLQNmHWMb8yrLqH0vZgomn268tAwTGvMs9XUwd3pAeKwbjs4iEFhM06MW9TCZd/ HUSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+WzxFp2emECQoe63BpwCz9sF3oxOqNn5E5OlOCGUVCU=; fh=iGITYTLkUpffsBmFWMcbbdH2WdkWddytQRmWKQfoV3Q=; b=vn4P5I0BV9GRFG8ZdkZscz0lZIIjjMd+AwoxAB0LvALgy6AoDSaIUGnh/aoqFM3eRe 6T27YM6z5n03A/K6l165Ypjj3Seyo5KnRIrQtLgavQ6zqJazGK8RIgMnmcHUoWt7b+rf AIQonSBMufA3ELit1XmStsX2Z76yMne/fOAJEzmp6iqpaQSLANkJD5ycQ1KCmN3kE+3l ZHk4eKKsGtNc22KSMzgyn+sH/6J8mu48l/gRziojKCLM4PF41maSgsZEuAvktM4b3syf 4ySy1vYHU0UOTNl37FUFpSIeiDwxjw3Bm0KZtFuDV20dcaPEkvcFbWFlUx99BY5E4pRO xPBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Om4QRJ3l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l25-20020a63ba59000000b00585a6bdce46si12431498pgu.308.2023.10.10.07.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 07:59:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Om4QRJ3l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9E15E8221100; Tue, 10 Oct 2023 07:59:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233232AbjJJO7W (ORCPT + 99 others); Tue, 10 Oct 2023 10:59:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232979AbjJJO7V (ORCPT ); Tue, 10 Oct 2023 10:59:21 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE9D9E; Tue, 10 Oct 2023 07:59:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BF85C433C7; Tue, 10 Oct 2023 14:59:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696949959; bh=P9LG2dSjceMRQqznAdK4gwF7zqt3DuU49ysbI5+pOfQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Om4QRJ3l0iQFau8382Vn9c7ET+eUt/cdIijQ5Rv4pa0bekSOZSDQKAeHSOBWKTOYi Tmh2BWL/4BKUKRmPN3Ro2M7GcV3THvBEBblyvdvKVufCPH95+6hqKabrYx2dyjoFnw gJIypwfgM5hDVQJ8g8Deg2BACXxxRMjg/PsTH3UQMpRJEqrZzLPWxDqJduGXjTMP+q ygGGUBW/W3YoaZZRVAKKm0wZ0lksxBo5KQnVzdDFqkS4VpAvKkW6fICu17XzaCV1LR 2/wj6K2it1V/UeikHV88/erykfND+g00GaSzrxwJ0fi63ygVanT3XYvWNZ1I6Na57V zMZyAacoMMfew== Date: Tue, 10 Oct 2023 20:29:06 +0530 From: Manivannan Sadhasivam To: =?iso-8859-1?Q?K=F6ry?= Maincent Cc: Cai Huoqing , Serge Semin , Vinod Koul , Gustavo Pimentel , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina Subject: Re: [PATCH v2 2/5] dmaengine: dw-edma: Typos fixes Message-ID: <20231010145906.GL4884@thinkpad> References: <20231002131749.2977952-1-kory.maincent@bootlin.com> <20231002131749.2977952-3-kory.maincent@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231002131749.2977952-3-kory.maincent@bootlin.com> X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Tue, 10 Oct 2023 07:59:27 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 02, 2023 at 03:17:46PM +0200, Köry Maincent wrote: > From: Kory Maincent > > Fix "HDMA_V0_REMOTEL_STOP_INT_EN" typo error. > 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. > You should split this into two patches. First one is a typo and is harmless, but the second is a _bug_. - Mani > Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA") > Signed-off-by: Kory Maincent > Reviewed-by: Serge Semin > --- > drivers/dma/dw-edma/dw-hdma-v0-core.c | 2 +- > drivers/dma/dw-edma/dw-hdma-v0-regs.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/dma/dw-edma/dw-hdma-v0-core.c b/drivers/dma/dw-edma/dw-hdma-v0-core.c > index 3e78d4fd3955..0afafc683a9e 100644 > --- a/drivers/dma/dw-edma/dw-hdma-v0-core.c > +++ b/drivers/dma/dw-edma/dw-hdma-v0-core.c > @@ -235,7 +235,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); > diff --git a/drivers/dma/dw-edma/dw-hdma-v0-regs.h b/drivers/dma/dw-edma/dw-hdma-v0-regs.h > index a974abdf8aaf..eab5fd7177e5 100644 > --- a/drivers/dma/dw-edma/dw-hdma-v0-regs.h > +++ b/drivers/dma/dw-edma/dw-hdma-v0-regs.h > @@ -15,7 +15,7 @@ > #define HDMA_V0_LOCAL_ABORT_INT_EN BIT(6) > #define HDMA_V0_REMOTE_ABORT_INT_EN BIT(5) > #define HDMA_V0_LOCAL_STOP_INT_EN BIT(4) > -#define HDMA_V0_REMOTEL_STOP_INT_EN BIT(3) > +#define HDMA_V0_REMOTE_STOP_INT_EN BIT(3) > #define HDMA_V0_ABORT_INT_MASK BIT(2) > #define HDMA_V0_STOP_INT_MASK BIT(0) > #define HDMA_V0_LINKLIST_EN BIT(0) > -- > 2.25.1 > -- மணிவண்ணன் சதாசிவம்