MPC8260 cache patch

Patrick Doyle wpd@delcomsys.com
Tue Mar 25 14:56:00 GMT 2003


I assume that there is a 'HAL_DCACHE_SYNC_REGION()' type of macro to flush
just the portion of memory that needs to be synchronized.  In the other
direction, I would expect the snooping hardware in the cache to handle
received packets.

--wpd


> -----Original Message-----
> From: Andrew Lunn [mailto:andrew.lunn@ascom.ch]
> Sent: Tuesday, March 25, 2003 9:41 AM
> To: Patrick Doyle
> Cc: eCos patches
> Subject: Re: MPC8260 cache patch
>
>
> > As I was thinking about this last night, I started to wonder,
> why does it
> > matter if the sync time is doubled?  The effeciency expert in
> my cringes to
> > hear me write this (huh?) but, seriously, how often does the
> cache need to
> > be sync'd in eCos.
>
> Some network devices could be affected. Onces that are memory mapped.
> You need to sync the memory before telling the device to actually do
> the send, otherwise it sends the random junk in DRAM and not the real
> packet which could still be in cache.
>
> I don't know if this is true for the 8260 though.
>
>   Andrew



More information about the Ecos-patches mailing list