]> www.infradead.org Git - users/willy/pagecache.git/commit
s390/kdump: virtio-mem kdump support (CONFIG_PROC_VMCORE_DEVICE_RAM)
authorDavid Hildenbrand <david@redhat.com>
Wed, 4 Dec 2024 12:54:43 +0000 (13:54 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Jan 2025 14:39:25 +0000 (09:39 -0500)
commit212c3a85133332d776449fad3b9150c8d927f0fd
tree9429be08b07640e1564d03bd4d1b7f41be397193
parentc6a8239a9eddf38137797292ed75432957a37a14
s390/kdump: virtio-mem kdump support (CONFIG_PROC_VMCORE_DEVICE_RAM)

Let's add support for including virtio-mem device RAM in the crash dump,
setting NEED_PROC_VMCORE_DEVICE_RAM, and implementing
elfcorehdr_fill_device_ram_ptload_elf64().

To avoid code duplication, factor out the code to fill a PT_LOAD entry.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20241204125444.1734652-13-david@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch/s390/Kconfig
arch/s390/kernel/crash_dump.c