From: Bowers, A. <ant...@su...> - 2002-07-01 16:30:17
|
> -----Original Message----- > From: Matan Ziv-Av [mailto:ma...@sv...] > > For controlling the caches you need to implement functions to > purge or flush parts of the caches, and those are different=20 > when the cache is larger and is associative (in the file=20 > arch/sh/mm/cache-sh4.c, and the .S files in that directory). Attached is a patch against kernel 2.4.17-st1.0 that contains the = necessary changes to arch/sh/mm/cache-sh4.c for the associative cache = mode on the SH7751R. It introduces a new cpu subtype, = CONFIG_CPU_SUBTYPE_SH7751R, which must be selected for the associative = cache option to be available. The modifications were made to the 2.4.17 SH4 kernel released by ST as = beta 1.0, and the patch was generated against this kernel version. For = various reasons, we have not been able to get this kernel to run on = SH7751R silicon, so it is offered as a work-in-progress in the hope that = it will be useful. At least, it can serve as a guide to anyone making = the same changes to a more recent kernel. The patch also contains some irrelevant changes related to DTF. These = should not cause any problems. Tony -- Antony Bowers, SuperH (UK), Ltd. |