From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 46439286D7E for ; Thu, 26 Feb 2026 19:43:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772135022; cv=none; b=qfWbQq27ZWAOLi4QM7eXwI3ttdleS0qaiaoBaR0D3ZhDIi+pMvXSyqfOj3xcrVttsUL4feGn7QI1aviGyHN6yFXaypQodvdlVpamXrJBrXtMhbhKAYIQA8uk9ZvcbsCOkspUS6H/ZPjnZyq4++Lu6kZlHbZGZOBYg0qk9H6qhhA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772135022; c=relaxed/simple; bh=KsIDUmCbm8ycOJF0wmH++ZInq+LAYBBS4hDDp4hu1Y8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aZ5X4BAkSSXHJuK0oRZOXQ3zsXQoQ9wxknz83mKsWQTg3VPZ80g5HG+TIsWgmIQ9uCJaVKnK7aVWBJbkbAauz/5jFKeNZN3aHwBg1GcyFFoOIXO2mTDj1B+WWQBMTjepGSdcr7782htQiyvvpRedpVmqk7LlvWcPFhUMplV+rO4= 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=HBUstrVD; arc=none smtp.client-ip=209.85.221.43 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="HBUstrVD" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-4398f8403edso943476f8f.1 for ; Thu, 26 Feb 2026 11:43:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772135020; x=1772739820; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=IVb2KwRi5Vzg4eql9FYlq5xGm1WE+ci+AdR3AsLLeHc=; b=HBUstrVDBuIlAwmiQBFwl/u/oJH/KMV4w5Hc8TvMcqKWj6Jsu9bjlemJbmGNl5RBPL OxXXvyEbqtTOSUmM99lQFgQQTr4uhx6yesWRpWA4xJUi/hfM0U2dPIoqL1oCiPlHE4lL PF2jS2+rdWJVL0vraqCahhPZWYt/ZNDQ4z3Qhide9DS1LEkVVrJJtrcL+z0eepU7NsXW vttTLaKBbmeo6RANvMMJ8w70DqgOwFhlHoS23iwfRuiyezTfCZF/qUIYP+EuGzhk57N+ EhRRPg6N6T8OBeqr9XhZRjULQflflCqyj5HLzX4TR0P/yR4lNIzPwtIJKwGdW8Xil5P0 /zBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772135020; x=1772739820; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IVb2KwRi5Vzg4eql9FYlq5xGm1WE+ci+AdR3AsLLeHc=; b=M0lV+LDLKCXObC+bbGu2fJyq9AITXKZUHc61qgw5YBi/ZpdFoeljQMl+rJ+01lpwGj Elg3f6t6Xq2TtHaLLOvHVtckeXl7Gd4s7jMmWntGAx4y+oBdOOdnKGJzerCBD7dW6cW0 Q67b76BsJEWDEWU9BPlXw8Fdu7jS/igxrvYBjN2FrQkBk2VGp0dBQmnMkut/fGnZLsji bG/cwzQKujEgFcmDt5GcpFUK8O6hWINI9LZxWb5GBCldhKOCzG8RRC2xqFALSFjIllk4 OfUimvf3F7jKNwvoJh9ScTHVCoEjRHIaNzva8T7Gmx/ylcVraRZf4yJDZIV0Y0IyJc5o fHUw== X-Forwarded-Encrypted: i=1; AJvYcCWczmtbeAZ3jO43O9t99N7MSZpvQbbAreX7HJFR+7OvUYdbUUQ/MAEHMk9HCf2ENcStYV2RCCubhkgGBGc=@vger.kernel.org X-Gm-Message-State: AOJu0YyHYl4tcIw6aR0oovP4VScZLMdnM7xKV/jTW5/TpkU9jAPOnzrx sj7sam+UkqxgBslJ2nTAlvTSRNaiuEopi5YPY7y4O9P0XFktE4yaSUefUixo3br1 X-Gm-Gg: ATEYQzxGw9Rhi2yELu4Z2advg4nJZsBaiVoBZeBu/QzY4KKtH637KxlhTB7zbPuTFYr 07OR0GGEmYbkFx3C6XuPHCaKn/6lH5e2/ULSkmD3kXr4bWeiuxsA1XkoCbwO4TVwm97LQ46Iq6d cJQrVEwVB+UmT+n98vG5ZrEB5w7F+JVgA30tyRWfbNvuSKxqLJ5cCleNXPnHjKi38Im2DijOK0s OyRcoMkCDa4xN//6oMrxJ8ijh4V5rY0OUkOqHynju5SockBktoZgax7UGhOaeZo5y6O8ULl6Lpj 5lvfSOgJAq3XjKulpy9uowfMx82BK2Qgn36wtO/8hhjhp75NSES0UvG7Bne4NrGk9ce2LgCmlMd FOfgbwjd0BoV9Zo0eq1LkMUrUMCTIaZHip5WwltJ2yE9ZQefADr1w+EO/cF30F4hgDvHRDTNEux CzqRINGYB7T6C9ozB8oGMJ1Cl46AbqSA+QVNyDxdYwqD5BmFZwT6OH0QDWwO9yUMv7OqIu5afO X-Received: by 2002:a5d:584f:0:b0:430:f985:a7b2 with SMTP id ffacd0b85a97d-4399de38167mr18364f8f.51.1772135019469; Thu, 26 Feb 2026 11:43:39 -0800 (PST) Received: from ideapad (ip-095-222-030-189.um34.pools.vodafone-ip.de. [95.222.30.189]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4399c70e8e8sm1532704f8f.10.2026.02.26.11.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Feb 2026 11:43:39 -0800 (PST) Date: Thu, 26 Feb 2026 20:43:36 +0100 From: Alexander Gordeev To: Vinod Koul Cc: Frank Li , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/2] dma: DMA slave device bringup tool Message-ID: References: <20260221132248.17721-1-a.gordeev.box@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Feb 26, 2026 at 12:37:47PM +0530, Vinod Koul wrote: > > I likely missing something, but how this differs from dmatest, which also > > lacks any controller-specific setup? > > slave dma needs a peripheral to test. For example a spi/i2c etc > dmaengine in slave mode will not work untill unless there is some > signalling for dmaengine from peripheral to push/pull data. Well, the idea is to trigger xfers using custom out-of-band tooling. > > I tested it on Avalon-MM Interface on Arria 10 FPGA and found it super- > > useful - thus an attempt to share. > > Which driver is that? Seems more like a memcpy masked as slave to me Yes, one could say so. It transfers off-CPU memory in one of FPGA implementations, which does not need any xfer setup. When attached to a camera however the xfer is triggered using a private tool that uses i2c - exactly as you guys noticed. The dmaengine driver for Avalon-MM Interface is not upstreamed yet. > ~Vinod Thanks!