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 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.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 4207AC433DF for ; Fri, 21 Aug 2020 04:41:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 113052075E for ; Fri, 21 Aug 2020 04:41:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=skidata.com header.i=@skidata.com header.b="oVkHTLce" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725908AbgHUElk (ORCPT ); Fri, 21 Aug 2020 00:41:40 -0400 Received: from mail2.skidata.com ([91.230.2.91]:2296 "EHLO mail2.skidata.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725270AbgHUElj (ORCPT ); Fri, 21 Aug 2020 00:41:39 -0400 X-Greylist: delayed 432 seconds by postgrey-1.27 at vger.kernel.org; Fri, 21 Aug 2020 00:41:38 EDT DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=skidata.com; i=@skidata.com; q=dns/txt; s=selector1; t=1597984899; x=1629520899; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8MCltXRL+RGxf4gw22SJJk0rZoXwbuNIta681mVBukg=; b=oVkHTLcejWFNHoZlNHs3zN4oXkYbvWRQTYwWBKfs4lBfMjgfrhhVe/Es 40JAMoksRnMtLzbiSKd6EWC0XR8an+3lOUMRsmgR6SC7hMZSrAXlR4YpV +SsZPxcDX9+VWWZL5kdjoWXW0mOIrgQRTKVSHGwFxdp6R+TKe5p7CFnbs hcXdFAtvI4uZOuf2IIw9bYeJH/pwLbyPCWCuGIHe+tuaDrPSjIERlwIn0 +xpyqMFjrknY/3xeKhlDXeNdrOn8+ndTvBM9UMmCVupguWwVtFgM6P8dj JpuKjzO4u6NU3jZhZERVXvC+0a59/3KReZN6waVG5nuhJt9P+/t6+hA90 g==; 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 CC: Benjamin Bara - SKIDATA , Lars-Peter Clausen , "timur@kernel.org" , "nicoleotsuka@gmail.com" , "vkoul@kernel.org" , "dan.j.williams@intel.com" , dl-linux-imx , "shawnguo@kernel.org" , "kernel@pengutronix.de" , "dmaengine@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "alsa-devel@alsa-project.org" 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) Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org 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 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,DKIMWL_WL_HIGH, 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 891C6C433DF for ; Fri, 21 Aug 2020 04:36:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 557AA20732 for ; Fri, 21 Aug 2020 04:36:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BkMhsUEz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=skidata.com header.i=@skidata.com header.b="UPysP3L6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 557AA20732 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=skidata.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3vWIH+xQmNtXm0QmbxwuhatzLEd+LRHXW2inSk7+EQE=; b=BkMhsUEz1xhgpBuudV/arR9c6 9Tc9ifQu+epTBG2svWBHXpA9dnqSg8pomjyUKufNcF2TNaGtVqlKG2hY3DTQXSSFK7iGO5Q3a52SS 50FVfED9xFoOzvOO46LX5kdUDiEM07evyyTw/CILG87O+hkHaVNmSANNoCjb4eVPK5IGGMEi3xn/e tnFpsPulMV3CGPHj3LWmFTL3FlhZOpgOvWKrmOZ8UpOEQVdFgZ8daF9V6DattdS4bbNe/Aw+sWipY aw4nmCyqVV7sNrFrT6pkL+aGfMcwCZ2sAGBV5BrMFsFyinXUvc8/PBkLc4MW6PUzkQKWO1ODr63sj EbfuvqYcw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8ylA-0002la-Jj; Fri, 21 Aug 2020 04:34:36 +0000 Received: from mail2.skidata.com ([91.230.2.91]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8yl6-0002kz-MA for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2020 04:34:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=skidata.com; i=@skidata.com; q=dns/txt; s=selector1; t=1597984472; x=1629520472; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8MCltXRL+RGxf4gw22SJJk0rZoXwbuNIta681mVBukg=; b=UPysP3L6FPqCRzZ1d3ieHMeOOJokPcDNEmaqJ4fsZhV5HvxJ43Rb+O5q 8Xehr1ciLEUb8QDQtxqRGbhQ8pdH+Gu9/O1z/FYeJffvq5jViSyFA3r3H eoDC/0ObLuCOSQI2nGRkdyBjEO4+scnJLqcsPoiYiokEg+aoML0M3A+8E IR0eqcKcbRF65w4RgOnkvRG5MwEiNpFcLSZ5BBJhIzd2m2GJTDurrqe+6 kXXmaxIlIkf9s9iXDUPvkBvDwiBiU2DZrjLYjuIxkRur/HoMOe7gaPRmP 9YgLU+Y4TK3JLn9ZEIDvg92zmRXJtOjj+jfi1lcT02XLwCUCx6URaclcr 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-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) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200821_003433_505973_76C8A5CD X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel