aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/boot/uv.c
diff options
context:
space:
mode:
authorSteffen Eiden <seiden@linux.ibm.com>2022-05-18 13:59:08 +0000
committerJanosch Frank <frankja@linux.ibm.com>2022-07-11 11:29:51 +0200
commit1b6abe95b522b313569469498c8c648a5ee535ba (patch)
treea45c46d74168024142d61a9f312f490fac0e0c4d /arch/s390/boot/uv.c
parentKVM: s390: drop unexpected word 'and' in the comments (diff)
downloadlinux-dev-1b6abe95b522b313569469498c8c648a5ee535ba.tar.xz
linux-dev-1b6abe95b522b313569469498c8c648a5ee535ba.zip
s390: Add attestation query information
We have information about the supported attestation header version and plaintext attestation flag bits. Let's expose it via the sysfs files. Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Link: https://lore.kernel.org/lkml/20220601100245.3189993-1-seiden@linux.ibm.com/ Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/uv.c')
-rw-r--r--arch/s390/boot/uv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/boot/uv.c b/arch/s390/boot/uv.c
index 67c737c1e580..a5fa667160b2 100644
--- a/arch/s390/boot/uv.c
+++ b/arch/s390/boot/uv.c
@@ -45,6 +45,8 @@ void uv_query_info(void)
uv_info.supp_se_hdr_pcf = uvcb.supp_se_hdr_pcf;
uv_info.conf_dump_storage_state_len = uvcb.conf_dump_storage_state_len;
uv_info.conf_dump_finalize_len = uvcb.conf_dump_finalize_len;
+ uv_info.supp_att_req_hdr_ver = uvcb.supp_att_req_hdr_ver;
+ uv_info.supp_att_pflags = uvcb.supp_att_pflags;
}
#ifdef CONFIG_PROTECTED_VIRTUALIZATION_GUEST