OpenPic etc changes for SMP Power3
From: Tom Gall <hidden>
Date: 2001-01-13 05:20:01
Hi All,
Enclosed is a candidate patch for the current 2.4 tree. The set of
changes include:
1) The removal of openpic_setup_ISU (code moved to rewritten find_ISUs)
2) addition of a few IPI specific functions in open_pic.c
The reason is mostly centered on POWER3 has a *cough* feature that
you write be but read le when it comes to IPIs.
3) openpic_mapirq only should allow IRQs to go to processor one. The
software interrupt handler is not SMP safe.
4) openpic_enable_irq and openpic_disable_irq should no longer allow the
enablement or disablement of a timer or IPI irq
5) fixed a couple of bugs in smp.c when openpic_cause_IPI was called
with the param computed incorrectly
Additionally some changes (that I will push) for arch/ppc/mm/init.c
are included.
These used to be in the sources and I believe were lost as a result of
the recent difficulties with bk. Regardless they are included.
Please try and send comments back to tgall@rochcivictheatre.org /
tom_gall@vnet.ibm.com
I am especially concerned that I don't break anybody else by these
changes or regress current function in 2.4.
While I have tried to test as much as possible, I ran out of time
today and didn't get a chance to test boot on a b50 (604 chrp) and a F50
(4 way 604 chrp) but I did try this kernel out on a 170 (uni Power3) and
270 ( 2 way Power3) with success.
Thanks!
--
Hakuna Matata,
Tom
-----------------------------------------------------------
PPC Linux Guy "My heart is human, my blood is boiling,
my brain IBM" -- Mr Roboto, Styxx
tgall@rochcivictheatre.org
Attachments
- 2.4.1-smp-power3-patch [text/plain] 11440 bytes · preview