Re: post-2.6.14 USB change breaks sparc64 boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 3 Nov 2005, Maciej W. Rozycki wrote:

> On Thu, 3 Nov 2005, Alan Stern wrote:
> 
> > >  This might actually want to be split to disable legacy stuff as soon as
> > > possible to prevent a flood of interrupts, sending SMIs and what not else.  
> > > That just requires poking at the PCI config space.  Whatever's the rest
> > > could be done later.  I guess hot-plugged USB host controllers are not
> > > configured for legacy support, so the early bits should not matter for
> > > them.
> > 
> > See this email thread:
> > 
> > http://marc.theaimsgroup.com/?l=linux-kernel&m=113081793516723&w=2
> 
>  Hmm, how does this relate to my suggestion?  Apart from me having to note
> that I have a MIPS-based system with an UHCI -- so these HCs are not
> completely limited to Intel-based systems.  Though, unsurprisingly, it
> doesn't use any of the legacy crap.  SMI from the south bridge is routed
> to somewhere IIRC; probably an ordinary interrupt (and happily ignored).

It's not particularly related to your suggestion, but it is related to the 
preceding email.  I just replied to the latest message in the thread to 
make sure that my reply was sent to anyone who might be interested, that's 
all.

In any case, I'm not so sure to what extent you can separate out the
disable-legacy stuff from the rest.  It's not good enough to disable
interrupt generation and bus-mastering; some controllers don't like it if
you do that while they are running.  It's necessary to shut the controller
down first.  And it looks like the code does just that -- there's not much 
else to separate out.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux