diff options
author | 2019-03-25 15:09:32 +0530 | |
---|---|---|
committer | 2019-04-15 13:24:01 +0100 | |
commit | 2aadcb0cd39198833fabe1c45084f78686e71a6c (patch) | |
tree | b9a1211d8069ca99ba7df56d1eb1e1a6ded0f65d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: dwc: Enable iATU unroll for endpoint too (diff) | |
download | wireguard-linux-2aadcb0cd39198833fabe1c45084f78686e71a6c.tar.xz wireguard-linux-2aadcb0cd39198833fabe1c45084f78686e71a6c.zip |
PCI: dwc: Fix ATU identification for designware version >= 4.80
Synopsys designware version >= 4.80 uses a separate register space
for programming ATU. The current code identifies if there exists a
separate register space by accessing the register address of ATUs
in designware version < 4.80. Accessing this address results in
abort in the case of K2G.
Fix it here by adding "version" member to struct dw_pcie. This should be
set by platform specific drivers and designware core will use it to
identify if the platform has a separate ATU space. For platforms which
have not populated the version member, the old method of identification
will still be used.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions