diff options
| author | Matthias Schiffer <[email protected]> | 2024-01-24 10:38:38 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-02-05 11:54:49 +0000 |
| commit | a038a3ff8c6582404834852c043dadc73a5b68b4 (patch) | |
| tree | bfd5fd2645c39156fccf04b73514a5da2f1156aa /scripts/generate_rust_target.rs | |
| parent | selftests/powerpc/papr_vpd: Check devfd before get_system_loc_code() (diff) | |
| download | kernel-a038a3ff8c6582404834852c043dadc73a5b68b4.tar.gz kernel-a038a3ff8c6582404834852c043dadc73a5b68b4.zip | |
powerpc/6xx: set High BAT Enable flag on G2_LE cores
MMU_FTR_USE_HIGH_BATS is set for G2_LE cores and derivatives like e300cX,
but the high BATs need to be enabled in HID2 to work. Add register
definitions and add the needed setup to __setup_cpu_603.
This fixes boot on CPUs like the MPC5200B with STRICT_KERNEL_RWX enabled
on systems where the flag has not been set by the bootloader already.
Fixes: e4d6654ebe6e ("powerpc/mm/32s: rework mmu_mapin_ram()")
Signed-off-by: Matthias Schiffer <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
