linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: ibm4xx_quiesce_eth?
  2008-01-10 18:38 ibm4xx_quiesce_eth? Sean MacLennan
@ 2008-01-10 18:24 ` Josh Boyer
  2008-01-11  6:14   ` ibm4xx_quiesce_eth? Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Boyer @ 2008-01-10 18:24 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: 'linuxppc-dev'

On Thu, 10 Jan 2008 13:38:12 -0500
Sean MacLennan <smaclennan@pikatech.com> wrote:

> What exactly does this function do?
> 
>     /* Quiesce the MAL and EMAC(s) since PIBS/OpenBIOS don't
>      * do this for us
>      */
> 
> On the taco, with the 440EP, it doesn't seem to make any difference if I 
> call this or not. Since I am using u-boot, is it not needed?

There are firmwares that do not reset the EMAC and MAL before passing
control to the client program (Linux in our case).  This can cause
weird things to happen, like spurious interrupts or DMAs from the
hardware overwriting kernel memory.  So we quiesce the hardware really
early on those.

I don't believe U-Boot has that problem.  If it does, it should be
fixed :)

josh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* ibm4xx_quiesce_eth?
@ 2008-01-10 18:38 Sean MacLennan
  2008-01-10 18:24 ` ibm4xx_quiesce_eth? Josh Boyer
  0 siblings, 1 reply; 4+ messages in thread
From: Sean MacLennan @ 2008-01-10 18:38 UTC (permalink / raw)
  To: 'linuxppc-dev'

What exactly does this function do?

    /* Quiesce the MAL and EMAC(s) since PIBS/OpenBIOS don't
     * do this for us
     */

On the taco, with the 440EP, it doesn't seem to make any difference if I 
call this or not. Since I am using u-boot, is it not needed?


Cheers,
   Sean

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ibm4xx_quiesce_eth?
  2008-01-10 18:24 ` ibm4xx_quiesce_eth? Josh Boyer
@ 2008-01-11  6:14   ` Stefan Roese
  2008-01-11  6:19     ` ibm4xx_quiesce_eth? Sean MacLennan
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2008-01-11  6:14 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Sean MacLennan

On Thursday 10 January 2008, Josh Boyer wrote:
> On Thu, 10 Jan 2008 13:38:12 -0500
>
> Sean MacLennan <smaclennan@pikatech.com> wrote:
> > What exactly does this function do?
> >
> >     /* Quiesce the MAL and EMAC(s) since PIBS/OpenBIOS don't
> >      * do this for us
> >      */
> >
> > On the taco, with the 440EP, it doesn't seem to make any difference if I
> > call this or not. Since I am using u-boot, is it not needed?
>
> There are firmwares that do not reset the EMAC and MAL before passing
> control to the client program (Linux in our case).  This can cause
> weird things to happen, like spurious interrupts or DMAs from the
> hardware overwriting kernel memory.  So we quiesce the hardware really
> early on those.
>
> I don't believe U-Boot has that problem.  If it does, it should be
> fixed :)

No, U-Boot doesn't have this problem.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ibm4xx_quiesce_eth?
  2008-01-11  6:14   ` ibm4xx_quiesce_eth? Stefan Roese
@ 2008-01-11  6:19     ` Sean MacLennan
  0 siblings, 0 replies; 4+ messages in thread
From: Sean MacLennan @ 2008-01-11  6:19 UTC (permalink / raw)
  To: Stefan Roese; +Cc: linuxppc-dev

Stefan Roese wrote:
>> There are firmwares that do not reset the EMAC and MAL before passing
>> control to the client program (Linux in our case).  This can cause
>> weird things to happen, like spurious interrupts or DMAs from the
>> hardware overwriting kernel memory.  So we quiesce the hardware really
>> early on those.
>>
>> I don't believe U-Boot has that problem.  If it does, it should be
>> fixed :)
>>     
>
> No, U-Boot doesn't have this problem.
>
> Best regards,
> Stefan
>   
Thanks for the confirmation! One less thing to worry about.

Cheers,
   Sean

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-11  6:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-10 18:38 ibm4xx_quiesce_eth? Sean MacLennan
2008-01-10 18:24 ` ibm4xx_quiesce_eth? Josh Boyer
2008-01-11  6:14   ` ibm4xx_quiesce_eth? Stefan Roese
2008-01-11  6:19     ` ibm4xx_quiesce_eth? Sean MacLennan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).