Re: [PATCH v4 3/3] PCI: imx6: limit DBI register length

2018-12-04 Thread Leonard Crestez
On Tue, 2018-12-04 at 17:55 +0100, Stefan Agner wrote: > Define the length of the DBI registers. 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/pci\:00/\:00\:00.0/con

[PATCH v4 3/3] PCI: imx6: limit DBI register length

2018-12-04 Thread Stefan Agner
Define the length of the DBI registers. 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/pci\:00/\:00\:00.0/config [ 100.021433] Unhandled fault: imprecise external abort