By design the uv-device does not check whether an incoming attestation measurement request only specifies valid plaintext flags or has the right request version, as these values are verified by the Ultravisor anyway. However, the userspace program that generates these requests might want to know which flags/versions are supported in order to create requests without trial and error. Therefore, we must expose the supported plaintext flags and versions to userspace. since v1: * rebased on Janosch's "kvm: s390: Add PV dump support" series * added rationale as this cover letter Steffen Eiden (1): s390: Add attestation query information arch/s390/boot/uv.c | 2 ++ arch/s390/include/asm/uv.h | 7 ++++++- arch/s390/kernel/uv.c | 20 ++++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) -- 2.30.2