From: Andi Kleen <ak@suse.de>
To: Robert Hancock <hancockr@shaw.ca>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Asus A8N-SLI Deluxe latest BIOS wants acpi_use_timer_override
Date: Fri, 3 Aug 2007 22:01:15 +0200 [thread overview]
Message-ID: <200708032201.15355.ak@suse.de> (raw)
In-Reply-To: <46B37619.2030205@shaw.ca>
On Friday 03 August 2007 20:38:17 Robert Hancock wrote:
> It appears that the latest BIOS version 1805 for the ASUS A8N-SLI Deluxe
> board fixes the broken ACPI timer override that was in earlier versions,
> and which the kernel ignores on nForce4 chipsets. Now the same override:
>
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
>
> seems to be needed, since without acpi_use_timer_override we end up
> getting this (with apic=verbose):
That's really bad.
> ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
> ..MP-BIOS bug: 8254 timer not connected to IO-APIC
> ...trying to set up timer (IRQ0) through the 8259A ... failed.
> ...trying to set up timer as Virtual Wire IRQ... failed.
> ...trying to set up timer as ExtINT IRQ... works.
>
> and the timer IRQ ends up routed as XT-PIC instead of IO-APIC-edge. With
> acpi_use_timer_override we just get:
>
> ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
>
> and it works through the IO-APIC.
>
> I should think there must be a better way to handle this automatically..
I have pending patches to key the NF5 case on the PCI-ID, but
that obviously cannot be done for NF4.
I cannot think of anything good but putting DMI BIOS version
checks in for that specific board.
> Is there some way we can tell, given we have a chipset with a
> potentially broken BIOS, from the configuration of the IOAPIC whether
> the timer override is needed or not? Unfortunately I don't have output
> from apic=verbose with the old BIOS with the broken override, but maybe
> somebody else can provide that..
We don't really know which pins are connected where. This means they
likely have some bits they tweaked to get the different behaviour, but they're
unknown. There are also some northbridge bits that can be tweaked
(e.g. some of the ATI BIOS workarounds used to use that)
but it's still unknown what the Nvidia chipset actually does and if
they really help here.
Ok in theory you could diff config space dumps between the two BIOS
versions to try to figure it out, but that would be still pretty risky
and I don't think it would be a good idea to trust such results.
-Andi
next prev parent reply other threads:[~2007-08-03 20:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 18:38 Asus A8N-SLI Deluxe latest BIOS wants acpi_use_timer_override Robert Hancock
2007-08-03 20:01 ` Andi Kleen [this message]
2007-08-03 20:27 ` Len Brown
2007-08-03 20:36 ` Andi Kleen
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=200708032201.15355.ak@suse.de \
--to=ak@suse.de \
--cc=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.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