Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2742831ybv; Mon, 24 Feb 2020 10:43:50 -0800 (PST) X-Google-Smtp-Source: APXvYqyNl+QuW7Xr7WmDBDzw1wUd2Td3WMrplMBx20NMjfItgjWd53y+7U8ZU8fRXdM2cv6CCFT8 X-Received: by 2002:aca:ad11:: with SMTP id w17mr357914oie.85.1582569830452; Mon, 24 Feb 2020 10:43:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582569830; cv=none; d=google.com; s=arc-20160816; b=VKcwzCTAhG9uLythEu5gRkTXdruHh8VWv8iqrh4BV8FAMJuFTlQI5i/VXDRLkRDAmu rnVuozfiego5hEo3NOtPzujOVZ7JCS4tFm1/UsDZnZNlEyeyXIUpULVONmskkpZz48yV ec2HGt17O9puTal9B9LUCR5I753jGpclIW1n7f8Iqe97VCovdGY4PLoUC50GCyHR5bEk zBcic/gUlNOuMRcj7uWy+lgDH/W+0esENqK0AzGOIuXByNC9AG2eIUMZAUy+Avl3nPn9 5H1TmnYlr308sU+pCclhqlBL38nvh6gvMlF1CDIOcQVmf1yGdsDf6ioSLj733WJjvnFs z9Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=uCmCqGkBSNCRTaEPKViwOJ/762o19mpcQcrckJGGFEA=; b=R4RkWwYlXAhrkmlAyzkyzBrFInuQiB3Ipevv5TU+rqv0lVer8Y48kXtRZhXCloq72e m1t8+sUFJzBqUVwCEaQbYeBFcNtcpOw28Ek1jqKlVoEbGt6VtrnDoG6dpWuwDJB8Min7 MraE6FYMeqdppPtC+QQrXEgxMk7pCg9Cv8I+3BHL5ziwXRr9SsBRTNyV4U4JbrFWHDSN 4lJyoOyfyXQVJN0RoMUX0my5uzGJb8ZmtoKTm78SftKiaAenVUjoXy4YUenFk9RMC7IC m5Zk5zr6BCPQSTE+w80eKzoa2Ki7RMi0J79x7xHK8+6mBLmPLD78H5bCTPoeVHCI0nmO IJBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k2mwXkvd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f62si5219784oib.131.2020.02.24.10.43.37; Mon, 24 Feb 2020 10:43:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k2mwXkvd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727833AbgBXSn0 (ORCPT + 99 others); Mon, 24 Feb 2020 13:43:26 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:42844 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbgBXSn0 (ORCPT ); Mon, 24 Feb 2020 13:43:26 -0500 Received: by mail-lf1-f68.google.com with SMTP id 83so7520248lfh.9; Mon, 24 Feb 2020 10:43:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uCmCqGkBSNCRTaEPKViwOJ/762o19mpcQcrckJGGFEA=; b=k2mwXkvdmgi8pr7kvr78v5r1c+AnLoKifDlTcCs/ZSikAZfhL088/hZVAQ1V1srjUW adK/hdF1CUFI0dDf+hlDbEPRtlSXcL2zxq95AAYfEpOO3eQVdUf6EvX6rChQV8hQbo8v 8riLPA0EsHRca0FXC9j8nsopqWH1As4UIhBuVffez4KsHgxuWIUp19NXeLhknVrRe9+N Sp+7x/eT/OC8u0VhApIAdQrx/AVHnjtYqgZrVQAlEAT/ebn/eqX6kf+7Fv8zELrAO9uZ EYLmQ5qTINJfnaSl40WMelswQ70B8cmZf+d4kRok2h07fXkML/ilqbhADPJoekdqgL9f sAGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uCmCqGkBSNCRTaEPKViwOJ/762o19mpcQcrckJGGFEA=; b=dJm9Fgpy1bQ+KGzcl6iMNXaP68RSmMxvacWkPTUHaa4ye0Y10Kc6++tMEZc71AAmbv bxWw6RZXVx0Z2qrXF4PZvvv9FOCD4Zy7EKOsqe+rAhCYns+g8otab1oNQR+vMmSpKKwy Tv3G3YAaLBs+VrKDiJNyydUdxFt/OG6IHDWD6prKyrFkFqvMQr7AvgdnnXH7/lE9kkGA z3Gqxct5NFEUH+5aZ/aU+C3gANnrnDRcZS3j4+IX4AkPjNfcAhLcHLHjGE8ARvebR4Ko TI9m5dcoMxmreDW8ZnMJV6rwl7+d32Zstz/Wl04TRgwvgtkGhTCm9O0Clz5AJLT3ILMG nJng== X-Gm-Message-State: APjAAAWeTyhvaF6/RlrdZHMq4gIdynLni+Rr3WleD+1VtMYKB91VhYNL WPRzpxP8NR2WIBGmERFBpgBOryI8ZnJAv6V1uJw= X-Received: by 2002:a05:6512:10d4:: with SMTP id k20mr11537422lfg.70.1582569803984; Mon, 24 Feb 2020 10:43:23 -0800 (PST) MIME-Version: 1.0 References: <20200224172236.22478-1-frieder.schrempf@kontron.de> In-Reply-To: <20200224172236.22478-1-frieder.schrempf@kontron.de> From: Fabio Estevam Date: Mon, 24 Feb 2020 15:43:13 -0300 Message-ID: Subject: Re: [PATCH] dma: imx-sdma: Fix the event id check to include RX event for UART6 To: Schrempf Frieder Cc: Dan Williams , Linus Walleij , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Vinod Koul , "stable@vger.kernel.org" , "dmaengine@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Frieder, On Mon, Feb 24, 2020 at 2:22 PM Schrempf Frieder wrote: > > From: Frieder Schrempf > > On i.MX6 the DMA event for the RX channel of UART6 is '0'. To fix I would suggest being a bit more specific than saying i.MX6. I see UART6 is present on i.MX6UL/i.MX6SX, but not on i.MX6Q/i.MX6DL, so it would be better to specify it in the commit log. imx6ul.dtsi does not have dma nodes under uart6, so I guess you fixed it for imx6sx. > the broken DMA support for UART6, we change the check for event_id0 > to include '0' as a valid id. > > Fixes: 1ec1e82f2510 ("dmaengine: Add Freescale i.MX SDMA support") > Cc: stable@vger.kernel.org > Signed-off-by: Frieder Schrempf Reviewed-by: Fabio Estevam