Re: [PATCH][2.6.9-rc2-mm3] perfctr ppc32 preliminary interruptsupport

From: Benjamin Herrenschmidt
Date: Sun Sep 26 2004 - 18:52:43 EST



> Tested on an MPC7455 (G4-type chip). The patch applies cleanly
> to and compiles ok in 2.6.9-rc2-mm3, but 2.6.9-rc2-mm3 has
> other problems on PPC32 so I tested it with 2.6.9-rc2 vanilla.

Be careful that some G4's have a bug which can cause a
perf monitor interrupt to crash your kernel :( Basically, the
problem is if any of TAU or PerfMon interrupt happens at the
same time as a DEC interrupt, some revs of the CPU can get
confused and lose the previous exception state.

Check out the erratas, but it may be worth adding a cputable
feature bit entry to note which models have useable interrupt
and which don't.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/