Blackfin: workaround anomaly 05000310
authorBarry Song <barry.song@analog.com>
Fri, 27 Nov 2009 09:18:21 +0000 (09:18 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Dec 2009 05:15:59 +0000 (00:15 -0500)
commita00b4fe5ce4b98f7c4457fffdb392d7bfece2e78
treec4416dd2c7264aac87cd1d4be948f6ca4379158f
parent340a1be1eed07bb46c2f2d853e60234c1d5bb1c3
Blackfin: workaround anomaly 05000310

While fetching instructions at the boundary of L1 instruction SRAM, a false
External Memory Addressing Error might be triggered.  We should ignore this
and continue on our way to avoid random crashes.

Because hardware errors are not exact in the Blackfin architecture, we need
to catch a few more common cases when the code flow changes and the signal
is finally delivered.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/traps.c