diff options
author | Steffen Eiden <seiden@linux.ibm.com> | 2022-05-18 16:59:08 +0300 |
---|---|---|
committer | Janosch Frank <frankja@linux.ibm.com> | 2022-07-11 12:29:51 +0300 |
commit | 1b6abe95b522b313569469498c8c648a5ee535ba (patch) | |
tree | a45c46d74168024142d61a9f312f490fac0e0c4d /arch/s390/boot | |
parent | b9df116cb7656c7e7f869cf9d05b54b3fb3f944b (diff) | |
download | linux-1b6abe95b522b313569469498c8c648a5ee535ba.tar.xz |
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')
-rw-r--r-- | arch/s390/boot/uv.c | 2 |
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 |