Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp245525ybl; Thu, 23 Jan 2020 22:52:21 -0800 (PST) X-Google-Smtp-Source: APXvYqxVCPfcWV7CCSj1IZl4Z/xoEwYUUitX1g1ji8V8Kv5Cf7yUeGcOfjPJGRTxbutL7IBB6OBb X-Received: by 2002:a9d:7d85:: with SMTP id j5mr1694228otn.86.1579848741013; Thu, 23 Jan 2020 22:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579848741; cv=none; d=google.com; s=arc-20160816; b=DhAd+Q+B6t6f3cl5sVKdPnB/wpJPPqUk+yYVbWEbBq54A9dcwwzz9N/NGn1j+RrNJ+ hNRtxI1ftv2jSQrlfqwK3X7xamrvhY/FTFMBp8ClvPze0/U/ROoNKARWUWzhZYbty8xI qMKi9gR2CoTpPcqSCi3ZODUFVgE5YNiQzkBo8A3oFoOMucHjwoD7/v+pmfVSPqBVeRjj DjYUYMoKv1QiDJ33FbQ0L/3kCfxQA3LL3Gmhf1mSlGYDzs9+mtDzsdMHFvxryd6Z+/sl ml6E9le3pgHI1DDnXHRdVq//jk1DMubahxWkEQ1Ie5Jk31xR96bWQ/Pyga443ghYe7wX +Dqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dih/LjpXMEP4sPDGFLebcJXg/qz2+WNKqkIet/26HaM=; b=FQeP1/qBPOdiIQXGkUZXhGHJ1LuZo2rN2bnRXsHXoH1TmrpFYAUnD35RuVGNLreMzx 6OG94q2O1xb/b/FYSuUve8OGBWP8GoK+/sKRE9Mgl3F0Qd8GJ/XEmYzzwjRfaIRhirIJ 1JLgDgucSHgxKdx2Iy6I5YNuRnvqTtzo8rXDK0b2Juk2kcO/Lww0pTMbqBepE+YOc12K gZzuKm4Q909pdnv5ZkaXZDsHhUWrjWo5mjw6dcrw/AVc9I3U+49wuIUxVNC3CHuPC7gq MycZA6uDLI3krs7dQRzqGLynkBB3Suak2WG8nOWKaH0QNTSHwyRorqz/mXNoQ/jj/uym Pzog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=T9WGunnW; 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=pass (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 e26si2466297otj.113.2020.01.23.22.51.57; Thu, 23 Jan 2020 22:52:21 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=T9WGunnW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730253AbgAXGOE (ORCPT + 99 others); Fri, 24 Jan 2020 01:14:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:60870 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbgAXGOE (ORCPT ); Fri, 24 Jan 2020 01:14:04 -0500 Received: from localhost (unknown [106.200.244.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 554BE20718; Fri, 24 Jan 2020 06:14:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579846443; bh=hPxhx/xkr883zKOO/zMMfJPW/taB/rLS1YKC4mlh6lk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T9WGunnW/1R9rfdy6tqpXM3FIhxOtgH53RKUV4kOIwE7qw21RWr4WNvLEmi6T+Lu0 hns2Zb6wxzSlK1jGqgXWZKDYuDC3W/VRRVQWrId8EaMw1SwM/u/h4gNrbk3FarxVYJ RdVMCrC9YLXeog6o6MqvIr7oah0xGyVQyLc35NnE= Date: Fri, 24 Jan 2020 11:43:59 +0530 From: Vinod Koul To: Geert Uytterhoeven Cc: Peter Ujfalusi , Dan Williams , dmaengine@vger.kernel.org, Linux-Renesas , Linux Kernel Mailing List Subject: Re: [PATCH v2] dmaengine: Create symlinks between DMA channels and slaves Message-ID: <20200124061359.GF2841@vkoul-mobl> References: <20200117153056.31363-1-geert+renesas@glider.be> <1cdc4f71-f365-8c9e-4634-408c59e6a3f9@ti.com> <20200122094002.GS2841@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200122094002.GS2841@vkoul-mobl> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-01-20, 15:10, Vinod Koul wrote: > I like the idea of adding this in debugfs and giving more info, I would > actually love to add bytes_transferred and few more info (descriptors > submitted etc) to it... > > > > This way we will have all the information in one place, easy to look up > > > and you don't need to manage symlinks dynamically, just check all > > > channels if they have slave_device/name when they are in_use (in_use w/o > > > slave_device is 'non slave') > > > > > > Some drivers are requesting and releasing the DMA channel per transfer > > > or when they are opened/closed or other variations. > > > > > > > What do other people think? > > > > Vinod: do you have some guidance for your minions? ;-) > > > That said, I am not against merging this patch while we add more > (debugfs)... So do my minions agree or they have better ideas :-) So no new ideas, I am going to apply this and queue for 5.6, something is better than nothing. And I am looking forward for debugfs to give better picture, volunteers? -- ~Vinod