]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: decouple unrelated cache settings to get exact behavior
authorJie Zhang <jie.zhang@analog.com>
Tue, 16 Jun 2009 09:48:33 +0000 (09:48 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 23 Jun 2009 01:15:59 +0000 (21:15 -0400)
commitca985da2c6dc7d25a2dc950574b53511e758ef06
tree43eb086046d4eef764878e04512ddd215ca8845b
parent921f9baf50b99ae6da286bba7e5fbec34137b88f
Blackfin: decouple unrelated cache settings to get exact behavior

The current cache options don't really represent the hardware features.
They end up setting different aspects of the hardware so that the end
result is to turn on/off the cache.  Unfortunately, when we hit cache
problems with the hardware, it's difficult to test different settings to
root cause the problem.  The current settings also don't cleanly allow for
different caching behaviors with different regions of memory.

So split the configure options such that they properly reflect the settings
that are applied to the hardware.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/Kconfig
arch/blackfin/include/asm/cache.h
arch/blackfin/include/asm/cacheflush.h
arch/blackfin/include/asm/cplb.h
arch/blackfin/kernel/cplb-mpu/cplbinit.c
arch/blackfin/kernel/cplb-mpu/cplbmgr.c
arch/blackfin/kernel/setup.c
arch/blackfin/mach-common/arch_checks.c
arch/blackfin/mach-common/cpufreq.c
arch/blackfin/mach-common/pm.c
arch/blackfin/mm/init.c