lkml.org 
[lkml]   [2008]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: SB450: skip IRQ0 override if it is not routed to INT2 of IOAPIC
On Tue, Oct 07, 2008 at 06:57:57AM +0200, Ingo Molnar wrote:
>
> * Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
>
> > On Tue, Oct 07, 2008 at 05:41:32AM +0200, Ingo Molnar wrote:
> > >
> > > * Andreas Herrmann <andreas.herrmann3@amd.com> wrote:
> > >
> > > > So, let's work around BIOS bugs in Linux then ...
> > > >
> > > > Following patch is almost untested -- especially I didn't get my hands
> > > > on one of the HP Laptops with broken DSDT.
> > > [...]
> > > > On some HP nx6... laptops (e.g. nx6325) BIOS reports an IRQ0 override
> > > > but the SB450 chipset is configured such that timer interrupts goe to
> > > > INT0 of IOAPIC.
> > > >
> > > > Check IRQ0 routing and if it is routed to INT0 of IOAPIC skip the
> > > > timer override.
> > > >
> > > > Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
> > > >
> > > > ---
> > > > arch/x86/kernel/early-quirks.c | 48 ++++++++++++++++++++++++++++++++++++++++
> > > > 1 files changed, 48 insertions(+), 0 deletions(-)
> > >
> > > very nice, thanks Andreas! Applied to tip/x86/quirks. This PCI ID based
> > > quirk should be more complete than DMI matches.
> > >
> >
> > You may add 'Tested by: Dmitry Torokhov <dtor@mail.ru> on nx6115'
> > It works fine here with Andreas patch applied and with Rafael's patch
> > dropped.
> >
> > Thanks Andreas!
>
> ok, added your Tested-by to the changelog, thanks.
>
> I also applied the patch below to deprioritize the DMI quirks for this
> problem (without actually removing them, yet). Could you please check
> whether latest tip/master:
>
> http://people.redhat.com/mingo/tip.git/README
>
> boots fine out of box and that the WARN() does not trigger?
>

While I did not test tip/master I applied this patch on top of Andreas's
patch and the warning, as expected, did not trigger.

--
Dmitry


\
 
 \ /
  Last update: 2008-10-07 13:21    [W:0.067 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site