David Hildenbrand
82a0fcb1ad
s390/kdump: Provide is_kdump_kernel() implementation
...
s390 sets "elfcorehdr_addr = ELFCORE_ADDR_MAX;" early during
setup_arch() to deactivate the "elfcorehdr= kernel" parameter,
resulting in is_kdump_kernel() returning "false".
During vmcore_init()->elfcorehdr_alloc(), if on a dump kernel and
allocation succeeded, elfcorehdr_addr will be set to a valid address
and is_kdump_kernel() will consequently return "true".
is_kdump_kernel() should return a consistent result during all boot
stages, and properly return "true" if in a kdump environment - just
like it is done on powerpc where "false" is indicated in fadump
environments, as added in commit b098f1c323 ("powerpc/fadump: make
is_kdump_kernel() return false when fadump is active").
Similarly provide a custom is_kdump_kernel() implementation that will only
return "true" in kdump environments, and will do so consistently during
boot.
Update the documentation of dump_available().
Signed-off-by: David Hildenbrand <david@redhat.com >
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com >
Link: https://lore.kernel.org/r/20241023090651.1115507-1-david@redhat.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com >
2024-10-25 16:03:23 +02:00
..
2024-08-29 22:56:35 +02:00
2024-09-13 20:57:31 +02:00
2024-07-23 16:02:32 +02:00
2024-02-12 15:03:33 +01:00
2023-08-30 11:03:28 +02:00
2024-09-13 17:28:36 +02:00
2024-04-09 17:29:55 +02:00
2024-02-09 13:58:13 +01:00
2024-09-07 17:12:42 +02:00
2022-08-02 17:31:35 -07:00
2020-07-20 10:55:45 +02:00
2023-10-16 13:04:09 +02:00
2024-04-17 13:38:03 +02:00
2024-09-07 17:12:42 +02:00
2024-04-03 15:00:19 +02:00
2024-09-07 17:12:42 +02:00
2024-06-24 11:12:39 +02:00
2024-02-14 13:50:53 +01:00
2020-10-25 14:51:49 -07:00
2024-07-03 15:16:54 +02:00
2022-02-17 07:00:39 -06:00
2024-07-03 19:30:24 -07:00
2024-04-09 17:29:55 +02:00
2024-03-13 09:23:46 +01:00
2020-08-26 18:47:21 +02:00
2020-09-14 10:30:07 +02:00
2023-06-05 09:36:39 +02:00
2023-05-17 15:20:17 +02:00
2024-09-12 14:13:27 +02:00
2024-07-03 19:30:24 -07:00
2021-10-26 15:21:29 +02:00
2022-07-19 16:18:49 +02:00
2023-02-09 20:11:23 +01:00
2022-02-06 23:31:29 +01:00
2020-09-15 13:21:46 -07:00
2024-08-29 22:56:34 +02:00
2024-06-18 17:01:33 +02:00
2024-07-10 19:50:45 +02:00
2023-07-24 12:12:24 +02:00
2020-12-16 14:55:49 +01:00
2024-08-29 22:56:34 +02:00
2024-03-13 09:23:49 +01:00
2023-09-05 20:12:51 +02:00
2024-04-26 16:22:38 +02:00
2024-03-13 09:23:46 +01:00
2024-07-02 10:17:16 +02:00
2024-06-28 08:54:56 -07:00
2022-03-08 00:33:00 +01:00
2024-04-17 13:37:59 +02:00
2024-10-10 15:32:43 +02:00
2023-10-23 18:21:22 +02:00
2024-03-13 09:23:46 +01:00
2024-09-13 20:57:31 +02:00
2024-02-16 14:30:18 +01:00
2024-02-16 14:30:17 +01:00
2024-02-16 14:30:16 +01:00
2024-08-27 20:16:48 +02:00
2021-08-03 14:31:40 +02:00
2022-10-26 14:47:31 +02:00
2024-04-18 15:02:53 +02:00
2024-06-18 17:01:33 +02:00
2024-08-29 22:56:35 +02:00
2024-07-12 15:52:15 -07:00
2024-03-13 09:23:47 +01:00
2023-02-15 11:07:01 +01:00
2024-04-22 17:11:20 -03:00
2022-12-06 16:18:22 +01:00
2023-11-23 11:32:29 +01:00
2024-08-29 22:56:34 +02:00
2024-07-03 19:30:25 -07:00
2024-02-09 15:57:48 -08:00
2023-03-20 11:02:51 +01:00
2024-09-03 21:15:28 -07:00
2021-10-20 13:09:47 -05:00
2024-10-25 16:03:23 +02:00
2023-08-16 15:13:03 +02:00
2024-07-23 16:01:51 +02:00
2023-11-10 19:59:05 +09:00
2024-07-20 12:41:03 -07:00
2021-08-25 11:03:35 +02:00
2023-03-20 11:12:46 +01:00
2024-08-29 22:56:34 +02:00
2023-08-16 15:13:02 +02:00
2024-09-07 17:12:42 +02:00
2022-11-07 14:33:40 +01:00
2024-06-18 17:01:33 +02:00
2024-04-18 15:02:53 +02:00
2024-09-13 17:28:36 +02:00
2023-01-11 16:27:23 -04:00
2023-02-28 13:19:05 +01:00
2024-07-23 16:02:31 +02:00
2024-04-17 13:38:03 +02:00
2024-04-29 17:33:29 +02:00
2023-11-05 22:34:58 +01:00
2024-09-01 20:25:53 -07:00
2024-06-18 17:01:33 +02:00
2024-10-10 15:32:44 +02:00
2022-04-25 13:54:15 +02:00
2023-10-02 08:43:00 +02:00
2022-07-11 09:54:28 +02:00
2024-10-16 11:33:06 +02:00
2024-10-10 15:32:44 +02:00
2024-09-07 17:12:42 +02:00
2024-08-07 20:52:53 +02:00
2023-07-29 14:57:18 +02:00
2024-03-06 13:04:18 -08:00
2024-09-17 01:06:59 -07:00
2024-04-17 13:38:02 +02:00
2024-08-29 22:56:33 +02:00
2024-09-07 17:12:42 +02:00
2024-08-29 22:56:35 +02:00
2024-03-17 19:08:50 +01:00
2024-03-13 09:23:46 +01:00
2024-07-23 15:54:58 +02:00
2023-02-28 13:19:05 +01:00
2024-08-29 22:56:34 +02:00
2024-03-13 09:23:46 +01:00
2020-11-20 11:16:35 -08:00
2023-08-30 11:03:27 +02:00
2024-10-25 16:03:23 +02:00
2024-08-29 22:56:34 +02:00
2021-06-18 16:41:22 +02:00
2024-08-29 22:56:35 +02:00
2024-06-18 17:01:33 +02:00
2021-12-07 15:14:12 +01:00
2024-07-23 16:02:31 +02:00
2024-07-10 19:50:45 +02:00
2022-05-11 14:40:57 +02:00
2024-07-03 19:30:25 -07:00
2023-12-20 21:30:27 -08:00
2021-09-14 16:06:20 +02:00
2023-11-22 14:07:28 +01:00
2021-10-11 20:55:58 +02:00
2024-07-23 16:02:31 +02:00
2024-06-18 17:01:33 +02:00
2024-02-22 15:27:17 -08:00
2022-03-10 15:58:17 +01:00
2024-08-29 22:56:35 +02:00
2022-07-11 09:54:29 +02:00
2021-06-18 16:41:21 +02:00
2024-07-23 16:02:31 +02:00
2024-07-10 14:23:38 +02:00
2023-01-22 18:42:35 +01:00
2022-01-30 21:17:00 -05:00
2024-08-07 11:04:43 +00:00
2024-09-13 17:28:36 +02:00
2024-09-13 17:28:36 +02:00
2024-06-18 17:01:33 +02:00
2020-09-30 12:09:54 +02:00
2024-02-01 09:47:59 -08:00