diff options
author | 2019-09-06 09:28:13 +0530 | |
---|---|---|
committer | 2019-10-25 10:18:00 +0100 | |
commit | 9415743e4c8a029bfa46654e3a0a681a8db473f8 (patch) | |
tree | 402208cffee2efe343dcdb5ae50b60d70dcd78bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.4-rc1 (diff) | |
download | linux-dev-9415743e4c8a029bfa46654e3a0a681a8db473f8.tar.xz linux-dev-9415743e4c8a029bfa46654e3a0a681a8db473f8.zip |
PCI: iproc: Invalidate PAXB address mapping before programming it
Invalidate PAXB inbound/outbound address mapping on probe before
programming it.
Kernel relies on outbound/inbound windows VALID bit in OARR registers to
detect if a window was programmed and if it is set it does not overwrite
it.
This causes issues on soft reboot (eg kexec) since the host controller
does not go through a HW reset on softboot so the kernel detects valid
outbound/inbound windows configuration and is not able to reprogramme
it as expected.
Therefore, in order to make sure outbound/inbound windows are
reprogrammed on soft reboot (eg kexec), invalidate memory windows on
each probe to fix the issue.
Signed-off-by: Abhishek Shah <abhishek.shah@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions