Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp506893pxa; Wed, 19 Aug 2020 07:29:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKHgUJgphXku+wXJij6cbRysXN/gXMlXbN3tNJhUSHqUUjcw/RDmB4E8Kr41BXvq9NWaRl X-Received: by 2002:a17:907:40bf:: with SMTP id nu23mr25040483ejb.243.1597847368336; Wed, 19 Aug 2020 07:29:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597847368; cv=none; d=google.com; s=arc-20160816; b=qIPgliBTxFaDTgiTWCPSA/FC+MX2Na/gd+O40iVVvichv6pbCFsOB8sNR7HlglHG6W aeCIb/VR7AV+m4GfvtQ2l6QB2JHG/e3YcI6wOfl9iY3HPi/4jc2s+5gEhmROnVb0cAD8 MvkClsWm15qNnscIIehEX8F68WEomyHrDNOufsyyAWw2dRwSt9S4C7L9wGble6qTna6r WfyEq4KTAZb/pMRGIb4TQrNQCh12Kckpf4HiNsqGqTGAms760ZJK3aNGsyTBj3kZJbjD iLMehQnUca6rCWWfDklvn6XHvoZXMwfCzjEoTPHIKvovr2t2m3LvYi2tCy+ngMN4Ebe6 BEfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:ironport-sdr :dkim-signature; bh=YymJ3dZVzHVrgFLhK05T17oVu6zGDEJc8AVV1WphDOI=; b=ViQpFDBkWHRKCWvoMZTxBJxfUdCqubTN5vIUydqGgXeZ7Ihc0yr5w9zzV9oxB6oAMI CJjGOCycoK218CU/FvKngHpsUwLQJ8YSibk0SbZDQuk8DcGccgiFlARBADXK/3MTbdvN WbRIXRNsIVHzBgODU3QM6DzinDaSiTB6U7oXJAiBZ1wWIY89YTm/Xj5OSEVvHtmyp7LD ahvxJcSHNQ5M2qNGQYIlmUEyhjCV3g76cs0f8KPT20atkjpJUbLtGBUI7w8Gg2u0+dPZ sgk+hqqBzofNBJRa83qFt7ezSdch1DuXqajKrfAgJNcy07gbA+3ZMNpfxGfqOhiO8cGr jVcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@skidata.com header.s=selector1 header.b=ZNxDmnru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=skidata.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si13711179edp.481.2020.08.19.07.28.33; Wed, 19 Aug 2020 07:29:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@skidata.com header.s=selector1 header.b=ZNxDmnru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=skidata.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727854AbgHSOZs (ORCPT + 99 others); Wed, 19 Aug 2020 10:25:48 -0400 Received: from mail2.skidata.com ([91.230.2.91]:49484 "EHLO mail2.skidata.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726560AbgHSOZr (ORCPT ); Wed, 19 Aug 2020 10:25:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=skidata.com; i=@skidata.com; q=dns/txt; s=selector1; t=1597847146; x=1629383146; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=YymJ3dZVzHVrgFLhK05T17oVu6zGDEJc8AVV1WphDOI=; b=ZNxDmnrukdDhezm7QxgtcjdoP/Qg9bW0JO/u3xXFHqEL6MaupcNfks3m z1THOqEhZKM/SZ6V1Dy6VHrg2vvs9CVwJ5rnbZg0GPrxMkTDfQmh7q+H3 Z4jxBpQhxURIksGHV3y2C+qkMQsIQ+5smFvMw3kIZh3dFg9j7NGsrEfVr l04ek+c4cx4Ybtc+f7XZEq/OkakrR0/4D2cVlZsR44GrvzfTjr2pSAdA/ n9uhKBKmzVq9cuUFyQOGSH2fqow/sYouCR33GUTIccVr3agNzvNK4HFSV UHsi59dx1DXCmOgiKSLyXqzf4sIOzdMDv+0jSahfORSEVmfdPtB6+WOje A==; IronPort-SDR: 5PZhNmYKfRS1iEeazk3AUKjiex7CCBzJyiV0oe9bAGIFuqLnuWxvzOP+yOxygw0LMhZigOUvVQ Oh1reciiML1xT1TScCcBSeclRPTNjstksGsl+TaIVoY/ATKey4/zPptkdOvg8NSe9HjE+Aplpq 1MT9V3sFQa6u1SNwc/G8gdgsx7/Qzw7/ajztXCosU35zxddFuAW/MmfTcXf6NY1TTIij3D0ApU GG6BpbvaK3nicyTS5nXQ5X+jOD3Lsz2K8yCeR7dm7AQ8AZWUn6LW097UuGtm1cDm93J6JoWuLM gYk= X-IronPort-AV: E=Sophos;i="5.76,331,1592863200"; d="scan'208";a="2645167" From: Benjamin Bara - SKIDATA To: Lars-Peter Clausen , Robin Gong CC: "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" , Richard Leitner - SKIDATA Subject: RE: pcm|dmaengine|imx-sdma race condition on i.MX6 Thread-Topic: pcm|dmaengine|imx-sdma race condition on i.MX6 Thread-Index: AQHWcWQZKYOChL0mPkuCFeZyDJy6mKk3KiiAgABS1/CAB7DUgIAAV/7Q Date: Wed, 19 Aug 2020 14:25:43 +0000 Message-ID: <6b5799a567d14cfb9ce34d278a33017d@skidata.com> References: <20200813112258.GA327172@pcleri> <61498763c60e488a825e8dd270732b62@skidata.com> <16942794-1e03-6da0-b8e5-c82332a217a5@metafoo.de> In-Reply-To: <16942794-1e03-6da0-b8e5-c82332a217a5@metafoo.de> Accept-Language: en-US, de-AT Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.111.252] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXJzLVBldGVyIENsYXVzZW4g PGxhcnNAbWV0YWZvby5kZT4NCj4gU2VudDogTWl0dHdvY2gsIDE5LiBBdWd1c3QgMjAyMCAxMzow OA0KPiBJIHRoaW5rIHRoaXMgbWlnaHQgYmUgYW4gc2RtYSBzcGVjaWZpYyBwcm9ibGVtIGFmdGVy IGFsbC4NCj4gZG1hZW5naW5lX3Rlcm1pbmF0ZV9hc3luYygpIHdpbGwgaXNzdWUgYSByZXF1ZXN0 IHRvIHN0b3AgdGhlIERNQS4gQnV0IGl0DQo+IGlzIHN0aWxsIHNhZmUgdG8gaXNzdWUgdGhlIG5l eHQgdHJhbnNmZXIsIGV2ZW4gd2l0aG91dCBjYWxsaW5nDQo+IGRtYWVuZ2luZV9zeW5jaHJvbml6 ZSgpLiBUaGUgRE1BIHNob3VsZCBzdGFydCB0aGUgbmV3IHRyYW5zZmVyIGF0IGl0cw0KPiBlYXJs aWVzdCBjb252ZW5pZW5jZSBpbiB0aGF0IGNhc2UuDQo+IA0KPiBkbWFlZ2luZV9zeW5jaHJvbml6 ZSgpIGlzIHNvIHRoYXQgdGhlIGNvbnN1bWVyIGhhcyBhIGd1YXJhbnRlZSB0aGF0IHRoZQ0KPiBE TUEgaXMgZmluaXNoZWQgdXNpbmcgdGhlIHJlc291cm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