]> git.hungrycats.org Git - linux/commit
[PATCH] ia64: New CMC/CPE polling
authorAlex Williamson <alex_williamson@hp.com>
Mon, 4 Aug 2003 09:09:05 +0000 (02:09 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 4 Aug 2003 09:09:05 +0000 (02:09 -0700)
commit765a844709390bdc06885ce6ca8cab19c956918c
tree7c76d628764f4fb98242e32c3c2a4dd9f1d17cca
parent6fd79ab50b013d405cd74ed6c7339532a1110f92
[PATCH] ia64: New CMC/CPE polling

Here's a redesign of the CMC and CPE polling for both 2.6.0-test2
and 2.4.21.  This is roughly the same design I requested comment on
a while back (BTW, nobody commented...).  Basically, rather than
flooding all the cpus in parallel, I used some low priority interrupts
to cascade through the cpus.  This should be much more scalable.  I
also added a new feature of enabling interrupts for the CMC and CPE
handlers.  The SAL spec claims these functions are SMP safe and
re-entrant and even recommends that the corrected error handlers
should run with interrupts enabled.  It works on HP boxes, others
might want to double check that their firmware adheres to the spec.
The combination of these things should keep polling from impacting
system response time.
arch/ia64/kernel/iosapic.c
arch/ia64/kernel/mca.c
arch/ia64/sn/kernel/setup.c
include/asm-ia64/hw_irq.h
include/asm-ia64/mca.h
include/asm-ia64/sal.h