Tested patch against Vanilla kernels 4.20.11 and 5.0-rc7. It is working properly on both kernels. Tested-by: Luis Mendes <luis.p.mendes@xxxxxxxxx> On Wed, Feb 20, 2019 at 9:48 AM Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx> wrote: > > The behavior of the different registers of the PCI-to-PCI bridge is > currently encoded in two global arrays, shared by all instances of > PCI-to-PCI bridge emulation. > > However, we will need to tweak the behavior on a per-bridge basis, to > accommodate for different capabilities of the platforms where this > code is used. In preparation for this, this commit creates a > per-bridge copy of the register behavior arrays, so that they can > later be tweaked on a per-bridge basis. > > Reported-by: Luís Mendes <luis.p.mendes@xxxxxxxxx> > Reported-by: Leigh Brown <leigh@xxxxxxxxxxxxx> > Cc: Luís Mendes <luis.p.mendes@xxxxxxxxx> > Cc: Leigh Brown <leigh@xxxxxxxxxxxxx> > Fixes: 1f08673eef123 ("PCI: mvebu: Convert to PCI emulated bridge config space") > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx>