From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756555Ab3ILGe7 (ORCPT ); Thu, 12 Sep 2013 02:34:59 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:38885 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756468Ab3ILGe4 (ORCPT ); Thu, 12 Sep 2013 02:34:56 -0400 Message-ID: <5231607C.10702@ti.com> Date: Thu, 12 Sep 2013 12:04:36 +0530 From: Kishon Vijay Abraham I User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jingoo Han CC: "'Pratyush Anand'" , "'Bjorn Helgaas'" , , , "'Kukjin Kim'" , "'Mohit KUMAR'" , "'Arnd Bergmann'" , "'Sean Cross'" , "'Thierry Reding'" , "'SRIKANTH TUMKUR SHIVANAND'" , , Subject: Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part References: <002801ce8376$a807dbf0$f81793d0$@samsung.com> <51ED49D6.9050209@ti.com> <000701ce8741$fe47deb0$fad79c10$@samsung.com> <51EE22DF.6090902@ti.com> <001301ce8772$522dfc50$f689f4f0$@samsung.com> In-Reply-To: <001301ce8772$522dfc50$f689f4f0$@samsung.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jingoo, On Tuesday 23 July 2013 12:30 PM, Jingoo Han wrote: > On Tuesday, July 23, 2013 3:30 PM, Kishon Vijay Abraham I wrote: >> On Tuesday 23 July 2013 06:44 AM, Jingoo Han wrote: >>> On Tuesday, July 23, 2013 12:04 AM, Kishon Vijay Abraham I wrote: >>>> On Thursday 18 July 2013 10:51 AM, Jingoo Han wrote: >>>>> Exynos PCIe IP consists of Synopsys specific part and Exynos >>>>> specific part. Only core block is a Synopsys designware part; >>>>> other parts are Exynos specific. >>>>> Also, the Synopsys designware part can be shared with other >>>>> platforms; thus, it can be split two parts such as Synopsys >>>>> designware part and Exynos specific part. >>>> >>>> some more queries and comments.. >>> >> . >> . >> >> . >> . >>>>> + of_pci_range_to_resource(&range, np, &pp->cfg); >>>>> + pp->config.cfg0_size = resource_size(&pp->cfg)/2; >>>>> + pp->config.cfg1_size = resource_size(&pp->cfg)/2; >>>>> + } >>>>> + } >>>>> + >>>>> + pp->dbi_base = devm_ioremap(pp->dev, pp->cfg.start, >>>>> + resource_size(&pp->cfg)); >>>> >>>> Why is configuraion space divided into two? >>> >>> Sorry, I don't know the exact reason. :( >>> Pratyush Anand may know about this. >>> Pratyush Anand, could you answer the question? >>> >>> Also, if you find some problems, please let me know. One more query.. Where is inbound translation configuration done in your driver? how should it be done? Thanks Kishon