[RFC][PATCH 7/9] Support for old IBM PReP boxes
Tom Rini
trini at kernel.crashing.org
Fri Jun 18 04:55:06 EST 2004
On Thu, Jun 10, 2004 at 06:08:03PM +0100, Leigh Brown wrote:
>
> This is to support the old OpenPICs in old E20/E30 machines. They
> seem to be mapped as I/O instead of memory mapped. These also seem
> to have a bug that the spurious interrupt always seems to be reported
> as 255. Changing the OPENPIC_VEC_SPURIOUS to 239 (which maps to
> 255 after adding the offset of 16) seems to make it work. As the
> change seems to make no difference on other machines, it seems better
> to do that than have special code for it. However, I don't really
> understand how this spurious vector stuff works, so....
If we don't change OPENPIC_VEC_SPURIOUS, how do the E20/E30 behave? Do
they blow up badly, or just have some spurious bad interrupts? I've
played with that hunk a bit on a sandpoint and lopec, and didn't see
anything go wrong (lopec didn't get any bad w/ or w/o, sandpoint, always
gets a few bad ones). If it's a non-fatal problem, I'd rather err on
the side of caution, and leave it be, or export openpic_set_spurious, so
you can give it the right setting on E20/E30.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list