PCI: rcar: Fix bridge logic configuration accesses
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 18 Feb 2014 02:11:11 +0000 (11:11 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 04:13:21 +0000 (13:13 +0900)
commit3bbee2f36d2e178c190f3125a1e0a65466f67ced
tree2bfde981de4000afe04cd48f5bcc8279a38f0c83
parent0092a09eb7ba1e2ef1d4f7944f94458511bf0912
PCI: rcar: Fix bridge logic configuration accesses

The bridge logic at slot 0 only supports reads up to 0x40 and the rest of
the PCI configuration space for this slot is marked as reserved in the
manual.

Trying a read from offset 0x100 is producing an error from the bridge. With
error interrupts enabled, the following is printed:

  pci-rcar-gen2 ee0d0000.pci: error irq: status 00000014

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit e64a2a973e179613489a0ddb1bb550dff108164e)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pci-rcar-gen2.c