From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69EFCC433E1 for ; Thu, 16 Jul 2020 00:42:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B44B20714 for ; Thu, 16 Jul 2020 00:42:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="qERzaurJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727034AbgGPAmo (ORCPT ); Wed, 15 Jul 2020 20:42:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbgGPAmn (ORCPT ); Wed, 15 Jul 2020 20:42:43 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE254C061755 for ; Wed, 15 Jul 2020 17:42:43 -0700 (PDT) Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 088E7564; Thu, 16 Jul 2020 02:42:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1594860161; bh=G5OAk/6UIzciy4bfJKVt8BVmuLqhEIsSbBAjRE0D8Lk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qERzaurJTCZKkjMOFPUmg1EOaqMR1yuqE0KY1oRAIKUDSSUL7+ueCdjJX1El0OgZH z6Zsr7Oxn2DlL6gy5m03yvdyfuDAFJW2USvv3fN8US0xF+ruBZUXjpn3AFWBVVmZF6 JoXbvu72h65m+TbTF4k9a6LgiVm9Bv5lePJgCkec= Date: Thu, 16 Jul 2020 03:42:33 +0300 From: Laurent Pinchart To: Vinod Koul Cc: dmaengine@vger.kernel.org, Michal Simek , Hyun Kwon , Tejas Upadhyay , Satish Kumar Nagireddy , Peter Ujfalusi Subject: Re: [PATCH v6 5/6] dmaengine: xilinx: dpdma: Add debugfs support Message-ID: <20200716004233.GO6144@pendragon.ideasonboard.com> References: <20200708201906.4546-1-laurent.pinchart@ideasonboard.com> <20200708201906.4546-6-laurent.pinchart@ideasonboard.com> <20200715110130.GJ34333@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200715110130.GJ34333@vkoul-mobl> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Hi Vinod, On Wed, Jul 15, 2020 at 04:31:30PM +0530, Vinod Koul wrote: > On 08-07-20, 23:19, Laurent Pinchart wrote: > > +static int xilinx_dpdma_debugfs_init(struct device *dev) > > +{ > > + int err; > > + struct dentry *xilinx_dpdma_debugfs_dir, *xilinx_dpdma_debugfs_file; > > + > > + dpdma_debugfs.testcase = DPDMA_TC_NONE; > > + > > + xilinx_dpdma_debugfs_dir = debugfs_create_dir("dpdma", NULL); > > can you please use the dma_dev->dbg_dev_root, we are already creating > /sys/kernel/debug/dmaengine// Good point, I'll fix that. -- Regards, Laurent Pinchart