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 85DBDC433E1 for ; Fri, 21 Aug 2020 09:55:53 +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 5179A207DE for ; Fri, 21 Aug 2020 09:55:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nTipVsPC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=skidata.com header.i=@skidata.com header.b="Qwk9wB2B" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5179A207DE 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=QQGvfJLrMytAsCt47UhgFtiO5urQJbO9RmqPA+tgGfo=; b=nTipVsPCoFN30/2x/cSKyku8c 2cjp3JuFSFTc4//rCleOzJJV2VVaktJFJbnbNYSVAMuax7SJQnqMPD+4Y+//TaS4+WHz/QsNbNR1H XObOwh3ZcWtgRMa8pUVKphpylwQekF9uJ5WVwDyH5Zq2WCo5JeUWBewJWjzkjW1aWAtcA1l78fUxa 7/ye8FF1J2AIT67gsT/ZVl7csROC+QD++NNW2PB13Lcm4IuozP50dbQzotKWHsZRjMto6qUr0v49j LtgOM8M1jHI1G36sDXYfB5MG37kVrK7tOeS4JNIqdO9dRqKpsGArjB49N8PBz9YvPkSrhC+2nB+Yk z0samEIqA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k93kq-0004Xd-5H; Fri, 21 Aug 2020 09:54:36 +0000 Received: from mail1.skidata.com ([91.230.2.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k93km-0004Wx-90 for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2020 09:54:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=skidata.com; i=@skidata.com; q=dns/txt; s=selector1; t=1598003672; x=1629539672; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NstbtL4h85xlZs4+XVTJ2ZVNFbQJtI/QKJuqZTJ2ZeQ=; b=Qwk9wB2BtWaN7ralH6CEHJ4Ka8gFnoQ4fE6eqyKJVFh4Ab/dNSbFkT9+ 4/2F9ocKtVf1o9eHUVV+2lYSbmgobCaJS0rXtPs1UdvwORkRGNrsCC5WQ LEsTE5fcKodEYtH/z0OJemaLvjislUwQDTVU68OJvEgEjUJHhNfpWENv/ RTNhQTHWgbHPyKGFaXarudr+vesmUAYyBUyg3gJz78zx5M/7wi5u9peOE +WqIelucyMdbg8cZliFRL9BnfMqMZbMaKFEST6Fu7B0v6mcwFW2NTTAWe gbv7L8irobWATW0c2D1jp4osa8/NaD8SlsBj8bw6Ag+Hh0gZoYrpJJrlq g==; IronPort-SDR: 3YRGmzjJwFhLM47ZZA2avh0ZdlsTTCQs/vrDyCckW8v4KIO9OYH5mDxDlRHi6DXdj0zw0l3grt zFumAJ3NT23lh0uS6wZWMxdgSpk1Xr0dBlNPCRmJ5lztPu3KFzyKJJxVV0PHvDrpHz4uKeJ14S y7+o1plvPyokFmzMttD3BtEOSYoQPPNKqa3w0vtJRhur8kqBqGxHvyCB5JVemSvoArcwHvWDf0 YPYQZgTBK+99J3q2ew3/FXG378z1H6pj4Y+XNESw2CcHD/V83drLWg6/hjN4wq/bNyCX19Qt/E N04= X-IronPort-AV: E=Sophos;i="5.76,335,1592863200"; d="scan'208";a="26271758" Date: Fri, 21 Aug 2020 11:54:30 +0200 From: Richard Leitner To: Robin Gong Subject: Re: pcm|dmaengine|imx-sdma race condition on i.MX6 Message-ID: <20200821095430.GB65616@pcleri> References: <20200813112258.GA327172@pcleri> <61498763c60e488a825e8dd270732b62@skidata.com> <16942794-1e03-6da0-b8e5-c82332a217a5@metafoo.de> <6b5799a567d14cfb9ce34d278a33017d@skidata.com> <20200821043418.GA65616@pcleri> 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_055432_669363_72E93402 X-CRM114-Status: GOOD ( 15.43 ) 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 Fri, Aug 21, 2020 at 09:21:37AM +0000, Robin Gong wrote: > On 2020/08/21 12:34 Richard Leitner wrote: > > 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. > > > Okay, I thought that's just decrease the issue in your side not totally fix, and the patch As Benjamin mentioned the issue isn't "fixed" for us from the logical/ technical side. Nonetheless the EIO error won't occur anymore with the patches applied. Therefore the issue is for me "fixed from a userspace point of view", as they don't get/see the error anymore. > I post in https://www.spinics.net/lists/arm-kernel/msg829972.html > could resolve the potential next descriptor wrongly freed by vchan_get_all_descriptors > in sdma_channel_terminate_work. Anyway, I'll add ' Cc: stable@vger.kernel.org' and > your Tested-by tags in 3&4, then resend it again, thanks. Great. Thank you! regards;rl _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel