Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5571189rwd; Sun, 18 Jun 2023 14:37:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4x6G/mrA4NQEJU2kxWE6oMUVmJ0Kf0MQEBJfPSWnfMJSmrSm/LPj2lgE/njgHMDgkSu85a X-Received: by 2002:a17:902:82c1:b0:1b1:b0ec:462d with SMTP id u1-20020a17090282c100b001b1b0ec462dmr8174201plz.39.1687124277740; Sun, 18 Jun 2023 14:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687124277; cv=none; d=google.com; s=arc-20160816; b=MmWRLWWBtsD0cV3rJttbaIGUxsM05zR4EnpG6RJvMabhJ8W5szHN/AxPaDl2G+g1bM CaRyrna9ub3SOjQ3cfhQwRpVzquCIZPAzeYCTeozxDwHilALRu3JlMcKQ6hcbIs8dZ7I f5z47vWg0qEpvc6b26tSaWZSvcIAHRxgU/E2mQeowclo3HBBpAeVMsppnzB9l52fG+lL dWYR7Hx2PTU0wf5Kejahj+9Dt9d71h2NlzelXUyjEtvqvv/WL1uT1o4QIaFwoDfzQ/5m Ql/49FlktTkU+Ip1TaposK1EGhoo3g+Iw4WUDeURSAxAJqQ7BRQIIfnfTzKUTE7VlUw7 1jfw== 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=kDzL659mInwMNE073Jb4Ftlk6P1hdEMNdSJRGCKw9YI=; b=I1EWnhG/iP1B0jUqGdJs8lTkjXYdwYck0lOZ23J5IvNxdsPFDAuaiJRDoeN8ENAz2L eO4N8NnF/2tM+9be7ubnI+dSM7/fSdEutA3G0lzXFyvthP93tt2bIXoaTlV5N9aaeInL PMXGQOVDbm40CJquCCgl8ke0ZfdHKufIuHJ0bxCbVbJ7PqcgRyT/Hb8jNu/BLG2xhjgw qh5d3I7gdoFInUDJU3cgKymWk0/f/k8X45IThGzuwT0i0xLKIBAwz/pc/kQfVh5ig2sr 9WkuUVmm8AhU6algqxpayrkLDyPpzw3fDFaomlf/HrCRmZN1hdJrxW43iUCI5tz7cLhM ellQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=c6Pmlzs5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a17090a195500b0025ec19d478bsi5227735pjh.139.2023.06.18.14.37.43; Sun, 18 Jun 2023 14:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=c6Pmlzs5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbjFRVPk (ORCPT + 99 others); Sun, 18 Jun 2023 17:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjFRVPi (ORCPT ); Sun, 18 Jun 2023 17:15:38 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B2B31A6; Sun, 18 Jun 2023 14:15:37 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f841b7a697so3075457e87.3; Sun, 18 Jun 2023 14:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687122935; x=1689714935; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=kDzL659mInwMNE073Jb4Ftlk6P1hdEMNdSJRGCKw9YI=; b=c6Pmlzs5fS2xSN3DeE3uS0xxrFBFE3j/FB43UgBcrDPzeiN5c5U5nc58MUHJoEE7W6 T705/CNKQGJbSNyzQQOA5vBocHYiMwQkTJy0ZMiygnxPbpoHqePtUP9GiQ5exNRbjE1S E9yWGAnV6nqR7mUqh5NvC5etDIN2IRCFg8rh5ytU28pdcEeXm4SZ/LOTNQYtPsaypamB BPs3n/Lf48tqmSe6S6BjW8eW6q6/WB2p1Gn+rq5A1L5dxqIT3lzXMyXKxNRZXk1GtZV7 9CWOtM2/7mQlRryxIudgiNGqmheKXNqLuwTKlEuyXjFZa5VRTAOl3WvMsUm/dWQ/n4Ca KAAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687122935; x=1689714935; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kDzL659mInwMNE073Jb4Ftlk6P1hdEMNdSJRGCKw9YI=; b=ESYMjhaGACiLJsLQryQWaqKxnfGv33Fojzmx+1ZJlk/nQOJw6tciTAQXI5DtVXoQUC 6kyck7rVTD79i+ENptgULHe5GDZoYLqsi27xPy8Ek/JYWJSCRt+BWApbBH25y3emL2jD q12iY+CMD41E8CcBVSe4i3RmyJbOcvQopr5SDQcNEH3xoK9F1VPN3nyJPcN4kaKGlhEb ZscBCDHNYSunnNqAw1XK/Tkl+e00O+gGXz4V9GNSpepIanmIP9pQRlfFF6gfFx8fYoa9 vuAL0bl4TCZkt5zre5KAodsZIPDdnSOXbvQ6oooCuQPYcZx7+RelDt+g0i6lAGLBEpS9 z+Jw== X-Gm-Message-State: AC+VfDytXbbAGFU2PoTV3SoXUwMlXKl9YqUXD+VT7KBiY8PBZ/nIZxTI 432j9hLsM1MMSyyY+lv17agAgCbrdFQ= X-Received: by 2002:a19:2d17:0:b0:4f8:55dd:e726 with SMTP id k23-20020a192d17000000b004f855dde726mr3895472lfj.12.1687122935062; Sun, 18 Jun 2023 14:15:35 -0700 (PDT) Received: from mobilestation ([91.193.179.15]) by smtp.gmail.com with ESMTPSA id eo13-20020a056512480d00b004f84b7541c5sm1316726lfb.3.2023.06.18.14.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jun 2023 14:15:34 -0700 (PDT) Date: Mon, 19 Jun 2023 00:15:31 +0300 From: Serge Semin To: =?utf-8?B?S8O2cnk=?= Maincent Cc: Cai Huoqing , Manivannan Sadhasivam , Vinod Koul , Gustavo Pimentel , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina Subject: Re: [PATCH 2/9] dmaengine: dw-edma: Typos fixes Message-ID: <20230618211531.xyempyr4yfrram67@mobilestation> References: <20230609081654.330857-1-kory.maincent@bootlin.com> <20230609081654.330857-3-kory.maincent@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230609081654.330857-3-kory.maincent@bootlin.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 09, 2023 at 10:16:47AM +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. > > Signed-off-by: Kory Maincent > Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA") Good catch! Thanks for the patch. Reviewed-by: Serge Semin * It seems to me that the DMA-abort path of the DW HDMA driver hasn't * been well tested. -Serge(y) > --- > > This patch is fixing a commit which is only in dmaengine tree and not > merged mainline. > --- > 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 de87ce6b8585..da8663f45fdb 100644 > --- a/drivers/dma/dw-edma/dw-hdma-v0-core.c > +++ b/drivers/dma/dw-edma/dw-hdma-v0-core.c > @@ -231,7 +231,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 >