summaryrefslogtreecommitdiffstats
path: root/Documentation/watchdog
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2024-08-20 19:23:45 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2024-08-30 21:29:52 +1000
commitf9f2bff64c2f0dbee57be3d8c2741357ad3d05e6 (patch)
treed4c9b802013b7d5b91b2a47792f98d991f8d1246 /Documentation/watchdog
parent10c8ac13395a087c90ba6acd11f793588ba5609e (diff)
downloadlinux-stable-f9f2bff64c2f0dbee57be3d8c2741357ad3d05e6.tar.gz
linux-stable-f9f2bff64c2f0dbee57be3d8c2741357ad3d05e6.tar.bz2
linux-stable-f9f2bff64c2f0dbee57be3d8c2741357ad3d05e6.zip
powerpc/8xx: Fix initial memory mapping
Commit cf209951fa7f ("powerpc/8xx: Map linear memory with huge pages") introduced an initial mapping of kernel TEXT using PAGE_KERNEL_TEXT, but the pages that contain kernel TEXT may also contain kernel RODATA, and depending on selected debug options PAGE_KERNEL_TEXT may be either RWX or ROX. RODATA must be writable during init because it also contains ro_after_init data. So use PAGE_KERNEL_X instead to be sure it is RWX. Fixes: cf209951fa7f ("powerpc/8xx: Map linear memory with huge pages") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/dac7a828d8497c4548c91840575a706657baa4f1.1724173828.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'Documentation/watchdog')
0 files changed, 0 insertions, 0 deletions