Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5415624imu; Wed, 19 Dec 2018 10:42:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/UGScm6tNylb0sTMm/2xM6rp6b+sOOLmK9cnOQnmbmf4fvb7vgQ4AkJaFaWmG2oOhAb7FDh X-Received: by 2002:a17:902:7791:: with SMTP id o17mr20892826pll.60.1545244944515; Wed, 19 Dec 2018 10:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545244944; cv=none; d=google.com; s=arc-20160816; b=lUbq/3oHFpOVRvkInBRJKCz86exXYMsz5ZQr3dqCi2qiw0hbObmUJkP3nQM/AZbBDE ccQdz/YGaS3pJnaIHiL8LO4xSOcvWxCFwY7cO6Uz1jcBvZfKQw65p7OlJtadBGnHaOG/ u7BA4EtIHMAjC8ABnTQEMuXLc6byIo40iyqVpcelwZ4GjxN3l6FT3jbaDWUYMWsQeau2 vOGhbzkAEzaA5Z2Ry6gL3xYZHxqxxs1vN8cH+l9eYRNQsXfBAVWMS0Ocz5BqorH/nE0m T8Vu9tz/rmOEOQ2d72F8CSbBfRejBKctULqS3dUoF+EH1IRWuTONacbZKzz5WNJrtevs eolw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5sEyyat1Da1SPoCeJ/revYzlWV6t7vub41oGFsecJVI=; b=ZlNL5pgzENrH0RHULbBeBcDqsL9AZIh2dOhUf/WLhtHO9LBLdfsz2xoBsG6jyFIWoB nKKLE7XPylvgw96mxbZrIQ/i6BbcEpmyuw3nFHRHEMTSnp2igw2CXET3wy0FQEKK6x3/ IA4qy0E96ixGHOxcragMI8ehfVVyfHB9COyhfq16u3TSCHRzX5MqDLb9OOaSMU3/xZlO dBLcHrZINWnZPyrgst+ZRApKxr91UWpRHd5Me9UD0PA3/QoPQ1Wc6Hhh5qxnrMhs9ov+ pvZIRBuxrue/RgVC7xfUvqCgJykjEeYBsoEf+mMfDktY1UFZ5Hl/Oe1E73Uac51JkGqc 68aQ== 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 y18si15614100plp.269.2018.12.19.10.42.07; Wed, 19 Dec 2018 10:42:24 -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; 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 S1730351AbeLSRSV (ORCPT + 99 others); Wed, 19 Dec 2018 12:18:21 -0500 Received: from muru.com ([72.249.23.125]:58790 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbeLSRSV (ORCPT ); Wed, 19 Dec 2018 12:18:21 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 84E3D80CD; Wed, 19 Dec 2018 17:18:23 +0000 (UTC) Date: Wed, 19 Dec 2018 09:18:16 -0800 From: Tony Lindgren To: Mark Brown Cc: David Lechner , Roger Quadros , ohad@wizery.com, bjorn.andersson@linaro.org, robh+dt@kernel.org, bcousson@baylibre.com, ssantosh@kernel.org, s-anna@ti.com, nsekhar@ti.com, t-kristo@ti.com, nsaulnier@ti.com, jreeder@ti.com, m-karicheri2@ti.com, woods.technical@gmail.com, linux-omap@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support Message-ID: <20181219171816.GE6707@atomide.com> References: <1543218769-5507-1-git-send-email-rogerq@ti.com> <1543218769-5507-6-git-send-email-rogerq@ti.com> <5BFFBCAC.9000004@ti.com> <5C191770.9090804@ti.com> <20181219123812.GC8130@sirena.org.uk> <5C1A670E.9020904@ti.com> <6ebcd7a6-6c85-0312-0651-fb4fbfc25e55@lechnology.com> <20181219170725.GH8130@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181219170725.GH8130@sirena.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Mark Brown [181219 17:07]: > On Wed, Dec 19, 2018 at 04:48:52PM +0100, David Lechner wrote: > > On 12/19/18 4:43 PM, Roger Quadros wrote: > > > > Did I do something wrong or we just need to enhance regmap_debugfs.c? > > > Do you assign the name field in pru_regmap_config and > > pru_debug_regmap_config? > > Yeah, you'll at least need to override the name since the default is to > use the name of the device and that'll result in two duplicates. Also combining IO regions often has a serious issue that the separate IO regions may not be in the same device (or same interconnect target module). This means that flushing a posted write with a read-back for an IO region will only flush it for a single device and not the other(s). And this leads into hard to find bugs :) Regards, Tony