From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53D8D35B653 for ; Tue, 17 Mar 2026 10:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773744589; cv=none; b=l87ZbgGnOdVRS91C7rV0TSHGEt1u4BpZrvu3glFIsiFOd6kkrU4ADH9qUbVz8EGvOCg/4tCQqPuv/0cBYhP31Df8dHcdZ0fJVWFQWCBG+/zHzs8h3D4XmU2xqwJtyauRZf2XnZ0XNrSnbRuw5Xq3iRN3ZhP2y2bn/HrYiLdm8Pc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773744589; c=relaxed/simple; bh=+cfs0t0LmSJY4mOioX92eiqEvpcsRdD7gJt43vu6FJI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mef0FnE8AgKpxe8ClRoo9HAyFwjkfqqxZIX6O5Wc+6xNIE9pk16lcCe1Y+pcJtqc/9CHjGc2vosRr3s5hGWzxbh1h9FQnO3L03myyHIGlmteNd4QjDs/7BvjCZSiB3munZ5Cxq+ALuqm+ZkBrVdDKrdNF4hOWuRD853d+zRbIPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Nivb1TaT; arc=none smtp.client-ip=209.85.216.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Nivb1TaT" Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-35b9ed7a329so1181275a91.2 for ; Tue, 17 Mar 2026 03:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773744588; x=1774349388; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+cfs0t0LmSJY4mOioX92eiqEvpcsRdD7gJt43vu6FJI=; b=Nivb1TaTLo/XQZgubyoOxkSYr4GN7Rt53d3YBsh3mCZnbxol7KhVwC2O0wZIbfX1V0 csubDAcOrdawvH6Igw93W2rIzaGdLcjnJJhUPRcJs1qOfB5r66RiDbGYWGWO2fJdr1Bz D59zCMqFZB/oOOPhMrkwa1/tQ/WIK6ANEZefNGz4+c8VeHeTbD9D2AzuEjVii/3X37Od Msxy4OjSO/zvWptB9aFSfmEvi3Vx3AM6BCbLSvPVoz9hRjykCIQeMQOcm9NQw6W8z902 QO/tnXQ+1UANvbXEcp32jxmgucsOP3xC+ZAkXsqqqYv9qz49h3ovCsxmldABJgoPkmKw n/7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773744588; x=1774349388; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+cfs0t0LmSJY4mOioX92eiqEvpcsRdD7gJt43vu6FJI=; b=pSlCJzWweunsm9OnK1zmKYGl/njoD26hn4Mu2MxX1ObTNcTQX6oiOgHNiUmT108Y7r 8g0qahkcX9pUgLHuuGMJ7vSqpVjivWoCv5ro9m6QvaHAY/81xjF0ibrI/d8sS8HQp+YS FgE9GzZ6f8zi7mnpbG4uxeKFoFEP8zIXYJTrGZP6nbpQWsu6imGZlt5f7Ghdwv0gtNsk dWi5myYZgFmya9e5l4jZHKdOMLeJs2UDBI+n1Zyuf758uWDy5K0C7Lk4JSvxbiuCxmfh K12a04SsufFUzKh+frx5oQu+sBmddfQm+bdDRXSInsZKVVY3RoxyBmwMBVil+d98bfeT ZLcw== X-Forwarded-Encrypted: i=1; AJvYcCUb8NwTpsM786cr6WRkjfM4gWwVd+jQbFfc+ooSSkE/K71ByRtlBkYsfW8RPH3Z9WIJrBbQO41HistLGw8=@vger.kernel.org X-Gm-Message-State: AOJu0YxarGWjWvMzcaq+apfLAtcf0NyAC7KnZAh6meJahNomqDnjNCwF mAZgsLyydLoj5aobXK9x3ImcDNYhgMyan6WzefYDVdM0o8DBYrQ8d2Nr X-Gm-Gg: ATEYQzwBDAhOsyrYsDgTDoKjx2G24hUsSTWqnvsG+pX3wfnYLlqx5lE2EJgzZKTYCS+ V4K6eAM8Kq2FvbhzMtZLFSE57vVPPUvJnTRr6oGQuOqkiMC8J5UlRpuH7n3nFWIas5nCCBQcFza jgQu+8SbggRvGhP5jxX4yVE0Z6GwhR8QJZ5PCrAxxIK0UbTbG26TdXslIfsnY2XDqx05Xsyoe95 XET+7jd2K1SjonajvYC9BzLhAtu/x47c0P8oOJbVH69Pcr1dD3KApPUv6IjxllIXWkR7AfFeENs nE9pGFFOAxlkpJa5WjZDB4ZxOMDYb5I+0KkUb1MlIlBHIzZhQS6raexMZfyutQx0SWXX/vkn+6i 1JUR90XO1Pe3WEsw2+gyrYJIOCXBHLeuJQU5M1TGVn5B8xuKfq044osEZElO0qjCTSwHFtDgM5p vC+v7ER8RRfUoUyqU4NCxFww== X-Received: by 2002:a17:90a:d408:b0:35b:a9f3:62ee with SMTP id 98e67ed59e1d1-35ba9f36aa5mr3331138a91.27.1773744587612; Tue, 17 Mar 2026 03:49:47 -0700 (PDT) Received: from bsp.. ([2401:4900:54f0:3ab6:58b:9924:8921:710a]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35badb90b8esm2529439a91.11.2026.03.17.03.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2026 03:49:46 -0700 (PDT) From: Rahul Navale To: Folker Schwesinger Cc: Rahul Navale , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, vkoul@kernel.org, Frank.Li@kernel.org, michal.simek@amd.com, suraj.gupta2@amd.com, thomas.gessler@brueckmann-gmbh.de, radhey.shyam.pandey@amd.com, tomi.valkeinen@ideasonboard.com, rahulnavale04@gmail.com, marex@nabladev.com, marex@denx.de Subject: Re: [RFC PATCH] dmaengine: xilinx_dma: Fix per-channel direction reporting via device_caps Date: Tue, 17 Mar 2026 16:19:32 +0530 Message-ID: <20260317104933.4846-1-rahulnavale04@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Rahul Navale Hi Folker, >Just to double check, and to make sure the regression you're seeing is >not a combination of any additional, yet unknown side-effects, could you >perform one more test? >In dmaengine_pcm_pointer() (the function we just patched), could you >replace the call to snd_dmaengine_pcm_pointer() with >snd_dmaengine_pcm_pointer_no_residue() while keeping 7e01511443c3 active >and test if this fixes your issue or not? I have performed the test (replace the call in dmaengine_pcm_pointer() function of provided patch) while keeping 7e01511443c3 active. I see issue is fixed audio is working with this. Hi Marek, >I came to the same conclusion, that the residue handling is broken in >the xilinx DMA driver for cyclic transfers, and the fix is below, with >two extra fixes in top: I have tested the provided patches the audio is not fixed with this.