summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2019-02-06 10:57:32 +0100
committerStefan Agner <stefan.agner@toradex.com>2019-10-03 16:16:16 +0200
commitedece536015020cb7cb8e2d474bf25369c08176f (patch)
tree4868a66fb0ebfebce162028efbfc7d00a95b6f73 /net/lapb/lapb_timer.c
parent78ad2a8961374cb99ca5a78add879f5091ad4a26 (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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions