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

Let's implement the get_device_ram() vmcore callback, so
architectures that select NEED_PROC_VMCORE_NEED_DEVICE_RAM, like s390
soon, can include that memory in a crash dump.

Merge ranges, and process ranges that might contain a mixture of plugged
and unplugged, to reduce the total number of ranges.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20241204125444.1734652-12-david@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_mem.c
fs/proc/Kconfig