[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201306121710.58601.arnd@arndb.de>
Date: Wed, 12 Jun 2013 17:10:58 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Jingoo Han <jg1.han@...sung.com>
Cc: "'Jason Gunthorpe'" <jgunthorpe@...idianresearch.com>,
linux-arm-kernel@...ts.infradead.org,
"'Thomas Petazzoni'" <thomas.petazzoni@...e-electrons.com>,
linux-samsung-soc@...r.kernel.org,
"'Siva Reddy Kallam'" <siva.kallam@...sung.com>,
"'Surendranath Gurivireddy Balla'" <suren.reddy@...sung.com>,
linux-pci@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
"'Thierry Reding'" <thierry.reding@...onic-design.de>,
linux-kernel@...r.kernel.org,
"'Grant Likely'" <grant.likely@...retlab.ca>,
"'Kukjin Kim'" <kgene.kim@...sung.com>,
"'Thomas Abraham'" <thomas.abraham@...aro.org>,
"'Bjorn Helgaas'" <bhelgaas@...gle.com>,
"'Andrew Murray'" <andrew.murray@....com>
Subject: Re: [PATCH 6/6] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC
On Tuesday 11 June 2013, Jingoo Han wrote:
> > > + ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00200000 /* configuration space */
> > > + 0x81000000 0 0 0x40200000 0 0x00004000 /* downstream I/O */
> > > + 0x82000000 0 0 0x40204000 0 0x10000000>; /* non-prefetchable memory */
> > > + };
> >
> ...
> > Also, shouldn't your memory space end on a 256MB boundary, rather than
> > extend up to 0x50203fff?
>
> According to the manual of Exynos PCIe, each memory space for Exynos PCIe
> can support 512MB, including I/O, CFG regions.
>
> Is there any problem when over 256MB boundary is used?
> Please let me know. :)
No, that's not a problem, but I think you should have the window span
the entire space that is provided in hardware. If there are 512 MB total, why
not use them?
You could use
ranges = <0x82000000 0 0 0x40204000 0 0x1fdfc000>;
to pass a range for the memory space that extends all the way until
0x5fffffff.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists