Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp231739pxm; Wed, 2 Mar 2022 14:08:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJe0bka+4vDx5H0utLrjfiC262PW0mLyUqbEIfK6H3nvPY0J3ADbewo6ZF5S93Hl6OeZs6 X-Received: by 2002:a63:d018:0:b0:374:a3c1:dfed with SMTP id z24-20020a63d018000000b00374a3c1dfedmr27971114pgf.155.1646258902096; Wed, 02 Mar 2022 14:08:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646258902; cv=none; d=google.com; s=arc-20160816; b=ak0OozAh7UXYuqgwIo1U1ANFlhQJR9oUDg5ugUjjTyP47IV9UavNypcjDDy6WF3uUn L8a1votYnrbzzHx2k8vl9D8ud4xZPPF99C1Nwl5E8dpvnwYrtI8DA0zZN03L+Dref9jM kpkCLayj8aWxLVonvwfMeVKpADZb8U1tN1H6+M1XNIpkXpeMdw7anQPvpjkjJBDnXANm O1e6oELOPh8YR4cZ8tRpXX0C/Bexh7/BHeBzPfheDtfQyGZXLLB99JMRo0nzY5eC37n2 k9msmlqtskDNIvh0oVNk1tH2pDsWUQ5CxlVgLhy1tMybERwR0eNAhsrMx4diqLBlNbUa 8sIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=R/c1L+XnDZeU+pqemOA1d/0xhmMdRl79pBFJwINA7Ug=; b=Ebop5LHM9JF2InM7HljlT6VjiTNjwy6bHjB2pFxLJo6naqVF3BSW1MSVqVq0PguFsf n8XQaNYdjZl5xjqMY9ZcLrHKI7g7SeTGvi6di2PRBrnFv7F3F1qyyaaQYhfFwPQYvPYD 6BLV6UnVmNPVQ6/HRX4FzQCPjcMV/oKfNNbYTOgW2e/CIuYkaSKowZX5BsY6Zd5Bpal7 Mg+kXCL5Wa8rn39ouPY2/uHJ78cw726TB2cJAJPb9Q8THbPFrt6FHmd9XU8dWnrsgtfJ kcBoo/cDR5nkjf1w3aUj6WZR3vXHErRg1jKoRUtopoo3slS2jSg5DQM9CXF8kjxma66W FR+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=hp8phhNn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t16-20020a635350000000b0036c8f8ddad8si230405pgl.110.2022.03.02.14.08.04; Wed, 02 Mar 2022 14:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=hp8phhNn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241111AbiCBKrf (ORCPT + 99 others); Wed, 2 Mar 2022 05:47:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235248AbiCBKrc (ORCPT ); Wed, 2 Mar 2022 05:47:32 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DC9CBECD9; Wed, 2 Mar 2022 02:46:49 -0800 (PST) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 2229rrsd007841; Wed, 2 Mar 2022 10:46:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=R/c1L+XnDZeU+pqemOA1d/0xhmMdRl79pBFJwINA7Ug=; b=hp8phhNnrxPiX6zTkoOec+aEfuIurokLmT02O2qMiPl8Ziu70z6GyFKJNmZlJmV3v3X6 WAQOssFql09Ou9V5BTsxzq6AsmqvXVgoqCKmSyNAzisWlYoK3vhWCOkRM6TxRFbraywm HibgvDw66vO8hsnf0p22TeXVyuai3nn1AIm8lDOnoasCAUs7N4Bx7X8T89MccLsV9TRG d6/phmHO0J5KkSGClzIHyCjn/HG3K91BJeJnPx/bEN8rg9Y3Kx3Wj58FTur1LTpYjYR5 5yACrPGG/BMqkhchcIJGYT3RH4ryFOyJrY05sMgVKn21UyimNOAXr7D2G2iPEyK1OTlz UQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3ej6bt0yf4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Mar 2022 10:46:47 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 222AQI9M035647; Wed, 2 Mar 2022 10:46:46 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 3ej6bt0yeg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Mar 2022 10:46:46 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 222AgdBD001503; Wed, 2 Mar 2022 10:46:44 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma03ams.nl.ibm.com with ESMTP id 3efbu9edbv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Mar 2022 10:46:44 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 222Akc7M52429234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 Mar 2022 10:46:38 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BB2C9A404D; Wed, 2 Mar 2022 10:46:38 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 56A92A4040; Wed, 2 Mar 2022 10:46:38 +0000 (GMT) Received: from [9.145.41.193] (unknown [9.145.41.193]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 2 Mar 2022 10:46:38 +0000 (GMT) Message-ID: <3bf9c7c4-4475-ad12-d146-a97b33d1e4ba@linux.ibm.com> Date: Wed, 2 Mar 2022 11:46:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH v2 1/3] drivers/s390/char: Add Ultravisor io device Content-Language: en-US To: Janosch Frank , linux-s390@vger.kernel.org Cc: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , David Hildenbrand , Claudio Imbrenda , Shuah Khan , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20220223144830.44039-1-seiden@linux.ibm.com> <20220223144830.44039-2-seiden@linux.ibm.com> <7058948f-5514-4f8f-c974-f1ac624d67c3@linux.ibm.com> From: Steffen Eiden Organization: IBM In-Reply-To: <7058948f-5514-4f8f-c974-f1ac624d67c3@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: R4lSi8PuL08S3V5pOrTWqVLz_RM67ugJ X-Proofpoint-ORIG-GUID: W8UryUt5yXhPz5sBjhTtd8XoOKiTBPNf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-02_01,2022-02-26_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 impostorscore=0 spamscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2203020043 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/2/22 11:34, Janosch Frank wrote: > On 2/23/22 15:48, 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 is now able to call the Query Ultravisor Information >> Ultravisor Command through the uvdevice. >> >> Signed-off-by: Steffen Eiden >> --- [...] >> + >> +config S390_UV_UAPI >> +    def_tristate y >> +    prompt "Ultravisor userspace API" >> +    depends on PROTECTED_VIRTUALIZATION_GUEST > > Please drop the dependency. > We want this to be available to both guest and host as QUI is available > in both environments and more calls like this could follow. > > We could put an option around the attestation but the savings are not > worth the effort. Makes sense. I will drop the dependency in v3. Steffen