Files
linux/arch/parisc/kernel
Helge Deller 913b9d443a parisc: BTLB: Fix crash when setting up BTLB at CPU bringup
When using hotplug and bringing up a 32-bit CPU, ask the firmware about the
BTLB information to set up the static (block) TLB entries.

For that write access to the static btlb_info struct is needed, but
since it is marked __ro_after_init the kernel segfaults with missing
write permissions.

Fix the crash by dropping the __ro_after_init annotation.

Fixes: e5ef93d02d ("parisc: BTLB: Initialize BTLB tables at CPU startup")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v6.6+
2024-01-31 13:51:26 +01:00
..
2022-01-11 11:57:37 +01:00
2020-10-15 08:10:37 +02:00
2023-05-09 14:04:56 +02:00
2022-12-18 22:18:49 +01:00
2022-05-08 20:01:12 +02:00
2022-03-11 19:49:30 +01:00
2023-10-30 14:54:41 +01:00