diff options
| author | Wang Kefeng <[email protected]> | 2022-09-16 11:10:49 +0000 |
|---|---|---|
| committer | Russell King (Oracle) <[email protected]> | 2022-09-22 07:29:04 +0000 |
| commit | 14ca1a4690750bb54e1049e49f3140ef48958a6e (patch) | |
| tree | ff75b1aca3add7ca40a8c05ebaf57071e8c03377 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd() (diff) | |
| download | kernel-14ca1a4690750bb54e1049e49f3140ef48958a6e.tar.gz kernel-14ca1a4690750bb54e1049e49f3140ef48958a6e.zip | |
ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
MT_MEMORY_RO is introduced by commit 598f0a99fa8a ("ARM: 9210/1:
Mark the FDT_FIXED sections as shareable"), which is a readonly
memory type for FDT area, but there are some different between
ARM_LPAE and non-ARM_LPAE, we need to setup PMD_SECT_AP2 and
L_PMD_SECT_RDONLY for MT_MEMORY_RO when ARM_LAPE enabled.
non-ARM_LPAE 0xff800000-0xffa00000 2M PGD KERNEL ro NX SHD
ARM_LPAE 0xff800000-0xffc00000 4M PMD RW NX SHD
ARM_LPAE+fix 0xff800000-0xffc00000 4M PMD ro NX SHD
Fixes: 598f0a99fa8a ("ARM: 9210/1: Mark the FDT_FIXED sections as shareable")
Signed-off-by: Kefeng Wang <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
