diff options
author | Christophe Leroy | 2023-01-27 14:51:06 +0100 |
---|---|---|
committer | Tom Rini | 2023-05-01 18:59:33 -0400 |
commit | f1dc0daf7a7c73e525d52698ab914b8f833bed00 (patch) | |
tree | bb74d5b3ec7c6c2bd488a579c65af9ecd59e73d3 /configs | |
parent | 50f64026f7a4c2d0a101c93916e01782e4fbbe7f (diff) |
mpc83xx: Don't allow W and G bits in IBATs
The "Programming Environments Manual for 32-Bit Implementations of the
PowerPC™ Architecture" says "W and G bits are not defined for IBAT
registers. Attempting to write to these bits causes boundedly-undefined
results"
The "e300 Power Architecture™ Core Family Reference Manual" says the
same: "Neither the W or G bits of the IBAT registers should be set.
Attempting to write to these bits causes boundedly-undefined results."
Remove the possibility to set those bytes.
Fixes: 30915ab95d9 ("mpc83xx: Migrate BATS config to Kconfig")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/MPC837XERDB_defconfig | 3 | ||||
-rw-r--r-- | configs/gazerbeam_defconfig | 1 | ||||
-rw-r--r-- | configs/kmcoge5ne_defconfig | 3 | ||||
-rw-r--r-- | configs/kmeter1_defconfig | 2 | ||||
-rw-r--r-- | configs/kmopti2_defconfig | 2 | ||||
-rw-r--r-- | configs/kmsupx5_defconfig | 2 | ||||
-rw-r--r-- | configs/kmtepr2_defconfig | 2 | ||||
-rw-r--r-- | configs/tuge1_defconfig | 2 | ||||
-rw-r--r-- | configs/tuxx1_defconfig | 2 |
9 files changed, 0 insertions, 19 deletions
diff --git a/configs/MPC837XERDB_defconfig b/configs/MPC837XERDB_defconfig index 7bb878f3697..a402ffa9922 100644 --- a/configs/MPC837XERDB_defconfig +++ b/configs/MPC837XERDB_defconfig @@ -47,7 +47,6 @@ CONFIG_BAT2_BASE=0xE0000000 CONFIG_BAT2_LENGTH_8_MBYTES=y CONFIG_BAT2_ACCESS_RW=y CONFIG_BAT2_ICACHE_INHIBITED=y -CONFIG_BAT2_ICACHE_GUARDED=y CONFIG_BAT2_DCACHE_INHIBITED=y CONFIG_BAT2_DCACHE_GUARDED=y CONFIG_BAT2_USER_MODE_VALID=y @@ -57,7 +56,6 @@ CONFIG_BAT3_NAME="L2_SWITCH" CONFIG_BAT3_BASE=0xF0000000 CONFIG_BAT3_ACCESS_RW=y CONFIG_BAT3_ICACHE_INHIBITED=y -CONFIG_BAT3_ICACHE_GUARDED=y CONFIG_BAT3_DCACHE_INHIBITED=y CONFIG_BAT3_DCACHE_GUARDED=y CONFIG_BAT3_USER_MODE_VALID=y @@ -93,7 +91,6 @@ CONFIG_BAT7_BASE=0x90000000 CONFIG_BAT7_LENGTH_256_MBYTES=y CONFIG_BAT7_ACCESS_RW=y CONFIG_BAT7_ICACHE_INHIBITED=y -CONFIG_BAT7_ICACHE_GUARDED=y CONFIG_BAT7_DCACHE_INHIBITED=y CONFIG_BAT7_DCACHE_GUARDED=y CONFIG_BAT7_USER_MODE_VALID=y diff --git a/configs/gazerbeam_defconfig b/configs/gazerbeam_defconfig index 5e015932069..3d663130745 100644 --- a/configs/gazerbeam_defconfig +++ b/configs/gazerbeam_defconfig @@ -34,7 +34,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_8_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y diff --git a/configs/kmcoge5ne_defconfig b/configs/kmcoge5ne_defconfig index a8e48f8e30a..0de6ae06b95 100644 --- a/configs/kmcoge5ne_defconfig +++ b/configs/kmcoge5ne_defconfig @@ -27,7 +27,6 @@ CONFIG_BAT0_BASE=0x00000000 CONFIG_BAT0_LENGTH_256_MBYTES=y CONFIG_BAT0_ACCESS_RW=y CONFIG_BAT0_ICACHE_INHIBITED=y -CONFIG_BAT0_ICACHE_GUARDED=y CONFIG_BAT0_DCACHE_INHIBITED=y CONFIG_BAT0_DCACHE_GUARDED=y CONFIG_BAT0_USER_MODE_VALID=y @@ -38,7 +37,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_4_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y @@ -95,7 +93,6 @@ CONFIG_BAT7_BASE=0x10000000 CONFIG_BAT7_LENGTH_256_MBYTES=y CONFIG_BAT7_ACCESS_RW=y CONFIG_BAT7_ICACHE_INHIBITED=y -CONFIG_BAT7_ICACHE_GUARDED=y CONFIG_BAT7_DCACHE_INHIBITED=y CONFIG_BAT7_DCACHE_GUARDED=y CONFIG_BAT7_USER_MODE_VALID=y diff --git a/configs/kmeter1_defconfig b/configs/kmeter1_defconfig index da7229896bd..568e55f3998 100644 --- a/configs/kmeter1_defconfig +++ b/configs/kmeter1_defconfig @@ -28,7 +28,6 @@ CONFIG_BAT0_BASE=0x00000000 CONFIG_BAT0_LENGTH_256_MBYTES=y CONFIG_BAT0_ACCESS_RW=y CONFIG_BAT0_ICACHE_INHIBITED=y -CONFIG_BAT0_ICACHE_GUARDED=y CONFIG_BAT0_DCACHE_INHIBITED=y CONFIG_BAT0_DCACHE_GUARDED=y CONFIG_BAT0_USER_MODE_VALID=y @@ -39,7 +38,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_4_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y diff --git a/configs/kmopti2_defconfig b/configs/kmopti2_defconfig index 41d0d2ee03d..facd6861cdb 100644 --- a/configs/kmopti2_defconfig +++ b/configs/kmopti2_defconfig @@ -22,7 +22,6 @@ CONFIG_BAT0_BASE=0x00000000 CONFIG_BAT0_LENGTH_256_MBYTES=y CONFIG_BAT0_ACCESS_RW=y CONFIG_BAT0_ICACHE_INHIBITED=y -CONFIG_BAT0_ICACHE_GUARDED=y CONFIG_BAT0_DCACHE_INHIBITED=y CONFIG_BAT0_DCACHE_GUARDED=y CONFIG_BAT0_USER_MODE_VALID=y @@ -33,7 +32,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_4_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y diff --git a/configs/kmsupx5_defconfig b/configs/kmsupx5_defconfig index 538a37b042b..c00e62644f0 100644 --- a/configs/kmsupx5_defconfig +++ b/configs/kmsupx5_defconfig @@ -22,7 +22,6 @@ CONFIG_BAT0_BASE=0x00000000 CONFIG_BAT0_LENGTH_256_MBYTES=y CONFIG_BAT0_ACCESS_RW=y CONFIG_BAT0_ICACHE_INHIBITED=y -CONFIG_BAT0_ICACHE_GUARDED=y CONFIG_BAT0_DCACHE_INHIBITED=y CONFIG_BAT0_DCACHE_GUARDED=y CONFIG_BAT0_USER_MODE_VALID=y @@ -33,7 +32,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_4_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y diff --git a/configs/kmtepr2_defconfig b/configs/kmtepr2_defconfig index a2ad34d5d84..8122124c17d 100644 --- a/configs/kmtepr2_defconfig +++ b/configs/kmtepr2_defconfig @@ -22,7 +22,6 @@ CONFIG_BAT0_BASE=0x00000000 CONFIG_BAT0_LENGTH_256_MBYTES=y CONFIG_BAT0_ACCESS_RW=y CONFIG_BAT0_ICACHE_INHIBITED=y -CONFIG_BAT0_ICACHE_GUARDED=y CONFIG_BAT0_DCACHE_INHIBITED=y CONFIG_BAT0_DCACHE_GUARDED=y CONFIG_BAT0_USER_MODE_VALID=y @@ -33,7 +32,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_4_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y diff --git a/configs/tuge1_defconfig b/configs/tuge1_defconfig index 8e5f1c605d1..c10b5c20a73 100644 --- a/configs/tuge1_defconfig +++ b/configs/tuge1_defconfig @@ -22,7 +22,6 @@ CONFIG_BAT0_BASE=0x00000000 CONFIG_BAT0_LENGTH_256_MBYTES=y CONFIG_BAT0_ACCESS_RW=y CONFIG_BAT0_ICACHE_INHIBITED=y -CONFIG_BAT0_ICACHE_GUARDED=y CONFIG_BAT0_DCACHE_INHIBITED=y CONFIG_BAT0_DCACHE_GUARDED=y CONFIG_BAT0_USER_MODE_VALID=y @@ -33,7 +32,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_4_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y diff --git a/configs/tuxx1_defconfig b/configs/tuxx1_defconfig index f7f20ae531a..f61fb96ab83 100644 --- a/configs/tuxx1_defconfig +++ b/configs/tuxx1_defconfig @@ -22,7 +22,6 @@ CONFIG_BAT0_BASE=0x00000000 CONFIG_BAT0_LENGTH_256_MBYTES=y CONFIG_BAT0_ACCESS_RW=y CONFIG_BAT0_ICACHE_INHIBITED=y -CONFIG_BAT0_ICACHE_GUARDED=y CONFIG_BAT0_DCACHE_INHIBITED=y CONFIG_BAT0_DCACHE_GUARDED=y CONFIG_BAT0_USER_MODE_VALID=y @@ -33,7 +32,6 @@ CONFIG_BAT1_BASE=0xE0000000 CONFIG_BAT1_LENGTH_4_MBYTES=y CONFIG_BAT1_ACCESS_RW=y CONFIG_BAT1_ICACHE_INHIBITED=y -CONFIG_BAT1_ICACHE_GUARDED=y CONFIG_BAT1_DCACHE_INHIBITED=y CONFIG_BAT1_DCACHE_GUARDED=y CONFIG_BAT1_USER_MODE_VALID=y |