From: Andi Kleen <ak@muc.de>
To: Linus Torvalds <torvalds@osdl.org>
Cc: md@Linux.IT, linux-kernel@vger.kernel.org
Subject: Re: irq 15: nobody cared! with KT600 chipset and 2.6.0-test9
Date: Sun, 23 Nov 2003 04:39:08 +0100 [thread overview]
Message-ID: <m3vfpbiwir.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <UReK.uF.5@gated-at.bofh.it> (Linus Torvalds's message of "Sun, 23 Nov 2003 02:30:14 +0100")
Linus Torvalds <torvalds@osdl.org> writes:
> On Sun, 23 Nov 2003, Marco d'Itri wrote:
>>
>> This is an ASUS A7V600 motherboard, and the second IDE channel does not
>> work at all. I verified that it works fine with a 2.4.x kernel.
>
> Can you enable DEBUG in "arch/i386/pci/pci.h" and ACPI debugging and then
> report what the system says at bootup both with ACPI enabled, and with
> "pci=noacpi".
>
> For some reason the system decides that your IDE controller is on irq3,
> which is clearly wrong. It's on irq15, but somebody told the PCI layer
> otherwise.
It's a long standing bug in how we handle VIA on board devices in ACPI.
It was a big problem on x86-64 too until I cheated and used only
PIC mode when there is a VIA southbridge.
Basically VIA has very specific rules on what interrupts can be assigned
to the onboard devices and they use an unusual ACPI construct for that
See http://bugme.osdl.org/show_bug.cgi?id=1530 for some more details.
(the same problem applies to 2.6 afaik)
Here's also some older description from VIA about the issues I saved:
>>
1) The _SRS method can only cope with IRQs <= 15 if SB is before VT8233.
After VT8235, _SRS method need not report IRQ for internal devices due to they are
+hardwired to fixed IRQ in APIC mode.
[AK: that is one problem with the ACPI code - it doesn't handle that the
_SRS report doesn't report it. Even ignoring the problems with
older SBs which would need some special handling code]
The BIOS returns fixed IRQs in the _PRS method when system is in APIC mode if SB is after
+VT8235.
(IDE-IRQ20, USB-IRQ21, Audio and Modem-IRQ22, LAN-IRQ23)
2) The _CRS method is hardcoded to return 0 ALWAYS for link devices in APIC mode.
We feel strange for this situation. This control method will check internal device's
+interrupt line (Rx3C of PCI configuration) to return current IRQ setting.
Will it be possible in Linux kernel driver which will reset the Rx3C to zero ?
<<
Forcing PIC mode will at least make it work. Of course it would be
better to fix the ACPI code to handle all this properly.
-Andi
next parent reply other threads:[~2003-11-23 3:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <UPPL.70W.11@gated-at.bofh.it>
[not found] ` <UReK.uF.5@gated-at.bofh.it>
2003-11-23 3:39 ` Andi Kleen [this message]
2003-11-23 4:23 ` Linus Torvalds
2003-11-23 5:10 ` Andi Kleen
2003-11-23 10:29 ` Marco d'Itri
2003-11-23 19:16 Brown, Len
-- strict thread matches above, loose matches on Subject: below --
2003-11-22 23:55 Marco d'Itri
2003-11-23 1:21 ` Linus Torvalds
2003-11-23 1:59 ` Linus Torvalds
2003-11-23 2:15 ` Marco d'Itri
2003-11-23 3:24 ` Linus Torvalds
2003-11-23 5:49 ` Len Brown
2003-11-23 11:40 ` Marco d'Itri
2003-11-23 16:40 ` Linus Torvalds
2003-11-23 18:52 ` Marco d'Itri
2003-11-23 19:12 ` Linus Torvalds
2003-11-23 19:41 ` Marco d'Itri
2003-11-15 10:43 Marco d'Itri
2003-11-16 11:13 ` Marco d'Itri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vfpbiwir.fsf@averell.firstfloor.org \
--to=ak@muc.de \
--cc=linux-kernel@vger.kernel.org \
--cc=md@Linux.IT \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®