[ARM] nommu: manage the CP15 things
authorHyok S. Choi <hyok.choi@samsung.com>
Tue, 26 Sep 2006 08:36:37 +0000 (17:36 +0900)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Sep 2006 16:34:30 +0000 (17:34 +0100)
commitf12d0d7c7786af39435ef6ae9defe47fb58f6091
tree03361f2b925754f2acf4f311df2122f844d3d4fe
parentfefdaa06ccdde394be865ed76509be82813e425b
[ARM] nommu: manage the CP15 things

All the current CP15 access codes in ARM arch can be categorized and
conditioned by the defines as follows:

     Related operation Safe condition
  a. any CP15 access !CPU_CP15
  b. alignment trap CPU_CP15_MMU
  c. D-cache(C-bit) CPU_CP15
  d. I-cache CPU_CP15 && !( CPU_ARM610 || CPU_ARM710 ||
CPU_ARM720 || CPU_ARM740 ||
CPU_XSCALE || CPU_XSC3 )
  e. alternate vector CPU_CP15 && !CPU_ARM740
  f. TTB CPU_CP15_MMU
  g. Domain CPU_CP15_MMU
  h. FSR/FAR CPU_CP15_MMU

For example, alternate vector is supported if and only if
"CPU_CP15 && !CPU_ARM740" is satisfied.

Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/Kconfig-nommu
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/head.S
arch/arm/kernel/head-nommu.S
arch/arm/kernel/process.c
arch/arm/mm/Kconfig
arch/arm/mm/cache-v4.S
include/asm-arm/system.h