Fix ISA PIC interrupt acknowledge address detection
PATCH 1/1 Fix ISA PIC interrupt acknowledge address detection
The ISA PIC address for acknowledging interrupts is actually defined in residual data as a 32-bit system address, rather than a 32-bit memory address. This is rather embarrasing, as I don't think this function has done the right thing, ever.
Tested and working fine on my Carolina and 140.
Thanks,
Leigh.
ppc/platforms/residual.c renamed from ppc/platforms/residual.c.orig +2 -2
@@ -935,8 +935,8 @@ goto unknown;#define p pkt->L4_Pack.L4_Data.L4_PPCPack -/* Must be 32-bit memory address */ -if (!((p.PPCData[0 ] ==2 ) && (p.PPCData[1 ] ==32 ))) +/* Must be 32-bit system address */ +if (!((p.PPCData[0 ] ==3 ) && (p.PPCData[1 ] ==32 ))) goto unknown;/* It doesn't seem to work where length != 1 (what can I say? :-/ ) */
Quoted 6 lines · Leigh Brown
The ISA PIC address for acknowledging interrupts is actually defined in residual data as a 32-bit system address, rather than a 32-bit memory address. This is rather embarrasing, as I don't think this function has done the right thing, ever.
Tested and working fine on my Carolina and 140.
And this is important, as 2.6.9-rcX suffer from the dreaded Carolina "lost interrupt" problems. Could we try to get this patch into 2.6.9 final?
-Hollis
Quoted 7 lines · Hollis Blanchard
Quoted 5 lines · Leigh Brown
The ISA PIC address for acknowledging interrupts is actually defined in residual data as a 32-bit system address, rather than a 32-bit memory address. This is rather embarrasing, as I don't think this function has done the right thing, ever.
Quoted 5 lines
Quoted 1 line
Tested and working fine on my Carolina and 140.
And this is important, as 2.6.9-rcX suffer from the dreaded Carolina "lost interrupt" problems. Could we try to get this patch into 2.6.9 final?
I'll try and get this in quickly.
Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/