diff options
author | 2020-02-06 14:26:40 +0000 | |
---|---|---|
committer | 2020-02-14 15:27:08 -0600 | |
commit | 9d55bebd9816903b821a403a69a94190442ac043 (patch) | |
tree | a48b5eb8dea1012bc225b62e0445595b89e5508a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | of/address: use range parser for of_dma_get_range (diff) | |
download | linux-dev-9d55bebd9816903b821a403a69a94190442ac043.tar.xz linux-dev-9d55bebd9816903b821a403a69a94190442ac043.zip |
of/address: Support multiple 'dma-ranges' entries
Currently, the DMA offset and mask for a device are set based only on the
first 'dma-ranges' entry. We should really be using all the entries. The
kernel doesn't yet support multiple offsets and sizes, so the best we can
do is to find the biggest size for a single offset. The algorithm is
copied from acpi_dma_get_range().
If there's different offsets from the first entry, then we warn and
continue. It really should be an error, but this will likely break
existing DTs.
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions