[coreboot] Questions to ACPI, Interrupts, APICS (M57SLI)

Harald Gutmann harald.gutmann at gmx.net
Fri Mar 27 08:51:15 CET 2009


Hello,

a few days ago i happily sent a patch for fixing the PCI-issues on the m57sli 
to the list.
After some further tests, i just have gotten more questions, and nothing seems 
to be "really" fixed.

I attached two patches, one corrects just the GPIOS and does some changes to 
mptable.c, but nothing special.
The second corrects the GPIO stuff, and adds acpi support to the m57sli.

Now i've the following situation:
With the first patch (GPIO, mptable) nothing is "really" fixed, because PCI-E 
doesn't receive interrupts, and also another PCI-slot has interrupt problems. 

Here is for example a little output from the dmesg according to interrupts:
"[   31.542432] Pid: 0, comm: swapper Tainted: P          2.6.26-1-amd64 #1
[   31.542434]
[   31.542435] Call Trace:
[   31.542436]  <IRQ>  [<ffffffff8026c6c3>] __report_bad_irq+0x30/0x72
[   31.542459]  [<ffffffff8026c902>] note_interrupt+0x1fd/0x23b
[   31.542464]  [<ffffffff8026d18b>] handle_fasteoi_irq+0xa5/0xc8
[   31.542468]  [<ffffffff8020f5e4>] do_IRQ+0x6d/0xd9
[   31.542470]  [<ffffffff8020b0a3>] default_idle+0x0/0x49
[   31.542472]  [<ffffffff8020c46d>] ret_from_intr+0x0/0x19
[   31.542474]  <EOI>  [<ffffffff8021eb54>] native_safe_halt+0x2/0x3
[   31.542481]  [<ffffffff8021eb54>] native_safe_halt+0x2/0x3
[   31.542484]  [<ffffffff8020b0cd>] default_idle+0x2a/0x49
[   31.542486]  [<ffffffff8020ac79>] cpu_idle+0x89/0xb3
[   31.542493]
[   31.542494] handlers:
[   31.542495] [<ffffffffa02a6b8d>] (snd_ice1712_interrupt+0x0/0x1c2 
[snd_ice1712])
[   31.542507] Disabling IRQ #19" 

(Ideas for fixing that problem? This device is on a pci-slot, and has in 
mptable.c irq 19 assigned. Therefore i don't see in CB-code what could be done 
to fix it.)

With the second patch, including ACPI with the original (proprietary) dsdt.asl 
file, everything works fine.
The PCI-E graphic card works like a charm, there are no strange messages 
according to IRQ19 in the dmesg, ...

So now my basic question is:
What does the acpi part do, to get all the IRQ's correct? Why doesn't that 
work without ACPI support? (Is this maybe done in the dsdt.asl?)

Where do i have to correct things, to get PCI/PCI-E interrupts correct, and 
without ACPI?


Kind Regards,
Harald Gutmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core_clean.diff
Type: text/x-patch
Size: 4261 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090327/bcb3149d/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core_tmp.patch
Type: text/x-patch
Size: 199691 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090327/bcb3149d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090327/bcb3149d/attachment.sig>


More information about the coreboot mailing list