From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13845C433E1 for ; Fri, 21 Aug 2020 04:35:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6635520732 for ; Fri, 21 Aug 2020 04:35:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="ISt5TdPg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=skidata.com header.i=@skidata.com header.b="Koeki1sT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6635520732 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=skidata.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BBB8B1678; Fri, 21 Aug 2020 06:34:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BBB8B1678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1597984526; bh=8MCltXRL+RGxf4gw22SJJk0rZoXwbuNIta681mVBukg=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ISt5TdPgyu8lqM8P+eVIk54e62EgbLumvzkUWVMTZX0U0wrhntZ/rA7+4fNIPacXS bmfd/mEJIU9C+aj82Ox91kzbKe9jBlXnkxlfS8mggXmWK1FdM1r9+LOwRK6dTW8JBK IZseSkp1cItpCwegsgIUibmoKjkBaPybhDsITsUQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 50EC3F80216; Fri, 21 Aug 2020 06:34:36 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 42B8BF80218; Fri, 21 Aug 2020 06:34:34 +0200 (CEST) Received: from mail2.skidata.com (mail2.skidata.com [91.230.2.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CBBD6F800D2 for ; Fri, 21 Aug 2020 06:34:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CBBD6F800D2 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=skidata.com header.i=@skidata.com header.b="Koeki1sT" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=skidata.com; i=@skidata.com; q=dns/txt; s=selector1; t=1597984468; x=1629520468; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8MCltXRL+RGxf4gw22SJJk0rZoXwbuNIta681mVBukg=; b=Koeki1sTRxXlXUDrf4FoZrT/Zp/r/+BIciNRofKbcUbNAWtiJTzIr7nj 71YAm3rp950HO56XT5Im4k6qjOhuC41e52vKzXTX+KBNx4y+zwfD2Jjib KRYDiMtVrNTc0yHsYo3KFYTkSGpCNZMCAXOJ611D7LyuAUDBw/Rmmsmy7 EPRunB9CzFfwz6cKeQYc9rT2VZXEPDb/a2VuFZU3USjiX0huP8NNCyycA C+cBzG9ucUeMY/tbh2R1Z3bV0gswFVuFw2q5Z5+wFEFp6Wms6xcUwey8f xippHikrZDakcViurj+QfvjZDwWy8e9Q1JRBddWlRuUx+NJn/KADmTUs5 Q==; IronPort-SDR: HAN9vym7mM33d8fMsKj7u4xEC2g2HvwohDQjA95kU2hj4jut2jxR/PHsvKaEd7LbB7+IDRkmaB Zj/9cm09Gb+dP1nj9NLcIT5B+4A8/7PBANIHGP5zyyRfYxDJyi9jP0d8Y4eWOAVXQ05OH539Re NEwAp5488VCy830zzz14uO+BsLZJnhTVS0/xn/kmzWinSOQyaQLyXxLtVcX2jB0GvOns9WFHBC J8FOf9prgzvqw/1mFhBCfyrAKFizPQmu/tk7pPG4uM3HvHH3dUSuBxxPp+3XpUHxvBxqPsjzc5 UjY= X-IronPort-AV: E=Sophos;i="5.76,335,1592863200"; d="scan'208";a="2647454" Date: Fri, 21 Aug 2020 06:34:18 +0200 From: Richard Leitner To: Robin Gong Subject: Re: pcm|dmaengine|imx-sdma race condition on i.MX6 Message-ID: <20200821043418.GA65616@pcleri> References: <20200813112258.GA327172@pcleri> <61498763c60e488a825e8dd270732b62@skidata.com> <16942794-1e03-6da0-b8e5-c82332a217a5@metafoo.de> <6b5799a567d14cfb9ce34d278a33017d@skidata.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [192.168.111.252] X-ClientProxiedBy: sdex6srv.skidata.net (192.168.111.84) To sdex5srv.skidata.net (192.168.111.83) Cc: "alsa-devel@alsa-project.org" , Lars-Peter Clausen , "timur@kernel.org" , "linux-kernel@vger.kernel.org" , "nicoleotsuka@gmail.com" , "vkoul@kernel.org" , Benjamin Bara - SKIDATA , "kernel@pengutronix.de" , "dmaengine@vger.kernel.org" , "dan.j.williams@intel.com" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, Aug 20, 2020 at 03:01:44PM +0000, Robin Gong wrote: > On 2020/08/19 22:26 Benjamin Bara - SKIDATA wrote: > > > > @Robin: > > Is it possible to tag the commits for the stable-tree > > Cc: stable@vger.kernel.org? > Could my patch work in your side? If yes, I will add > Cc: stable@vger.kernel.org I've tested the patches 3 & 4 (removing sdmac->context_loaded) of the series you mentioned and sent Tested-by tags for them [1,2], as they fix the EIO problems for our use case. So from our side they are fine for stable. [1] https://lore.kernel.org/dmaengine/20200817053813.GA551027@pcleri/T/#u [2] https://lore.kernel.org/dmaengine/20200817053820.GB551027@pcleri/T/#u regards;rl