diff options
author | Murali Karicheri <[email protected]> | 2015-03-03 12:52:10 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-03-03 14:42:56 -0600 |
commit | 0c79c81c779fe54e67c0ce8c1fda551ca57d8a35 (patch) | |
tree | 0abd05512351bc8cd1d93a0d4af344a217368222 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1f5c69aa51f9c7c8d2a5c2e4dc339f6c7d5c15cd (diff) |
of: Fix size when dma-range is not used
Fix the dma-range size when the DT attribute is missing, i.e., set size to
dev->coherent_dma_mask + 1 instead of dev->coherent_dma_mask. Also add
code to check invalid values of size configured in DT and log error.
Tested-by: Suravee Suthikulpanit <[email protected]> (AMD Seattle)
Signed-off-by: Murali Karicheri <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Acked-by: Will Deacon <[email protected]>
CC: Joerg Roedel <[email protected]>
CC: Grant Likely <[email protected]>
CC: Rob Herring <[email protected]>
CC: Russell King <[email protected]>
CC: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions