Thread (2 messages) 2 messages, 2 authors, 2016-10-31

[PATCH] ARM: BCM5301X: Add back handler ignoring external imprecise aborts

From: zajec5@gmail.com (Rafał Miłecki)
Date: 2016-10-31 22:16:20
Also in: linux-devicetree, linux-pci

Possibly related (same subject, not in this thread)

On 31 October 2016 at 23:05, Scott Branden [off-list ref] wrote:
On 16-10-31 02:56 PM, Florian Fainelli wrote:
quoted
- fixups the aborts in the kernel, look where they come from, by using
some bit of magic, looking at PCIe registers and whatnot (provided that
is even possible), not too hard, but can take a while, and is error prone
Option 4 sounds like the proper solution - check the range the abort is due
to the PCI device enumeration and only ignore those aborts.
This was already suggested by Arnd:
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-April/422873.html
and Ray was checking some internal datasheets, but I'm afraid he never
found info on checking if error was caused by PCIe controller.

Maybe we could think about some BCM5301X API (extra symbol exported by
arch code) for starting ignoring aborts and stopping that. We could
ignore aborts during scanning only but honestly it sounds like a bit
hacky solution to me.

quoted
I can certainly advocate that option 3 is the one that gives a working
device, and this is what matters from a distribution perspective like
LEDE/OpenWrt.
Since I don't use BCM5301x option 3 is fine by me.
So for it seems like the best solution to me, but I'm open for changes
if someone points another that is clean & better one.

-- 
Rafa?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help