1 Oct 2009 01:30
RE: commit db8be50c4307dac2b37305fc59c8dc0f978d09ea causes MCA on hp rx8640
>On Wed, 2009-09-30 at 13:20 -0700, Yu, Fenghua wrote: >> >> Seems pci_resource_start is not set up yet when quirk_usb_handoff_ohci >> is called. > >Is it possible to fix that, so that it _is_ set up when we start calling >the PCI_FIXUP_HEADER quirks? > >Or do we need to introduce yet another type of PCI quirk.... or have USB >do something all of its own. > >I also hear of people wanting to kill USB off even _earlier_, to work >around yet more BIOS brokenness. What's base value in base = pci_ioremap_bar(pdev, 0)? Pci_resource_start should be setup in pci_read_bases(). Could you please dump res->start in pci_read_bases()? This res->start should happen before quirk_usb_handoff_ohci(). But somehow res->start is not setup when quirk_usb_handoff_ohci() is called. Thanks. -Fenghua -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@... More majordomo info at http://vger.kernel.org/majordomo-info.html
Very well.
I've now looked at tty code and my head spins.
> > > I would prefer to see a scheme that was well considered and planned out
> > > in advance, something that would work properly for all the USB serial
> > > drivers, even if it meant updating a bunch of them.
> > >
> > > The issue appears to boil down to this:
> > >
> > > When shutting down the hardware, _all_ the URBs have to be
> > > unlinked and no new ones may be submitted. This means the
> > > lower-level serial driver must not communicate with the
> > > device, even though the serial core might call subroutines
> > > which wish to do so.
> >
> > But that would be a deficiency in the usbserial layer by letting those
> > through, wouldn't it?
RSS Feed