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
..
2024-01-09 12:57:46 -08:00
2022-12-18 22:18:49 +01:00
2022-12-18 22:18:49 +01:00
2020-03-25 11:50:48 +01:00
2023-05-23 18:17:32 +02:00
2023-09-07 09:12:19 +02:00
2023-06-30 17:14:14 +02:00
2024-01-31 13:51:26 +01:00
2023-06-30 17:14:14 +02:00
2024-01-28 09:49:47 +01:00
2023-11-07 19:48:30 +01:00
2024-01-07 22:59:16 +01:00
2023-08-10 22:51:54 +02:00
2022-08-01 18:43:23 +02:00
2023-11-10 16:17:32 +01:00
2022-01-11 11:57:37 +01:00
2020-10-15 08:10:37 +02:00
2023-08-31 22:36:12 +02:00
2022-06-24 09:48:55 +02:00
2023-12-20 15:02:57 -08: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
2023-08-20 20:23:46 +02:00
2023-06-30 17:14:14 +02:00
2023-05-03 17:43:26 +02:00
2023-08-10 18:34:05 +02:00
2022-05-17 21:52:59 +02:00
2023-08-10 22:22:03 +02:00
2019-09-05 16:41:11 +02:00
2023-08-28 17:58:14 +02:00
2022-12-18 22:18:49 +01:00
2023-08-10 17:32:09 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2023-08-10 23:00:18 +02:00
2023-08-22 10:24:46 +02:00
2023-11-18 18:59:28 +01:00
2023-02-01 21:42:37 +01:00
2023-05-03 17:43:26 +02:00
2019-09-08 15:37:04 +02:00
2023-10-30 14:54:40 +01:00
2019-05-30 11:26:35 -07:00
2022-03-11 19:49:30 +01:00
2023-08-10 17:32:10 +02:00
2023-10-30 14:54:41 +01:00
2021-11-13 22:10:56 +01:00
2017-11-02 11:10:55 +01:00
2023-11-15 15:30:09 -08:00
2023-08-10 17:32:09 +02:00
2022-05-08 20:01:12 +02:00
2022-01-11 11:57:37 +01:00
2022-01-20 20:39:19 +01:00
2022-06-03 09:54:01 +02:00
2023-08-20 20:23:46 +02:00
2024-01-30 17:18:58 +01:00
2023-07-03 18:56:03 +02:00
2022-11-18 02:15:15 +01:00
2024-01-28 09:49:46 +01:00