Re: [v2 3/6] of: address: add support to parse PCI outbound-ranges
From: Lad, Prabhakar
Date: Mon Dec 16 2019 - 03:56:04 EST
Hi Bjorn,
Thank you for the review.
On Fri, Dec 13, 2019 at 9:05 PM Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
>
> On Fri, Dec 13, 2019 at 08:47:45AM +0000, Lad Prabhakar wrote:
> > From: "Lad, Prabhakar" <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> $ git log --oneline drivers/of/address.c
> 951d48855d86 of: Make of_dma_get_range() work on bus nodes
> 645c138636de of/address: Fix of_pci_range_parser_one translation of DMA addresses
> 81db12ee15cb of/address: Translate 'dma-ranges' for parent nodes missing 'dma-ranges'
> b68ac8dc22eb of: Factor out #{addr,size}-cells parsing
> c60bf3eb888a of: address: Follow DMA parent for "dma-coherent"
> 862ab5578f75 of/address: Introduce of_get_next_dma_parent() helper
>
> Make yours match. There are a few "of: address: " subjects, but the
> ones from Rob (the maintainer) use "of/address: ", so I'd use that.
>
will do the same for next iteration.
> > this patch adds support to parse PCI outbound-ranges, the
> > outbound-regions are similar to pci ranges except it doesn't
> > have pci address, below is the format for bar-ranges:
>
> s/pci/PCI/
> Capitalize sentences.
>
will fix that.
> Is "bar-range" an actual DT property? If it's supposed to be a
> generic description, "BAR range" would be better.
>
my bad, it should be outbound-range.
Cheers,
--Prabhakar
> > outbound-ranges = <flags upper32_cpuaddr lower32_cpuaddr
> > upper32_size lower32_size>;