linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: eieio & ld_le, ld_be
@ 2000-02-22 14:24 Benjamin Herrenschmidt
  2000-02-22 17:59 ` Gabriel Paubert
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2000-02-22 14:24 UTC (permalink / raw)
  To: FASSINO Jean-Philippe, linuxppc-dev


On Tue, Feb 22, 2000, FASSINO Jean-Philippe
<jeanphilippe.fassino@cnet.francetelecom.fr> wrote:

>Just a question about ld_le* and ld_be*.
>This function do a io read and enforce in-order execution with eieio.
>
>Does eieio is really necessary when load value from IO ??
>Maybe some computer (SMP, pci, ...) require that !
>But, i try ld_* without eieio on my computer (G4) and that work well.

Neither ld_le* nor ld_be* should do any eieio (and they don't in the
kernel sources I just checked).

Howeverm in_le*/out_le* etc... do it. Those are necessary to enforce
ordering of accesses when manipulating a hardware device. It's possible
that the non-cachable & guarded state of io pages make it less important
on G3, but it's definitely necessary to be completely safe.

If you are maniuplating in-memory datas that are not related to any io
hardware device, then you don't need eieio.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread
* eieio & ld_le, ld_be
@ 2000-02-22 11:49 FASSINO Jean-Philippe
  0 siblings, 0 replies; 3+ messages in thread
From: FASSINO Jean-Philippe @ 2000-02-22 11:49 UTC (permalink / raw)
  To: linuxppc-dev@lists.linuxppc.org


Just a question about ld_le* and ld_be*.
This function do a io read and enforce in-order execution with eieio.

Does eieio is really necessary when load value from IO ??
Maybe some computer (SMP, pci, ...) require that !
But, i try ld_* without eieio on my computer (G4) and that work well.

JP

--
--------------------------------------------------------------------------
Jean-Philippe FASSINO  Tel :  04 76 76 45 52
CNET : DTL/ASR         mailto:jeanphilippe.fassino@cnet.francetelecom.fr
--------------------------------------------------------------------------


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-02-22 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-22 14:24 eieio & ld_le, ld_be Benjamin Herrenschmidt
2000-02-22 17:59 ` Gabriel Paubert
  -- strict thread matches above, loose matches on Subject: below --
2000-02-22 11:49 FASSINO Jean-Philippe

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).