From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kumar Gala Subject: Re: [PATCH 1/2] pci: Add IORESOURCE_BIT entry for PCIe ECAM resources. Date: Mon, 2 Jun 2014 10:40:30 -0500 Message-ID: <390B3F94-C058-47D6-82CE-0393E60014FF@codeaurora.org> References: <20140530233034.GH1677@bart.dudau.co.uk> <1401496601-31983-1-git-send-email-Liviu.Dudau@arm.com> <1401496601-31983-2-git-send-email-Liviu.Dudau@arm.com> <4756033.LkcFQN0chs@wuerfel> <20140602150945.964D4C40381@trevor.secretlab.ca> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20140602150945.964D4C40381@trevor.secretlab.ca> Sender: linux-pci-owner@vger.kernel.org To: Grant Likely Cc: Arnd Bergmann , Liviu Dudau , Bjorn Helgaas , Rob Herring , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , linux-arm-msm , "linux-arm-kernel@lists.infradead.org" , Kishon Vijay Abraham I List-Id: devicetree@vger.kernel.org On Jun 2, 2014, at 10:09 AM, Grant Likely wro= te: > On Sat, 31 May 2014 20:41:04 +0200, Arnd Bergmann wro= te: >> On Saturday 31 May 2014 01:36:40 Liviu Dudau wrote: >>> We would like to be able to describe PCIe ECAM resources as >>> IORESOURCE_MEM blocks while distinguish them from standard >>> memory resources. Add an IORESOURCE_BIT entry for this case. >>>=20 >>> Signed-off-by: Liviu Dudau >>=20 >> I still don't see any value in this at all. What is the advantage >> of doing this opposed to just having a standardized 'reg' property >> for a particular compatible string? >=20 > I'm inclined to agree. It doesn't seem appropriate to put config spac= e > in ranges, and the host controller binding is responsible for > identifying how config space is memory mapped. >=20 > g. I don=92t agree when it comes to ECAM, but we can drop this for now unt= il someone really does that. However, what do we do with the 2 cases that exist in upstream that are= using ranges for cfg space? - k --=20 Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, host= ed by The Linux Foundation