Anshul Dalal
856480eef0
arm: armv8: mmu: add mmu_unmap_reserved_mem
...
For armv8, U-Boot uses a static map defined as 'mem_map' for configuring
the MMU's page tables, done by mmu_setup.
Though this works well for simpler platforms, it makes creating runtime
carveouts by modifying the static array at runtime exceedingly complex
like in mach-snapdragon/board.c.
Creation of such carveouts are much better handled by APIs such as
mmu_change_region_attr once the page tables are configured. Usually such
carveouts are configured via the device-tree's reserved-memory node
which provides the address and size for the carveout.
Therefore this patch adds mmu_unmap_reserved_mem which acts as a wrapper
over mmu_change_region_attr, helping unmap a reserved-memory region.
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
Signed-off-by: Anshul Dalal <anshuld@ti.com >
Tested-by: Wadim Egorov <w.egorov@phytec.de >
2025-10-22 12:05:52 -06:00
..
2024-05-20 13:35:03 -06:00
2025-07-29 17:02:32 +02:00
2025-04-28 13:16:45 -06:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2024-05-20 13:35:03 -06:00
2018-05-07 09:34:12 -04:00
2020-07-29 10:13:41 -04:00
2025-06-14 09:09:40 -06:00
2020-05-18 21:19:23 -04:00
2024-07-15 12:12:16 -06:00
2024-07-15 12:12:16 -06:00
2025-09-26 09:51:21 -03:00
2024-10-11 11:44:47 -06:00
2024-12-23 08:10:15 -03:00
2023-05-31 10:11:46 -04:00
2025-09-26 09:51:21 -03:00
2025-06-29 10:08:10 -03:00
2025-08-03 10:27:47 +02:00
2024-05-20 13:35:03 -06:00
2020-08-03 22:19:54 -04:00
2025-03-18 15:27:25 +01:00
2019-07-11 10:58:03 +02:00
2024-07-15 12:12:16 -06:00
2025-06-14 09:09:40 -06:00
2024-07-15 12:12:16 -06:00
2024-07-15 12:12:16 -06:00
2025-07-17 09:57:23 -03:00
2024-10-11 11:44:47 -06:00
2022-06-22 21:30:05 -04:00
2025-02-18 16:32:24 -06:00
2020-08-25 08:01:16 +02:00
2020-08-25 08:01:16 +02:00
2024-07-15 12:12:16 -06:00
2025-07-29 17:02:32 +02:00
2018-05-07 09:34:12 -04:00
2020-07-07 17:11:58 -04:00
2019-11-17 17:23:24 +08:00
2024-10-27 17:24:13 -06:00
2019-05-08 17:34:12 +08:00
2019-05-08 17:34:12 +08:00
2024-10-11 11:44:47 -06:00
2019-05-08 17:34:12 +08:00
2019-05-08 17:34:12 +08:00
2019-05-08 17:34:12 +08:00
2024-04-26 15:47:03 +08:00
2019-05-08 17:34:12 +08:00
2019-05-08 17:34:12 +08:00
2019-05-08 17:34:12 +08:00
2025-04-23 22:12:04 +08:00
2021-06-18 14:36:24 +08:00
2025-04-23 22:12:05 +08:00
2023-02-28 18:07:28 +08:00
2025-06-14 09:09:40 -06:00
2019-05-08 17:34:12 +08:00
2023-01-16 18:01:11 +08:00
2020-12-09 10:57:50 +01:00
2021-11-10 17:03:36 +01:00
2021-11-10 17:03:36 +01:00
2022-09-26 17:21:02 +02:00
2021-11-10 17:03:36 +01:00
2025-07-27 23:02:09 +01:00
2025-08-01 08:44:28 +03:00
2025-04-12 11:12:06 +03:00
2024-10-13 17:20:26 +03:00
2024-04-21 09:07:01 +02:00
2025-02-26 13:08:19 +02:00
2018-05-07 09:34:12 -04:00
2025-02-12 10:35:17 +02:00
2022-12-05 16:07:12 -05:00
2025-10-22 12:05:52 -06:00
2025-06-14 09:09:40 -06:00
2023-05-31 12:31:47 -04:00
2025-09-26 09:51:21 -03:00
2022-07-08 17:57:33 -04:00
2024-10-29 18:45:22 -06:00
2020-10-23 09:16:07 -04:00
2024-10-27 17:24:13 -06:00
2023-07-01 17:29:15 +02:00
2020-05-18 21:19:23 -04:00
2023-07-01 17:29:15 +02:00
2018-09-10 21:19:33 -04:00
2023-12-21 08:54:37 -05:00
2018-09-25 21:49:18 -04:00
2018-05-07 09:34:12 -04:00
2023-08-17 16:39:20 -04:00
2023-06-01 12:32:03 -04:00
2021-09-24 14:30:46 -04:00
2024-07-15 12:12:16 -06:00
2021-03-02 15:53:37 -05:00
2022-07-07 14:01:09 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 14:54:24 -04:00
2023-11-10 11:01:50 -05:00
2024-07-15 12:12:16 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:47 -06:00
2021-10-31 08:46:29 -04:00
2024-03-19 18:40:46 -04:00
2025-06-13 16:57:15 -06:00
2021-07-06 14:07:36 -04:00
2020-01-24 11:19:52 -05:00
2025-09-30 14:29:55 +08:00
2023-05-31 17:23:01 -04:00
2021-09-21 10:08:24 +03:00
2022-03-02 13:59:29 -05:00
2016-10-06 20:57:40 -04:00
2024-07-23 10:37:48 -06:00
2022-01-19 18:11:34 +01:00
2021-02-21 06:08:00 +01:00
2020-05-18 21:19:23 -04:00
2020-12-13 16:51:09 -07:00
2020-05-18 14:54:24 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2024-07-15 12:12:16 -06:00
2022-09-13 09:04:22 +02:00
2023-01-31 15:46:39 +01:00
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2025-03-10 07:41:16 +01:00
2024-07-15 12:12:16 -06:00
2018-05-07 09:34:12 -04:00
2023-08-09 09:21:42 -04:00
2023-12-21 08:54:37 -05:00
2025-04-14 08:59:39 -06:00
2018-09-10 20:48:16 -04:00
2022-04-01 16:56:53 -04:00
2018-05-07 09:34:12 -04:00
2023-05-31 14:05:34 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2021-09-30 08:08:56 -04:00