Ard Biesheuvel
b013c1e1c6
arm64: head: add helper function to remap regions in early page tables
...
The asm macros used to create the initial ID map and kernel mappings
don't support randomly remapping parts of the address space after it has
been populated. What we can do, however, given that all block or page
mappings are created at the final level, is take a subset of the mapped
range and update its attributes or output address. This will permit us
to make parts of these page tables read-only, or remap a part of it to
cover the device tree.
So add a helper that encapsulates this.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-12-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2022-06-24 17:18:10 +01:00
..
2022-04-29 19:26:27 +01:00
2022-05-24 12:27:09 -07:00
2022-05-10 12:08:40 +01:00
2020-03-25 11:50:48 +01:00
2021-01-14 15:08:54 -08:00
2021-04-08 16:04:22 -07:00
2021-12-06 16:12:53 +00:00
2022-04-06 11:23:48 +01:00
2021-10-21 10:45:22 +01:00
2021-12-08 14:54:07 +00:00
2021-09-01 10:29:10 +02:00
2022-05-23 21:06:11 -07:00
2020-03-24 17:24:19 +00:00
2021-10-01 13:31:00 +01:00
2022-06-24 17:18:10 +01:00
2022-03-03 20:20:06 +01:00
2022-05-04 09:42:16 +01:00
2022-03-07 21:25:47 +00:00
2022-04-29 14:37:59 -07:00
2022-04-29 19:26:27 +01:00
2021-05-25 19:27:49 +01:00
2020-11-17 16:14:20 +00:00
2020-05-28 18:03:40 +01:00
2021-08-04 16:54:36 +00:00
2022-04-28 11:37:06 +01:00
2022-05-24 10:18:23 -07:00
2022-04-22 18:51:02 +01:00
2022-06-15 16:14:47 +01:00
2022-05-08 01:33:09 -07:00
2022-06-10 17:29:23 +01:00
2022-06-15 16:14:47 +01:00
2022-06-24 17:18:10 +01:00
2021-10-01 13:31:00 +01:00
2022-06-02 20:16:22 +01:00
2022-04-29 19:26:27 +01:00
2021-04-13 15:42:40 +01:00
2021-06-24 14:01:55 +01:00
2022-02-25 13:38:52 +00:00
2022-03-24 11:58:57 -07:00
2020-09-07 15:00:52 +01:00
2021-03-24 20:19:30 +00:00
2021-06-11 11:19:27 +01:00
2022-06-24 17:18:09 +01:00
2020-11-10 13:11:44 +00:00
2022-04-29 19:26:27 +01:00
2019-07-15 09:20:24 -03:00
2022-05-07 19:54:33 +01:00
2022-05-07 19:54:33 +01:00
2022-05-10 12:08:40 +01:00
2022-04-04 10:32:50 +01:00
2022-03-24 19:06:48 -07:00
2022-06-10 18:04:05 +01:00
2022-05-17 14:23:37 +01:00
2022-04-08 11:43:46 +01:00
2021-08-23 10:59:26 +01:00
2022-01-12 16:26:58 -08:00
2022-03-08 11:40:44 +00:00
2020-11-09 18:12:34 +01:00
2021-07-28 18:33:49 +01:00
2022-06-03 16:03:05 -07:00
2022-04-08 11:46:46 +01:00
2021-04-08 16:04:22 -07:00
2022-05-16 19:50:20 +01:00
2019-06-19 17:09:55 +02:00
2020-05-04 12:46:03 +01:00
2022-05-17 14:25:35 +01:00
2021-12-10 14:06:04 +00:00
2021-10-01 13:30:59 +01:00
2022-06-15 16:14:32 +01:00
2022-04-22 12:14:05 +02:00
2022-06-03 14:05:34 -07:00
2022-06-24 17:18:09 +01:00
2021-07-21 11:23:25 +01:00
2021-05-25 19:27:49 +01:00
2022-05-06 21:01:17 +02:00
2022-04-22 15:33:14 +01:00
2022-06-24 17:18:10 +01:00
2019-06-19 17:09:08 +02:00
2022-04-29 19:26:27 +01:00
2022-05-16 19:50:20 +01:00
2021-12-10 14:06:04 +00:00
2021-10-15 11:25:15 +02:00
2022-05-20 18:51:54 +01:00
2021-01-20 12:18:46 +00:00
2021-01-20 12:18:46 +00:00
2021-04-15 14:00:38 +01:00
2022-05-17 09:32:38 +01:00