Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp621093imu; Thu, 20 Dec 2018 02:35:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vcf0hVLTfWuo5pw2jpHV/e85M/MV3zPMtITwNk1+OaI14cEe9neSUktcmN45TZ5JT5GwiR X-Received: by 2002:a17:902:7791:: with SMTP id o17mr23152684pll.60.1545302159654; Thu, 20 Dec 2018 02:35:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545302159; cv=none; d=google.com; s=arc-20160816; b=gOx0aGd9SCHMPWf9KOt62BkhFpdOOAhfVuJYcxiAcKl9rH1WB5lyD8gWqSaGX0pmqh 663HbEWaEtYGa+TvzZeataPs4VjbuoJOpZqkg3V9VK6Y1qrgAzSSZEdGAGlCiIGy4ZJl sqGoLPWWIVUtHcRWyyEUSJbLMXxWB7Qcm/iM/Rv78LpZyWOt5Mt3mVIObuuaqKAhz5R3 2gd1oUNJ3WMB1FhrX8DqUEffJNkXr/6rAhPTrVmzw4CZvq0K32nYdaPl4slC9ZHWeeKj YeKlNJcHhjanra9yWyFDgUujOZvKu8STBUvCBu4M565ZV8gYSMunwgm5BiUuq8GOKkss vmjg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=/aGQd8xmVZuD7Ma5Kr/9Tbe5obmiYPgBVqsFuXLB7js=; b=UXFtmWUAvw8xlvLyxfwuBB/rWCXbjzJkFtXYTYzOJLvCOtUSKYkgqrWUIfrardsqMW wTAmEdPy+xAb4RsewATLkIJETj3yyWh67bVtf8VuDX+ctfhSCokesH8+K72SW5x7zF7I IvXGGJRZnpymP9QDLGc0dvmu+Zow+5+J2UCgqrVFGEvmMAtn90TL+Oc4tfWSi0B9qaK7 lxgEDCbhpbFWf23KzzJhjlWTTtZZ5Q8TKC3SrzYq4Vw73nMhsW4pg8Tm/qxLu4LB/QnQ Jozohy/LNNOZ9NTvkDDqn6NPdZ5FERoDOReHUQE45uts43sVEEsXt7PWJvEMJUhhApjR 3Ljg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TAj9Pq1K; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e68si344211pfb.101.2018.12.20.02.35.43; Thu, 20 Dec 2018 02:35:59 -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=@ti.com header.s=ti-com-17Q1 header.b=TAj9Pq1K; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728615AbeLTIqS (ORCPT + 99 others); Thu, 20 Dec 2018 03:46:18 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:53944 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbeLTIqS (ORCPT ); Thu, 20 Dec 2018 03:46:18 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id wBK8jPGH038289; Thu, 20 Dec 2018 02:45:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1545295525; bh=/aGQd8xmVZuD7Ma5Kr/9Tbe5obmiYPgBVqsFuXLB7js=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=TAj9Pq1K+2YbhMzHkmDjK2K8uUdJC2Z8wtoUQ8jH9uaA44sqF6IdthcTB3OqAnXYi D85MCeA8v2r30OtGc6nz/Omy3AaYluAKSU8iSX6ac2RApLa4ePA7LNTjiUmhieDLQE TjRTtf6gjLzPFRLnOxyjtTDNF/opS8Hx7bZ2AxxM= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wBK8jPEg111241 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 20 Dec 2018 02:45:25 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 20 Dec 2018 02:45:24 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Thu, 20 Dec 2018 02:45:24 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wBK8jKRX009105; Thu, 20 Dec 2018 02:45:20 -0600 Subject: Re: [PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support To: Tony Lindgren , Mark Brown 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> <20181219171816.GE6707@atomide.com> CC: David Lechner , , , , , , , , , , , , , , , , From: Roger Quadros Message-ID: <5C1B56A0.7050801@ti.com> Date: Thu, 20 Dec 2018 10:45:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20181219171816.GE6707@atomide.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/12/18 19:18, Tony Lindgren wrote: > * 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. I hadn't set the name field and this was the issue. It is resolved now. Thanks :) > > 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 :) Agree. cheers, -roger -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki