mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick Piggin <npiggin@suse.de>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: David Woodhouse <dwmw2@infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Patch "USB: Work around BIOS bugs by quiescing USB controllers earlier" causes MCEs
Date: Tue, 6 Oct 2009 06:44:01 +0200	[thread overview]
Message-ID: <20091006044401.GA30316@wotan.suse.de> (raw)
In-Reply-To: <19142.21600.475756.10647@pilspetsen.it.uu.se>

On Fri, Oct 02, 2009 at 09:28:32PM +0200, Mikael Pettersson wrote:
> Mikael Pettersson writes:
>  > Nick Piggin writes:
>  >  > Hi,
>  >  > 
>  >  > Your patch db8be50c4307dac2b37305fc59c8dc0f978d09ea is causing my
>  >  > ia64 Altix system to die with an MCE in early boot.
>  > 
>  > The same commit has been confirmed by two people on the ARM list
>  > to cause boot failures on two different Intel XScale IOP machines.
>  > The machines have serial consoles, but only show
>  > 
>  > Uncompressing Linux... done. Booting the kernel.
>  > 
>  > before they hang.
> 
> I've just investigated this on one of my ARM boxes that this commit kills.
> 
> The commit changed quirk_usb_early_handoff to be a FIXUP_HEADER, which
> caused it to be invoked during the early stages of the platform's PCI
> init (arch/arm/kernel/bios32.c). quirk_usb_handoff_uhci() gets a bogus
> I/O base address, passes that down to uhci_reset_hc(), causing a kernel
> page fault in the first "outw(UHCI_USBCMD_HCRESET, base + UHCI_USBCMD);",
> causing the kernel to oops.
> 
> (All this occurs before the serial console works, so I had to add a
> platform-specific puts() and lots of tracing statements.)
> 
> Changing this quirk back to a FIXUP_FINAL allows the platform's PCI
> init to complete. Later on the generic pci_init() calls the quirk,
> which now gets the correct I/O base address, and the outw()s in
> uhci_reset_hc() don't fail.

Thanks for this, I guess we await David's response.

  reply	other threads:[~2009-10-06  4:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-02  7:34 Nick Piggin
2009-10-02 10:26 ` Mikael Pettersson
2009-10-02 19:28   ` Mikael Pettersson
2009-10-06  4:44     ` Nick Piggin [this message]
2009-10-06  4:53       ` David Woodhouse
2009-10-11 22:51         ` Mikael Pettersson
2009-10-12 17:34       ` Bjorn Helgaas

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=20091006044401.GA30316@wotan.suse.de \
    --to=npiggin@suse.de \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    /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®