Re: [PATCH v2 1/7] s390/kdump: implement is_kdump_kernel()

From: David Hildenbrand
Date: Wed Oct 23 2024 - 03:45:36 EST


On 23.10.24 09:42, Heiko Carstens wrote:
On Mon, Oct 21, 2024 at 04:45:59PM +0200, David Hildenbrand wrote:
For my purpose (virtio-mem), it's sufficient to only support "kexec
triggered kdump" either way, so I don't care.

So for me it's good enough to have

bool is_kdump_kernel(void)
{
return oldmem_data.start;
}

And trying to document the situation in a comment like powerpc does :)

Then let's go forward with this, since as Alexander wrote, this is returning
what is actually happening. If this is not sufficient or something breaks we
can still address this.


Yes, I'll send this change separately from the other virtio-mem stuff out today.

--
Cheers,

David / dhildenb