From: Steffen Eiden <seiden@linux.ibm.com>
To: Thomas Huth <thuth@redhat.com>,
Janosch Frank <frankja@linux.ibm.com>,
Claudio Imbrenda <imbrenda@linux.ibm.com>,
David Hildenbrand <david@redhat.com>
Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org
Subject: [kvm-unit-tests PATCH v4 0/5] s390x: Attestation tests
Date: Thu, 21 Apr 2022 09:45:22 +0000 [thread overview]
Message-ID: <20220421094527.32261-1-seiden@linux.ibm.com> (raw)
This series adds some test in s390x/uv-guest.c verifying error paths of the
Request Attestation Measurement UVC.
Also adds a test in s390x/uv-host.c to verify that the
Request Attestation Measurement UVC cannot be called in guest1.
Additionally, adds a shared bit test and removes duplicated tests.
v3->v4:
* renamed PATCH 1
* moved attestation guest tests into own file
* rebased onto current master
v2->v3:
* added test for share bits as new PATCH 4/5
* added r-b from Claudio in PATCH 1/4
* replaced all u* with uint*_t
* incorporated misc feedback from Claudio
v1->v2:
* renamed 'uv_get_info(void)' to 'uv_get_query_data(void)'
* renamed various fields in 'struct uv_arcb_v1'
* added a test for invalid additional size
* added r-b from Janosch in PATCH 1/4
* added r-b from Janosch in PATCH 3/4
Steffen Eiden (5):
s390x: uv-host: Add invalid command attestation check
s390x: lib: Add QUI getter
s390x: uv-guest: remove duplicated checks
s390x: uv-guest: add share bit test
s390x: uv-guest: Add attestation tests
lib/s390x/asm/uv.h | 28 +++++-
lib/s390x/uv.c | 8 ++
lib/s390x/uv.h | 1 +
s390x/Makefile | 1 +
s390x/pv-attest.c | 225 +++++++++++++++++++++++++++++++++++++++++++++
s390x/uv-guest.c | 49 ++++++----
s390x/uv-host.c | 1 +
7 files changed, 293 insertions(+), 20 deletions(-)
create mode 100644 s390x/pv-attest.c
--
2.30.2
next reply other threads:[~2022-04-21 9:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-21 9:45 Steffen Eiden [this message]
2022-04-21 9:45 ` [kvm-unit-tests PATCH v4 1/5] s390x: uv-host: Add invalid command attestation check Steffen Eiden
2022-04-21 9:45 ` [kvm-unit-tests PATCH v4 2/5] s390x: lib: Add QUI getter Steffen Eiden
2022-04-21 11:26 ` Janosch Frank
2022-04-21 9:45 ` [kvm-unit-tests PATCH v4 3/5] s390x: uv-guest: remove duplicated checks Steffen Eiden
2022-04-21 9:45 ` [kvm-unit-tests PATCH v4 4/5] s390x: uv-guest: add share bit test Steffen Eiden
2022-04-21 11:33 ` Janosch Frank
2022-04-21 9:45 ` [kvm-unit-tests PATCH v4 5/5] s390x: uv-guest: Add attestation tests Steffen Eiden
2022-04-26 9:22 ` Janosch Frank
2022-04-26 9:39 ` Steffen Eiden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220421094527.32261-1-seiden@linux.ibm.com \
--to=seiden@linux.ibm.com \
--cc=david@redhat.com \
--cc=frankja@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox