Files
linux/arch/powerpc/kernel
Ritesh Harjani (IBM) adfaec30ff powerpc/fadump: Refactor and prepare fadump_cma_init for late init
We anyway don't use any return values from fadump_cma_init(). Since
fadump_reserve_mem() from where fadump_cma_init() gets called today,
already has the required checks.
This patch makes this function return type as void. Let's also handle
extra cases like return if fadump_supported is false or dump_active, so
that in later patches we can call fadump_cma_init() separately from
setup_arch().

Acked-by: Hari Bathini <hbathini@linux.ibm.com>
Reviewed-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/a2afc3d6481a87a305e89cfc4a3f3d2a0b8ceab3.1729146153.git.ritesh.list@gmail.com
2024-10-21 15:26:49 +11:00
..
2024-05-08 00:21:30 +10:00
2021-12-09 22:41:21 +11:00
2023-10-01 23:09:02 +11:00
2024-09-05 22:25:36 +10:00
2022-05-05 22:12:44 +10:00
2022-05-08 22:15:40 +10:00
2024-06-28 22:28:47 +10:00
2022-09-26 23:00:14 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:48 +10:00
2022-09-26 23:00:14 +10:00
2021-12-09 22:41:21 +11:00
2024-06-28 22:28:47 +10:00
2024-05-08 00:21:30 +10:00
2023-10-10 13:35:55 -06:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2024-03-03 22:20:29 +11:00
2024-09-08 16:01:10 +02:00
2022-09-26 22:47:37 +10:00
2024-05-08 00:21:30 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:47 +10:00
2021-12-09 22:41:21 +11:00