Yeah, I guess the "ABI" word in misleading here, especially the first
letter. I mean something else: the old kernel/new kernel.
This persistent memory pool (its metadata) is supposed to be passed
across kexec with the data. That is probably the main difference in
comparison to pmem or cma.
Since the header can change its format between kernels, there should be
a way to identify it.
Ah. Hah, that's crazy, and it's never going to work, you need to just
test the version of the kernel that the image was created for (you have
that in the kernel already) and verify that it is the same before
loading the new one.
That way you never have to worry about any "version number", it's just
the kernel specific version number instead.