[coreboot] ACPI patches for Tyan s2895, s2892, s2891

Myles Watson mylesgw at gmail.com
Tue Mar 10 15:09:05 CET 2009


On Tue, Mar 10, 2009 at 7:00 AM, Rudolf Marek <r.marek at assembler.cz> wrote:
>>> If you can explain to me why the superIO changes.
>>
>> For some reason the SuperIO puts the RTC at 0x400, even though it's
>> usually at 0x70.  If I put it at 0x70 the keyboard and mouse don't
>> work :(  I put it at 0x90 and corrected the size so that it wouldn't
>> conflict with other devices.  That makes Linux happy with it.  It
>> still could be a problem for Windows not to have it at 0x70.
>
> Well maybe the RTC chip is elsewhere too?
>
>
>>> Also The SMM does nothing to
>>> do with IRQ9. Get rid of SMM for now. The IRQ 9 needs to be setup for
>>> ACPI in
>>> SB. Thats it (and perhaps it needed also an IRQ override).
>>
>> Sorry I must have misunderstood this again.  I thought this was why I
>> keep getting : IRQ9 nobody cared messages from Linux.
>
> What devices you think you have at IRQ9?
I don't think I have any.

> Maybe some spurious serial IRQ form superIO?
>
> Generally IRQ9 is used as ACPI SCI int.
> Just pressing the power button generates the IRQ for example. To make it
> work you need:
>
> 1) Set IRQ9 in chipset as ACPI IRQ
I don't know where I would do this.  I'm assuming you mean southbridge
when you say chipset.

> 2) Set the IRQ 9 override to level/low in MADT
> 3) Fill the FADT sci int to 9
>
> I think you have 2) 3) I failed to find 1) Please check. Also
> cat/proc/interrupts should state:
>
> ...
>  7:          0          0   IO-APIC-edge      parport0
>  8:          1          0   IO-APIC-edge      rtc0
>  9:          0          0   IO-APIC-fasteoi   acpi
>  16:    1645904          0   IO-APIC-fasteoi   uhci_hcd:usb1, ahci, nvidia
>  17:          0          0   IO-APIC-fasteoi   uhci_hcd:usb2, ide0, ide1
>
> The IRQ9 should be level/low - APIC-fasteoi
>
> Please post /proc/interrupts
Attached.

Thanks,
Myles
-------------- next part --------------
           CPU0       CPU1       CPU2       CPU3       
  0:        137          0          2        441   IO-APIC-edge      timer
  1:          0          6         11       9388   IO-APIC-edge      i8042
  4:          0          0          0          4   IO-APIC-edge    
  7:        103          0          0          0   IO-APIC-edge      parport0
  8:          0          1          0          0   IO-APIC-edge      rtc0
  9:          1        276         15      99709   IO-APIC-fasteoi   acpi
 12:          8       2253        356     210620   IO-APIC-edge      i8042
 14:          0        270        472     430834   IO-APIC-edge      pata_amd
 15:          0          0          0          4   IO-APIC-edge      pata_amd
 19:          0          0          0          3   IO-APIC-fasteoi   ohci1394
 20:          0          6          3       1091   IO-APIC-fasteoi   ehci_hcd:usb1, NVidia CK804
 21:          2       3342        663    7785207   IO-APIC-fasteoi   ohci_hcd:usb2, eth0
 22:          0          0          0          0   IO-APIC-fasteoi   sata_nv
 23:          0          0          0          0   IO-APIC-fasteoi   sata_nv
 50:          0         88          0          1   IO-APIC-fasteoi   ahci
 51:          0          0          0          0   IO-APIC-fasteoi   pata_jmicron
 53:        162    7635506         16        416   IO-APIC-fasteoi   eth1
NMI:          0          0          0          0   Non-maskable interrupts
LOC:    3487248    2729920    1947556    3789444   Local timer interrupts
RES:     635666     548595     481475     292570   Rescheduling interrupts
CAL:        493        482        469         95   function call interrupts
TLB:       3909       4023       2811      39787   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
SPU:          0          0          0          0   Spurious interrupts
ERR:        103


More information about the coreboot mailing list