Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: ISEG VHQ204L Driver (Really: PPC and VME)
From: Kay-Uwe Kasemir <kasemir@lanl.gov>
To: "Burkhard W. Kolb" <b.kolb@gsi.de>, tech-talk@aps.anl.gov
Date: Thu, 25 Jul 2002 10:02:37 -0600
At 12:21 AM 7/25/2002, you wrote:
>Hi,
>
>we use on PPCs __asm__ volatile ("eieio"), which is the correct
>assembler instruction to make sure that the write has finished before
>the next read on VMEbus is executed.
>The same by the way is true for 68k archticture where the instruction
>would be "nop".

Hi:

Sounds like another way of forcing electrons out of the CPU
- if not even better than __asm__ volatile ("sync").

But what about the Universe II chip on most PPC boards
which has its own write pipeline?
Is there a "flush" register/command on it?
My experiments showed that a dummy read was needed after the
write & sync and my guess was: That's in order to make the UniverseII
flush the writes, because the CPU cache has already been overruled by
(1) sync or eieio
(2) the fact that the memory regions mapped to VME are configured as "not cacheable"
    in the vxWorks BSP's sysPhysMemDesc

Thanks,
-Kay


Replies:
Re: ISEG VHQ204L Driver (Really: PPC and VME) Andrew Johnson
References:
Re: ISEG VHQ204L Driver J. Frederick Bartlett (bartlett@fnal.gov)
Re: ISEG VHQ204L Driver Burkhard W. Kolb

Navigate by Date:
Prev: Sorry - just a test Andy Foster
Next: Re: ISEG VHQ204L Driver (Really: PPC and VME) Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: ISEG VHQ204L Driver Burkhard W. Kolb
Next: Re: ISEG VHQ204L Driver (Really: PPC and VME) Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·