Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5542306iog; Wed, 22 Jun 2022 23:37:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vmLEXbNcqBVVAQvKfemEfUi0OSRz8WRNvhl3tnFKtgkNua7VJk9xeGBW3CnCIH+Ll+6xuT X-Received: by 2002:a17:903:2494:b0:168:fee7:6daa with SMTP id p20-20020a170903249400b00168fee76daamr37325172plw.39.1655966262544; Wed, 22 Jun 2022 23:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655966262; cv=none; d=google.com; s=arc-20160816; b=T3FQgzfgf9azkzRCt/bpKyKRLx9R8U9mKHl92pZK110ChBQmqBCUFsinZkA2dIHj7q OPU3FRaRaxdeTkkN8tccrLstdiy5QfKIbq0XwmHjPZ5lp6qud/HUy1YiLIXLXEQdEgr/ xugXI+j+MbgrE2LmN5MNljfsLiuBvuKEIXwcE06he9AB98nQ9An8wnn/3qv7DxsL63Wr aGg4zgVxGOJB7as6fl0PTSOaOGVYeUvLAbaDciebRbGeHOqTovs69SN6QGyx/ODA7UJl pehtxiNFfiDC9jqrAehbSiOdGheBbvYmPDAcZ8t6noi0IIOBeNYNvFwr94P2CmcBicre jjLA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/P7t2phBqu+ao82YbmtEivv5QBjmpG1rdiMSp18UT+4=; b=HukD5xd0L/Y2rz4ke+xAWHckyB67MQO/rG33LX8hxZRLH1P0joJhJqcHycWiwzknY3 hp3hqZIhhpOWKCb+uR09afIzx9fHTdJs5L55yOF5g0C38R3N/ub/0g2cAH7u2OLlzQGk eJy9yzApCZJQ0ezI7BunUmPS9h3yellMprKxPE6s45hdWLnfNa1V9ymo1dqqvPpRIQtC eAvzP75ce6R/bko45zZWsBKfO3d648bhfz7ciHPE/vE42bTacq7jR8WCdE/LHliCNLfx f35971Od2Gar1NfmxxEqsT/O8axibSlukmqsTjSR54V4IOisQj92HatAOJbI7vUF3RJa LXkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GY9vQtDq; 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 e6-20020a62ee06000000b0051854e7af02si21174277pfi.32.2022.06.22.23.37.28; Wed, 22 Jun 2022 23:37:42 -0700 (PDT) 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=GY9vQtDq; 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 S229552AbiFWG06 (ORCPT + 99 others); Thu, 23 Jun 2022 02:26:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbiFWG05 (ORCPT ); Thu, 23 Jun 2022 02:26:57 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E96541F2F3; Wed, 22 Jun 2022 23:26:56 -0700 (PDT) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25N50r2x029227; Thu, 23 Jun 2022 06:26:56 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=/P7t2phBqu+ao82YbmtEivv5QBjmpG1rdiMSp18UT+4=; b=GY9vQtDq67CFJwCb7t6gId4sGaSxREcjhvnwP8a/zAoudYMQf/l2hFVWGeUXnWSz0/ve G3XAhyN0qpgCL/W7opev1lIpAcwDJwyJhLKVwdT4U0hRMz9mgKveUIRshhMGIca4EuZ7 mCzgSzYu6SIJAc61P9KmFrsLXK+85cmcO/82Vv01CbnZAZHSSSbfZ6me7VCIs8Y8Xt6p cFE+YYWxwuggqI0OMhIt3UtV/b3UT5FTf+937vWSbJNyDs6xjPxthLkfXqayU/7o17Zv RhYsNZC8jIl41QlB9Rjjnj+nV5K6ZNTEIELyrn9AKNc1I9N9q91V6lRJr6U0HESb+LsX GA== Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3gvhnghxga-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Jun 2022 06:26:56 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 25N66A31027533; Thu, 23 Jun 2022 06:26:54 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06fra.de.ibm.com with ESMTP id 3gs5yj5b4n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Jun 2022 06:26:54 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 25N6Qouj21037398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Jun 2022 06:26:50 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C3A23A405B; Thu, 23 Jun 2022 06:26:50 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6A614A4054; Thu, 23 Jun 2022 06:26:50 +0000 (GMT) Received: from [9.145.6.211] (unknown [9.145.6.211]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 23 Jun 2022 06:26:50 +0000 (GMT) Message-ID: <64567338-827d-75ac-f941-5f534db57182@linux.ibm.com> Date: Thu, 23 Jun 2022 08:26:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v2 1/1] s390: Add attestation query information Content-Language: en-US To: Steffen Eiden Cc: borntraeger@linux.ibm.com, hca@linux.ibm.com, imbrenda@linux.ibm.com, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, nrb@linux.ibm.com References: <20220518135908.1110319-2-seiden@linux.ibm.com> <20220601100245.3189993-1-seiden@linux.ibm.com> From: Janosch Frank In-Reply-To: <20220601100245.3189993-1-seiden@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Fre8i_0nPAyFGDEFpCUc6LHAo9S5oVS9 X-Proofpoint-GUID: Fre8i_0nPAyFGDEFpCUc6LHAo9S5oVS9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-06-23_01,2022-06-22_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 priorityscore=1501 spamscore=0 adultscore=0 clxscore=1015 malwarescore=0 impostorscore=0 mlxlogscore=882 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206230023 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_H2,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 6/1/22 12:02, Steffen Eiden wrote: > By design the uv-device does not check whether an incoming attestation > measurement request only specifies valid plain text flags or has the > right request version, as these values are verified by the Ultravisor > anyway. However, the userspace program that generates these requests > might want to know which flags/versions are supported in order to > create requests without trial and error. Therefore, expose the > supported plain text flags and versions to userspace via sysfs. > > Signed-off-by: Steffen Eiden > Reviewed-by: Janosch Frank Reviewed-by: Claudio Imbrenda Thanks, queued