PERFORCE change 36551 for review

Peter Wemm peter at wemm.org
Mon Aug 25 17:19:45 PDT 2003


John Baldwin wrote:
> 
> On 21-Aug-2003 John Baldwin wrote:
> > 
> > On 21-Aug-2003 Marcel Moolenaar wrote:
> >> http://perforce.freebsd.org/chv.cgi?CH=36551
> >> 
> >> Change 36551 by marcel at marcel_nfs on 2003/08/21 00:30:38
> >> 
> >>       Aarrgghh. The interrupt issue on pluto1 and pluto2 are
> >>       very likely not driver problems. I forgot we have a hack
> >>       on the ia64 branch to deal with the fact that the non-
> >>       legacy interrupts used by the UARTs are edge sensitive,
> >>       active high. We really need to get that fixed in CVS...
> >> 
> >> Affected files ...
> >> 
> >> .. //depot/projects/uart/ia64/ia64/interrupt.c#4 edit
> >> 
> >> Differences ...
> >> 
> >> ==== //depot/projects/uart/ia64/ia64/interrupt.c#4 (text+ko) ====
> >> 
> >> @@ -266,9 +266,18 @@
> >>               struct sapic *sa = ia64_sapics[i];
> >>               if (irq < sa->sa_base || irq > sa->sa_limit)
> >>                       continue;
> >> +             /*
> >> +              * KLUDGE: Not all interrupts higher or equal to 16 are
> >> +              * active low and level sensitive. We don't know yet how
> >> +              * to check for this, so we hardcode the 2 cases we have
> >> +              * wrong explicitly. This kludge is specific to the HP
> >> +              * rx2600...
> >> +              */
> > 
> > Have you tried looking at any interrupt overrides in the MADT?
> > That is where the BIOS should tell you which interrupts above 15
> > have ISA-like parameters.
> 
> s/BIOS/EFI/

For the record:
/*
APIC: Length=192, Revision=1, Checksum=121,
        OEMID=HP, OEM Table ID=rx2600, OEM Revision=0x0,
        Creator ID=HP, Creator Revision=0x0
 */
/*
        Local APIC ADDR=0xfee00000
        Flags={}

        Type=Local APIC Override
        Local APIC ADDR=0x00000000fee00000

        Type=Local SAPIC
        ACPI CPU=0
        Flags={ENABLED}
        APIC ID=0
        APIC EID=0

        Type=Local SAPIC
        ACPI CPU=1
        Flags={ENABLED}
        APIC ID=1
        APIC EID=0

        Type=IO SAPIC
        APIC ID=0
        INT BASE=16
        ADDR=0xfed20800

        Type=IO SAPIC
        APIC ID=1
        INT BASE=27
        ADDR=0xfed22800

        Type=IO SAPIC
        APIC ID=2
        INT BASE=38
        ADDR=0xfed24800

        Type=IO SAPIC
        APIC ID=3
        INT BASE=49
        ADDR=0xfed26800

        Type=IO SAPIC
        APIC ID=4
        INT BASE=60
        ADDR=0xfed28800

        Type=IO SAPIC
        APIC ID=6
        INT BASE=71
        ADDR=0xfed2c800

        Type=IO SAPIC
        APIC ID=7
        INT BASE=82
        ADDR=0xfed2e800
 */

Cheers,
-Peter
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



More information about the p4-projects mailing list