public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
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 v5 0/6] s390x: Attestation tests
Date: Mon,  2 May 2022 09:39:19 +0000	[thread overview]
Message-ID: <20220502093925.4118-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.

v4->v5:
  * added r-b from Janosch
  * fixed some nits
  * Added PATCH to remove double prefix_pop in uv-guest
  * renamed latch PATCH

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 (6):
  s390x: uv-host: Add invalid command attestation check
  s390x: lib: Add QUI getter
  s390x: uv-guest: remove duplicated checks
  s390x: uv-guest: Remove double report_prefix_pop
  s390x: uv-guest: add share bit test
  s390x: 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   |  51 ++++++----
 s390x/uv-host.c    |   1 +
 7 files changed, 295 insertions(+), 20 deletions(-)
 create mode 100644 s390x/pv-attest.c

-- 
2.30.2


             reply	other threads:[~2022-05-02  9:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-02  9:39 Steffen Eiden [this message]
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 1/6] s390x: uv-host: Add invalid command attestation check Steffen Eiden
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 2/6] s390x: lib: Add QUI getter Steffen Eiden
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 3/6] s390x: uv-guest: remove duplicated checks Steffen Eiden
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 4/6] s390x: uv-guest: Remove double report_prefix_pop Steffen Eiden
2022-05-04  8:38   ` Janosch Frank
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 5/6] s390x: uv-guest: add share bit test Steffen Eiden
2022-05-04  8:39   ` Janosch Frank
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 6/6] s390x: Add attestation tests Steffen Eiden
2022-05-04  8:36   ` Janosch Frank

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=20220502093925.4118-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