Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1897488imm; Thu, 2 Aug 2018 02:58:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcQySdBvG+Yn4Sw6bw7/OyFWite3UqJjjwoEuknAY9cCrpxVKsfgYQk62RI3BEqH0r2sG5j X-Received: by 2002:a17:902:b944:: with SMTP id h4-v6mr1713472pls.157.1533203919319; Thu, 02 Aug 2018 02:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533203919; cv=none; d=google.com; s=arc-20160816; b=fJbQAVb0Mp4ATWrlOUk3m1h0yyhaYpgyzUl/89aoyPZZWnzQ7mwDzb/IhvQ1YvQLn3 1shkUgtQ1G89wdjieMlhw3zJzNRoWJUqEiWVEX8dqX4JgTBXqtPE19GKgwubKXp97nIU EnKJdr/7EGzw15a4eD8V1y4YP9ppMHTVY2mq8MaRCkiGhJR/iuvZbu+4gIDmfQDNNrHZ 4RfJ7a9/eg1gEXbZE6z69CyiYuogNx+MfkX2OZrt1HbrwS1uUrkLpYmkvSm9i0uNr52b n8eVIA/Dj7R5S87GZP/e44MMxa/0VrRFjY5KBbA5iKErVxsDsJ4AncVlSluQYNv+o1mo h7Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=88eCc1xhR5W+MwIX0g9583RSJiUnIz9pv0mXB4fOlew=; b=bydHMkEf8VEUDIdhGfWIYo0IrVSRtn65mtZEEBhm6FIRWuGVU85eE8nNpEboWN8qZT WlaVWSObntVu6e4rwza4Zx3ca7epYXChQDE+nBoBXknINGZiXefGfweV1scHXtzaZDsL Drs8thqFcb6kmecJkC31bKJkVtxoCndu8/o5OcHZ4xA6iy+tvTl8qH7l17Sgcc88+KXI khejL/Z8IZCXpFVgcZuxRyh/PjTLc01dKwz7/J+63QrSr2AKlt8F//1AZFGOzFZ5sM3m XXofBNVA12fCfUtzPTSl4SzR4QHeeq1OYrz/m2dLWyd7GBaAb436b/v7vfLQCuYz5Uwq 2flg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=el4dC4a+; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b35-v6si1252290plb.273.2018.08.02.02.58.24; Thu, 02 Aug 2018 02:58:39 -0700 (PDT) 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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=el4dC4a+; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731938AbeHBLrK (ORCPT + 99 others); Thu, 2 Aug 2018 07:47:10 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:44242 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726238AbeHBLrK (ORCPT ); Thu, 2 Aug 2018 07:47:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=88eCc1xhR5W+MwIX0g9583RSJiUnIz9pv0mXB4fOlew=; b=el4dC4a+NmXLEbMMFyPDAoIrM AAtK4whQ5/R2YCey2neyirbxcuHH8GB7nKnyA9z9lY5aTAkG3J5j875KpPDaELLSrmK2+hGCty4ix yCI1URkwSuEFuAJdO6EKnPLhF3QopY6Zi14XO36uRaE7Ea0zuv5VOG76gGg3Xv/6EN4MU=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1flALB-0001pV-SO; Thu, 02 Aug 2018 09:56:17 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 9963A1124241; Thu, 2 Aug 2018 10:56:17 +0100 (BST) Date: Thu, 2 Aug 2018 10:56:17 +0100 From: Mark Brown To: Akshu Agrawal Cc: djkurtz@chromium.org, Alexander.Deucher@amd.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , "Mukunda, Vijendar" , Guenter Roeck , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: Re: [PATCH 1/3] ASoC: AMD: Make ACP->SYSMEM DMA non circular Message-ID: <20180802095617.GC9117@sirena.org.uk> References: <1533192134-11626-1-git-send-email-akshu.agrawal@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline In-Reply-To: <1533192134-11626-1-git-send-email-akshu.agrawal@amd.com> X-Cookie: BARBARA STANWYCK makes me nervous!! User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 02, 2018 at 12:11:54PM +0530, Akshu Agrawal wrote: > In capture case we don't want ACP to SYSMEM dma > to be circular. This is because if an in place DSP > filter is applied to captured output then circular DMA > can overwrite the filter value with stale data. Isn't that just a problem with userspace not giving itself enough buffer to get the in place processing done before we loop round again. This will simply change the type of error, it won't actually fix anything AFAICT but perhaps I'm missing something. --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlti1UAACgkQJNaLcl1U h9D2ygf/ehYWjpfDi7yutUUdHpYQ9PM67mlWd/w7NnlZGvfY+fKwzKqv9hy1hqVR zUqMxTLbqqsnMxwVusEfLYpF5Ckznh/EQhgFBxGbS6Ocz0e2kGN128VD2LyziboI QWV8qp49MiBiVexgXDHpbyPw+SmnbvQyViCBqm3X8GZJkqWIUzBnCINr4fqqXAv0 Cc3DbDYs993W0Say2R95fec+DJb8jQ4MZD9nRAq0JV8kuoHW4A0Wiim8O21ELuH+ n+k9SNr/OboKeR8V/j9slWWLXGRioA31DSfatLTK3KTNRPjyIZ+x4Ce4X+D8nEm7 m4n2zRDoDbSkIYQh/uhMbmlxgGTUsg== =PhBU -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--