Ard Biesheuvel
a1439d8948
efi/arm: Disable LPAE PAN when calling EFI runtime services
...
EFI runtime services are remapped into the lower 1 GiB of virtual
address space at boot, so they are guaranteed to be able to co-exist
with the kernel virtual mappings without the need to allocate space for
them in the kernel's vmalloc region, which is rather small.
This means those mappings are covered by TTBR0 when LPAE PAN is enabled,
and so 'user' access must be enabled while such calls are in progress.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Ard Biesheuvel <ardb@kernel.org >
2024-06-15 10:25:02 +02:00
..
2024-01-04 14:38:57 +01:00
2023-06-19 09:35:48 +01:00
2020-08-06 10:57:30 +02:00
2022-06-06 08:54:33 +02:00
2023-01-31 16:06:17 +00:00
2021-10-17 21:47:44 +02:00
2022-07-18 15:03:37 +02:00
2023-11-07 11:00:57 +00:00
2019-06-19 17:09:07 +02:00
2024-04-18 12:10:46 +01:00
2023-06-05 09:57:15 +02:00
2019-02-01 22:05:50 +00:00
2022-07-14 15:21:43 -07:00
2019-06-19 17:09:55 +02:00
2021-05-07 00:26:34 -07:00
2023-06-16 10:15:59 +02:00
2020-10-25 14:51:49 -07:00
2023-12-14 00:23:17 -08:00
2024-02-22 15:27:19 -08:00
2023-01-27 11:19:46 +00:00
2020-03-21 15:23:54 +01:00
2023-04-29 09:08:44 +02:00
2020-03-21 15:24:03 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-06-28 14:04:24 -07:00
2022-11-28 11:57:31 +00:00
2024-02-22 15:38:54 -08:00
2019-06-05 17:36:37 +02:00
2023-05-29 11:27:08 +02:00
2022-10-06 14:31:08 +02:00
2021-08-20 11:39:28 +01:00
2023-03-23 13:21:51 +01:00
2023-10-05 16:15:42 +01:00
2019-06-19 17:09:55 +02:00
2023-10-05 16:17:05 +01:00
2019-05-30 11:29:52 -07:00
2024-06-15 10:25:02 +02:00
2024-02-20 20:56:00 +01:00
2023-10-05 16:15:40 +01:00
2019-06-19 17:09:55 +02:00
2020-12-22 13:34:27 -08:00
2020-05-12 19:34:52 +03:00
2019-06-05 17:37:06 +02:00
2022-08-31 14:50:08 +01:00
2024-05-19 14:36:17 -07:00
2023-06-19 09:35:52 +01:00
2020-05-07 00:41:47 +02:00
2024-04-29 14:14:18 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-11-23 10:31:05 +01:00
2020-12-04 23:35:34 +01:00
2019-06-05 17:37:06 +02:00
2024-04-25 20:56:15 -07:00
2024-04-29 14:14:22 +01:00
2021-03-31 09:16:55 +01:00
2020-10-25 14:51:49 -07:00
2022-01-06 12:58:58 +00:00
2023-11-23 10:37:40 +01:00
2023-11-23 11:32:29 +01:00
2023-08-18 10:19:00 -07:00
2024-02-09 15:57:48 -08:00
2020-10-27 12:11:08 +00:00
2020-10-27 12:11:10 +00:00
2020-12-29 15:36:49 -08:00
2021-02-05 10:23:29 +00:00
2023-12-06 16:12:48 -08:00
2021-12-17 11:34:38 +00:00
2018-05-19 11:53:46 +01:00
2023-11-10 19:59:05 +09:00
2018-10-17 13:14:33 -07:00
2019-06-19 17:09:55 +02:00
2023-05-29 11:27:08 +02:00
2024-03-26 11:07:22 -07:00
2022-01-25 09:53:52 +01:00
2022-01-25 09:53:52 +01:00
2022-11-07 14:18:59 +00:00
2020-09-25 00:36:41 +09:00
2018-05-19 11:53:46 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-03-18 12:27:04 +01:00
2019-05-30 11:26:41 -07:00
2019-05-21 11:28:39 +02:00
2021-10-25 13:12:36 +01:00
2019-06-05 17:37:06 +02:00
2019-06-19 17:09:55 +02:00
2024-03-06 19:29:09 +01:00
2022-03-22 08:53:10 +01:00
2021-03-11 16:17:52 +01:00
2022-07-22 17:23:45 -05:00
2022-01-31 16:06:35 +01:00
2022-11-07 14:16:43 +00:00
2021-07-01 11:06:03 -07:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:06 +02:00
2024-04-25 20:55:47 -07:00
2024-05-19 09:21:03 -07:00
2019-06-05 17:37:06 +02:00
2024-04-25 20:55:47 -07:00
2019-06-19 17:09:55 +02:00
2022-12-13 19:29:45 -08:00
2024-02-22 10:24:50 -08:00
2019-05-30 11:26:41 -07:00
2024-05-15 21:41:08 +01:00
2022-09-11 21:55:07 -07:00
2019-06-19 17:09:55 +02:00
2020-10-27 12:10:59 +00:00
2019-05-30 11:26:41 -07:00
2024-02-22 10:24:47 -08:00
2024-04-18 12:10:46 +01:00
2020-11-20 11:16:34 -08:00
2020-03-24 10:56:05 +00:00
2018-05-08 14:50:42 +02:00
2023-01-19 14:58:19 +01:00
2021-12-17 11:34:36 +00:00
2023-10-17 10:17:02 +02:00
2023-06-19 09:35:52 +01:00
2023-01-11 16:21:21 +00:00
2019-02-01 21:44:10 +00:00
2023-05-15 13:44:57 +02:00
2023-05-29 11:27:08 +02:00
2023-06-19 09:35:52 +01:00
2021-12-07 15:14:12 +01:00
2021-03-22 02:45:52 +01:00
2022-11-18 02:18:10 +01:00
2022-11-08 18:36:18 +00:00
2020-10-27 12:11:06 +00:00
2023-06-19 09:35:52 +01:00
2022-03-23 17:35:57 -07:00
2023-06-05 09:57:13 +02:00
2023-08-16 13:58:49 -07:00
2023-06-19 09:35:55 +01:00
2021-06-13 18:16:48 +01:00
2023-06-19 09:35:59 +01:00
2023-05-17 15:08:22 +02:00
2019-06-19 17:09:55 +02:00
2022-05-13 23:59:23 +02:00
2023-08-21 13:37:55 -07:00
2023-08-24 16:20:20 -07:00
2022-01-25 09:53:52 +01:00
2024-04-24 12:08:01 +02:00
2023-10-05 16:17:05 +01:00
2024-04-18 12:10:46 +01:00
2024-05-15 21:41:08 +01:00
2021-08-04 13:30:04 +02:00
2021-08-20 11:39:28 +01:00
2019-07-11 10:09:44 -07:00
2023-06-19 09:35:52 +01:00
2019-06-19 17:09:55 +02:00
2022-01-30 21:17:00 -05:00
2021-12-06 12:49:16 +01:00
2023-11-23 11:32:32 +01:00
2020-04-23 10:50:26 +09:00
2023-08-15 10:07:48 +01:00
2020-07-21 16:33:39 +01:00
2023-10-17 16:34:02 +02:00
2020-03-24 10:56:05 +00:00
2019-12-10 10:12:55 +01:00
2023-01-13 11:48:15 +01:00
2024-02-01 09:47:59 -08:00
2022-11-07 14:19:03 +00:00