public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steffen Eiden <seiden@linux.ibm.com>
To: Greg KH <greg@kroah.com>
Cc: agordeev@linux.ibm.com, borntraeger@linux.ibm.com,
	david@redhat.com, frankja@linux.ibm.com, gor@linux.ibm.com,
	hca@linux.ibm.com, imbrenda@linux.ibm.com, kvm@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-s390@vger.kernel.org, nrb@linux.ibm.com, shuah@kernel.org
Subject: Re: [PATCH v3 1/4] drivers/s390/char: Add Ultravisor io device
Date: Thu, 17 Mar 2022 12:23:16 +0100	[thread overview]
Message-ID: <859962fd-cb55-42ea-78f0-75677953bb58@linux.ibm.com> (raw)
In-Reply-To: <6175e7fa-070e-8ab2-843a-8019d0dc0c83@linux.ibm.com>

Hi greg,

On 3/17/22 12:07, Steffen Eiden wrote:
> Hi greg,
> 
> On 3/17/22 10:59, Greg KH wrote:
>> On Thu, Mar 17, 2022 at 09:47:06AM +0000, Steffen Eiden wrote:
>>> This patch adds a new miscdevice to expose some Ultravisor functions
>>> to userspace. Userspace can send IOCTLs to the uvdevice that will then
>>> emit a corresponding Ultravisor Call and hands the result over to
>>> userspace. The uvdevice is available if the Ultravisor Call facility is
>>> present.
>>> Userspace can call the Retrieve Attestation Measurement
>>> Ultravisor Call using IOCTLs on the uvdevice.
>>>
>>> The uvdevice will do some sanity checks first.
>>> Then, copy the request data to kernel space, build the UVCB,
>>> perform the UV call, and copy the result back to userspace.
>>>
>>> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
>>> Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
>>
>> Do you have a pointer to the userspace code that interacts with this
>> kernel driver?  That would be good to have to verify that the api here
>> is sane.
>>
> There is a userspace tool currently under development, however, not yet 
> ready to be published.
> Currently, I can only point to the Kselftest in this series and the 
> kvm-unit-tests at 
> https://lore.kernel.org/linux-s390/20220203091935.2716-1-seiden@linux.ibm.com/ 
> 
I forgot to point out that the Attestation userspace tool will be 
open-source and included in the s390-tool package.
I can send you the current state of that tool in private if you want.

> 
> 
>> thanks,
>>
>> greg k-h
>>
> 
> steffen

steffen

  reply	other threads:[~2022-03-17 11:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-04 14:11 [PATCH v3 0/4] s390: Ultravisor device Steffen Eiden
2022-03-04 14:11 ` [PATCH v3 1/4] drivers/s390/char: Add Ultravisor io device Steffen Eiden
2022-03-16  8:23   ` Janosch Frank
2022-03-16  9:02   ` Janosch Frank
2022-03-17  9:47   ` [PATCH v3 1/4] drivers/s390/char: Add Ultravisor io device' Steffen Eiden
2022-03-17  9:59     ` Greg KH
2022-03-17 11:07       ` [PATCH v3 1/4] drivers/s390/char: Add Ultravisor io device Steffen Eiden
2022-03-17 11:23         ` Steffen Eiden [this message]
2022-03-17 11:59         ` Greg KH
2022-03-04 14:11 ` [PATCH v3 2/4] drivers/s390/char: Add Query Ultravisor Information to uvdevice Steffen Eiden
2022-03-16  8:56   ` Janosch Frank
2022-03-04 14:11 ` [PATCH v3 3/4] selftests: drivers/s390x: Add uvdevice tests Steffen Eiden
2022-03-04 14:11 ` [PATCH v3 4/4] selftests: drivers/s390x: Add uvdevice QUI tests Steffen Eiden
2022-03-16  9:04 ` [PATCH v3 0/4] s390: Ultravisor device 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=859962fd-cb55-42ea-78f0-75677953bb58@linux.ibm.com \
    --to=seiden@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=david@redhat.com \
    --cc=frankja@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=greg@kroah.com \
    --cc=hca@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=nrb@linux.ibm.com \
    --cc=shuah@kernel.org \
    /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