George France writes:
> We are developing an embedded system based on the SA-110 and the 21285 PCI
> bridge using Linux 2.3.29-rmk1.
> The system appears to work fine with the dcache turned off. When the dcache
> is enabled then the system hangs.
Beware when referring to the 'dcache' - it is ambiguous. It can mean either the
disk directory cache or the data cache.
> Does anyone have any suggestions of the best way to make re-mapped regions
> of memory un-cacheable and un-bufferable?
There is no "generic" way to do this at the moment. Are we talking here of
devices accessing the SA-110's SDRAM, or the SA-110 accessing some memory on
the PCI bus? You seem to be indicating SA-110's SDRAM.
> There are many solutions available, but I would like to find a solution that
> is easy to implement and maintain. Any idea's or suggestions would be
> appreciated.
There are various dma_cache_* macros which allow you to invalidate/clean the
cache as necessary. However, I see this currently as a stop-gap solution until
the Linux community sorts out a reasonable way of handling the situation.
PS, I would ask you to continue this on the linux-arm-kernel list, but
unfortunately the University of West England has turned off all their machines
over the millenium (Y2K bug avoidance?) so those lists are unavailable.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/~rmk/armlinux.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++