kernel: add MIPS pci fix send upstream
authorMathias Kresin <dev@kresin.me>
Fri, 17 Mar 2017 06:29:16 +0000 (07:29 +0100)
committerMathias Kresin <dev@kresin.me>
Fri, 24 Mar 2017 07:09:39 +0000 (08:09 +0100)
commit2f8d086baa83dd36859fc4af83e5c8db885fd850
treea848d155ab20142e05ca117916bfef1fbb04767f
parentfce21ae4ccfcee0c28fb18f5507e145fb0b02dec
kernel: add MIPS pci fix send upstream

Upstream commit 23dac14d058f ("MIPS: PCI: Use struct list_head lists")
changed the controller list from reverse to straight order without
taking care of the changed order for the scan of the recorded PCI
controllers.

Traverse the list in reverse order to restore the former behaviour.

This patches fixes the following PCI error on lantiq:

  pci 0000:01:00.0: BAR 0: error updating (0x1c000004 != 0x000000)

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/generic/patches-4.9/170-MIPS-PCI-scan-PCI-controllers-in-reverse-order.patch [new file with mode: 0644]