[PATCH 04/23] ARM: dt: tegra30: Register AHB/IOMMU device first

Hiroshi Doyu hdoyu at nvidia.com
Wed Jun 26 07:06:23 EDT 2013


Thierry Reding <thierry.reding at gmail.com> wrote @ Wed, 26 Jun 2013 12:45:14 +0200:

> * PGP Signed by an unknown key
> 
> On Wed, Jun 26, 2013 at 12:28:07PM +0300, Hiroshi Doyu wrote:
> > Move up AHB/IOMMU to register them earlier than others. IOMMU needs
> > AHB, and IOMMU needs to register all platform devices as
> > IOMMU'able. So AHB/IOMMU needs to be instanciated at very beginning.
> > 
> > Signed-off-by: Hiroshi Doyu <hdoyu at nvidia.com>
> > ---
> >  arch/arm/boot/dts/tegra30.dtsi | 33 +++++++++++++++++----------------
> >  1 file changed, 17 insertions(+), 16 deletions(-)
> 
> This just happens to work because DTC keeps the order from the DTS in
> the DTB and the Linux implementation sequentially instantiates devices
> from DT nodes. Neither should be assumed though when writing DTS files.
> Other implementations (DTC or OS) could do things differently.
> 
> But if I understand correctly there is another solution which should
> solve this issue properly.

As you've noticed:

https://lists.ozlabs.org/pipermail/devicetree-discuss/2013-June/036746.html



More information about the linux-arm-kernel mailing list