Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp312383imm; Tue, 15 May 2018 01:59:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq3pBcCYmo5nW+DKzxHPFEoYUzeMKbpcMSRU/S6XwoP2uuUnaeoBjfdp0Ulg/VPivoNcpLq X-Received: by 2002:a62:5d4a:: with SMTP id r71-v6mr14045209pfb.147.1526374767370; Tue, 15 May 2018 01:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526374767; cv=none; d=google.com; s=arc-20160816; b=LbqyzpdYDB/dkR4TiR0UwIU6I/emvHlLJE4ZA7Zo+SBJPmKp7m/3MhNhz2tTROhPg2 1IaflytPqRCDHVCMTv5E/sof+QtF4aPLeFaVS2rJrkznvQEzmfazk+zji7X851rIhy8a gve0BZz4cW2VH67H3hX6ZJ7jqHfk8/90oE2FoLj/ZdmwR/frKewLVwdpNuIeqCcj1mcJ cjY56bHqzPedBE7dCSxssjrMhQMR6RX0Y3BDi04LK0U6RYotaVIieJu+1C/CyTF2rBDl 99BFaKfsvhfksou+Wp3j/d4mOOd4mQbnJnOENWOUjp8RyOSrv+IBC/XRBKIbs81RiRFk MAHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject:cc :arc-authentication-results; bh=dyRevMIVIqT2MIr/fXBDaGOxUDtrvUh3hgN542SMBqo=; b=HQ3M0I//9j6QBNxtsj/xSzb60Ui8hC1R2W7ZgcqaTXC1AUjHAgFB8cUqKb/Krlk3lN 6zsS3+hsh5nUOAVfa/ZwU4REebIfWdXfp3T/HjzSsNNby8qeT1RGXLBmxCa+Jreo3HRM eDZ8mExp6JnOisweoaCdMmNkw7RCJZkkxJ/V9er4jp3TWdhclbt8v0q/6Kj/aoC0JPIS JGxh2VSmdjNseyJtBD//rhZIsiNiQ+QgksPvRa/uZ2x71tw9/YHBn1luKtd9d8+l4gug XqGPJ8BShPwgnu3yOMAM/FeiwZzmUG0ofz4UIMtdoaggDWN4fwwnB7X/9p0kBGvhL+pS /QEg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2-v6si7431356pgd.517.2018.05.15.01.59.12; Tue, 15 May 2018 01:59:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752346AbeEOI6A (ORCPT + 99 others); Tue, 15 May 2018 04:58:00 -0400 Received: from foss.arm.com ([217.140.101.70]:56194 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752348AbeEOI54 (ORCPT ); Tue, 15 May 2018 04:57:56 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2FC3D1435; Tue, 15 May 2018 01:57:56 -0700 (PDT) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A0DA63F25D; Tue, 15 May 2018 01:57:51 -0700 (PDT) Cc: Sudeep Holla , Rajan Vaja , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH v6 09/11] firmware: xilinx: Add debugfs for clock control APIs To: Jolly Shah , "ard.biesheuvel@linaro.org" , "mingo@kernel.org" , "gregkh@linuxfoundation.org" , "matt@codeblueprint.co.uk" , "hkallweit1@gmail.com" , "keescook@chromium.org" , "dmitry.torokhov@gmail.com" , "mturquette@baylibre.com" , "sboyd@codeaurora.org" , "michal.simek@xilinx.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-clk@vger.kernel.org" References: <1523389127-14243-1-git-send-email-jollys@xilinx.com> <1523389127-14243-10-git-send-email-jollys@xilinx.com> <5bcc47f7-3352-f0e6-29c5-78d5be96c1d1@arm.com> From: Sudeep Holla Organization: ARM Message-ID: <6579fdce-6845-70d5-1dc1-64d52debef19@arm.com> Date: Tue, 15 May 2018 09:57:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/05/18 20:18, Jolly Shah wrote: > Hi Sudeep, [..] >> >> As I mentioned in earlier patch, I don't see the need for this >> debugfs interface. Clock lay has read-only interface in debugfs >> already. Also if you want to debug clocks, you can do so using the >> driver which uses these clocks. Do you really want to manage clocks >> in user-space ? The whole idea of EEMI kind of interface is to >> abstract and hide the fine details even from non-trusted rich OS >> like Linux kernel, but by providing this you are doing exactly >> opposite. > > No we don't want to manage clocks in user-space. This debugfs is > meant for developer who wants to debug APIs behavior in case > something doesn't work as expected. Debugfs should be off by default > in production images. > Good that it's not used in production image. The clock layer has *sufficient* debugfs support that will *help in debugging*. So please drop this Xilinx specific clock debugfs. -- Regards, Sudeep