]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] Remove cache type printks
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 25 Sep 2008 13:45:02 +0000 (14:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Sep 2008 13:45:02 +0000 (14:45 +0100)
commit5fc21d169007aed8d5b59dd0df4dccb85bc92a30
treec7b9b40020c9fd884a63ccb9747f9c473bf8eb14
parentc4722c83f6ed6c0fd4820afb06fe0815e9e221a6
[ARM] Remove cache type printks

The cache type register found in ARMv5 and later CPUs changes format
and meaning depending on the CPU architecture version.  Currently,
this code:
a) doesn't work for everything - Xscale's are identified as
   'unknown 5'.
b) is not able to tell whether the caches are VIVT or VIPT from the
   cache type.
c) prints rubbish on some ARMv6 and ARMv7+ CPUs.

The two solutions to this are:
1. Add yet more code to decode and print the various different register
   formats.
2. Remove the code altogther.

The code only exists to decode and print the cache parameters.
Increasing the complexity of it just for the sake of a few prinks
isn't worth it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c