Christoph Hellwig
c5c3238d9b
asm-generic: provide generic page_to_phys and phys_to_page implementations
...
page_to_phys is duplicated by all architectures, and from some strange
reason placed in <asm/io.h> where it doesn't fit at all.
phys_to_page is only provided by a few architectures despite having a lot
of open coded users.
Provide generic versions in <asm-generic/memory_model.h> to make these
helpers more easily usable.
Note with this patch powerpc loses the CONFIG_DEBUG_VIRTUAL pfn_valid
check. It will be added back in a generic version later.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
2024-10-28 21:44:28 +00:00
..
2023-08-17 20:31:59 -07:00
2019-06-19 17:09:55 +02:00
2020-03-16 10:30:49 -07:00
2023-08-15 17:27:26 -07:00
2023-08-15 17:27:26 -07:00
2023-06-05 09:57:14 +02:00
2023-06-05 09:57:14 +02:00
2020-10-05 21:02:29 -07:00
2022-10-17 16:32:12 -07:00
2020-06-09 09:39:10 -07:00
2021-08-24 14:25:48 -07:00
2024-01-18 15:01:28 -08:00
2021-08-03 18:58:33 -07:00
2024-09-13 07:10:37 -07:00
2023-08-17 20:31:59 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2022-07-22 17:24:47 -05:00
2020-04-29 11:53:51 -07:00
2024-04-01 18:40:39 -07:00
2023-08-17 20:31:59 -07:00
2020-06-16 12:56:37 -07:00
2023-12-08 16:30:24 -08:00
2024-04-01 18:40:39 -07:00
2024-04-01 18:40:39 -07:00
2019-06-19 17:09:55 +02:00
2020-02-09 22:17:22 -08:00
2020-03-27 23:58:51 -04:00
2020-11-06 23:14:55 +01:00
2023-12-13 19:33:10 -08:00
2024-10-28 21:44:28 +00:00
2024-04-01 18:40:39 -07:00
2019-06-19 17:09:55 +02:00
2024-04-01 18:40:39 -07:00
2019-06-19 17:09:55 +02:00
2024-02-09 15:57:48 -08:00
2024-07-10 14:23:38 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2023-11-10 19:59:05 +09:00
2023-06-15 04:47:05 +09:00
2020-10-25 14:51:49 -07:00
2024-04-01 18:40:39 -07:00
2024-04-25 20:55:49 -07:00
2024-10-02 17:22:47 -04:00
2020-04-23 10:50:26 +09:00
2023-12-05 13:11:37 +01:00
2019-06-19 17:09:55 +02:00
2022-04-26 09:35:28 -07:00
2021-08-26 13:43:19 -07:00
2024-04-01 18:40:39 -07:00
2023-12-05 13:11:37 +01:00
2021-10-15 18:06:32 -07:00
2023-08-17 20:31:59 -07:00
2024-04-01 18:40:39 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2023-08-17 20:31:59 -07:00
2024-04-01 18:40:39 -07:00
2024-04-01 18:40:39 -07:00
2019-06-19 17:09:55 +02:00
2020-10-05 21:02:29 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-10-05 21:02:29 -07:00
2022-04-25 13:09:47 -07:00
2020-01-15 16:08:12 -08:00
2024-04-01 18:40:39 -07: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
2023-08-17 12:40:26 -07:00
2024-07-10 14:23:38 +02:00
2019-06-19 17:09:55 +02:00
2020-04-23 10:50:26 +09:00
2019-12-10 10:12:55 +01:00