Re: [PATCH v8] PCI: imx6: limit DBI register length

2019-02-26 Thread Leonard Crestez
On Tue, 2019-02-26 at 14:06 +0100, Stefan Agner wrote: > 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: > > +static void

[PATCH v8] PCI: imx6: limit DBI register length

2019-02-26 Thread Stefan Agner
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/pci\:00/\:00\:00.0/config [ 100.021433]