]> git.dujemihanovic.xyz Git - u-boot.git/commit
mpc83xx: Don't allow W and G bits in IBATs
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 27 Jan 2023 13:51:06 +0000 (14:51 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 1 May 2023 22:59:33 +0000 (18:59 -0400)
commitf1dc0daf7a7c73e525d52698ab914b8f833bed00
treebb74d5b3ec7c6c2bd488a579c65af9ecd59e73d3
parent50f64026f7a4c2d0a101c93916e01782e4fbbe7f
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>
arch/powerpc/cpu/mpc83xx/bats/Kconfig
configs/MPC837XERDB_defconfig
configs/gazerbeam_defconfig
configs/kmcoge5ne_defconfig
configs/kmeter1_defconfig
configs/kmopti2_defconfig
configs/kmsupx5_defconfig
configs/kmtepr2_defconfig
configs/tuge1_defconfig
configs/tuxx1_defconfig