]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: BCM5301X: Add back handler ignoring external imprecise aborts
authorRafał Miłecki <rafal@milecki.pl>
Sat, 29 Oct 2016 11:12:29 +0000 (13:12 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 16 Nov 2016 20:39:05 +0000 (12:39 -0800)
commit09f3510fb70a46c8921f2cf4a90dbcae460a6820
tree3a7bf022267cbdb5a0d11f3ba2720a2f734d1d65
parent1001354ca34179f3db924eb66672442a173147dc
ARM: BCM5301X: Add back handler ignoring external imprecise aborts

Since early BCM5301X days we got abort handler that was removed by
commit 937b12306ea79 ("ARM: BCM5301X: remove workaround imprecise abort
fault handler"). It assumed we need to deal only with pending aborts
left by the bootloader. Unfortunately this isn't true for BCM5301X.

When probing PCI config space (device enumeration) it is expected to
have master aborts on the PCI bus. Most bridges don't forward (or they
allow disabling it) these errors onto the AXI/AMBA bus but not the
Northstar (BCM5301X) one.

iProc PCIe controller on Northstar seems to be some older one, without
a control register for errors forwarding. It means we need to workaround
this at platform level. All newer platforms are not affected by this
issue.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mach-bcm/bcm_5301x.c