diff options
author | Stefan Agner <stefan@agner.ch> | 2019-02-06 10:57:32 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2019-04-25 18:06:51 +0200 |
commit | 0197a9cf06d5c0a45eeb97c7bff48a1dcb79b404 (patch) | |
tree | 7b517c3d685613956b2ab785b0760efd534c1328 /scripts/gdb/linux/tasks.py | |
parent | d9f5deef4e642a2cb2b09d0e695422980574c56f (diff) |
PCI: imx6: limit DBI register length
Define the length of the DBI registers and limit config space to its
length. This makes sure that the kernel does not access registers
beyond that point, avoiding the following abort on a i.MX 6Quad:
# cat /sys/devices/soc0/soc/1ffc000.pcie/pci0000\:00/0000\:00\:00.0/config
[ 100.021433] Unhandled fault: imprecise external abort (0x1406) at 0xb6ea7000
...
[ 100.056423] PC is at dw_pcie_read+0x50/0x84
[ 100.060790] LR is at dw_pcie_rd_own_conf+0x44/0x48
...
Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions