Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10493909rwr; Fri, 12 May 2023 08:51:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ62tXmxehuhV9lSy3dKaMHNCyT/LkSiNcGvOdUX9vw23ul7kmLU2KczUo3lkE1G/sI3Ud0G X-Received: by 2002:a17:90b:3648:b0:250:32e2:5681 with SMTP id nh8-20020a17090b364800b0025032e25681mr24750796pjb.6.1683906667352; Fri, 12 May 2023 08:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683906667; cv=none; d=google.com; s=arc-20160816; b=NjXcFvsz+CUOXjQMYZg6XE96oYErPyd1GRJrAyqV+sJ2ujjxQqWtSp4zlM5S8fR1vm BApn1jRzChENjhIXuYsgScxsE/NpMk4B2vWW5w98yqS9teSlXlGzjPTYWYigtUDfS4wa tQMLnPLq41CfvV1f7E21RbwOFgqWAbwK0Z6Czibozc7VLYRiS5+FUiGFVCirGyiY8f6m TQFoEqmaMtnEYKdUDvQbxkVw64LM14jfvR/OTH981zbotLkqGmErRpBxgBjBYX0Cii2S hNVDdR29+JvFje0nLX3dgMailkp+Mrcgv4alUngaP1Q1/wgRXjBmqw7E2TwDyiQGVlMx bHlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=97f9UGa5HYz+f/llJQR7fEEzPzbWJk+BZt5ibp0YWDM=; b=xRSgLLDUkgbUa+z0LZoIGtPV8A+8AZ7F3b2dbrIj4G5/bri+D81vsHE8vy/YNjluzK sCJGXE7lxkFvdEqj3sj7mLemibFmMRDap/fpnkW8aedW/dSW73WqGvjV2kue5C+Mn4Oi XAz3TX1thFAir+Ly7GNWzlJ6ao5xWTI8hFbuAN+XyAdSHB9UpYv8x2Cy4rZGLpzunhEt ZCiyuSWx+if62xrmHuBQewVg3yk+T+rz4/3wXm5wILLi72DkN3qe9drGy7LftZzVatZL f2MbayI/AQEKdg9+PxkxsZOt/Chk0O7Wmm9AOJiub1UiSQBReqhopFzwYZKKqOpSoXmV JuQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WeFaTjAD; 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=REJECT 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 j11-20020a17090a734b00b0024772efd4e3si22474844pjs.60.2023.05.12.08.50.55; Fri, 12 May 2023 08:51:07 -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=WeFaTjAD; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241671AbjELPi4 (ORCPT + 99 others); Fri, 12 May 2023 11:38:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231788AbjELPiz (ORCPT ); Fri, 12 May 2023 11:38:55 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA4135A7; Fri, 12 May 2023 08:38:54 -0700 (PDT) Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34CFEbaO014439; Fri, 12 May 2023 15:38:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=97f9UGa5HYz+f/llJQR7fEEzPzbWJk+BZt5ibp0YWDM=; b=WeFaTjADdhzS9A5BNggScNVT/oPrAwAgqjSwEFvdTBB/qNdOgMyYyF8TqdH9jGmY2Vqw bnsO15MeCw4EIgLRiR4C9jQ0L9GI8ZDTL8oUchsdEH8MRvkM4eNaynBL+OjmiWoWdIeN q34PMozL2UWJP3pdTYxskpdybtuBIqV+lsW5JeYguLCiU8mnF9c6wPB9I/Zq5FV4bqVg 2xT9+BoM4+dplJ3ZocNDyAGZH7ij4O+P4w9hZkDPrKHNiCGG082ZqWtsUsrKCHBLDxgh 69blp+JNdEOhJaZjZynIFA58mm1RxAVUU3SLi3RAHYEU9M3eNPYN3/7F2vR/ilZ94lyg 4Q== Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qhk83247k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 May 2023 15:38:48 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34CE8TcD003948; Fri, 12 May 2023 15:34:28 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma03fra.de.ibm.com (PPS) with ESMTPS id 3qf7s8j0ad-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 May 2023 15:34:28 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34CFYOZF46268684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 15:34:24 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B2D862004B; Fri, 12 May 2023 15:34:24 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1CD8420040; Fri, 12 May 2023 15:34:24 +0000 (GMT) Received: from osiris (unknown [9.179.20.70]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTPS; Fri, 12 May 2023 15:34:24 +0000 (GMT) Date: Fri, 12 May 2023 17:34:22 +0200 From: Heiko Carstens To: Janosch Frank Cc: Steffen Eiden , kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Viktor Mihajlovski , Claudio Imbrenda , Nico Boehr , Christian Borntraeger , Hendrik Brueckner Subject: Re: [PATCH 5/5] s390/uv: Update query for secret-UVCs Message-ID: References: <20230512093153.206378-1-seiden@linux.ibm.com> <20230512093153.206378-6-seiden@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Ykx9P2LUQ-KUQE1GgLeNXXfL0uFQqFe_ X-Proofpoint-GUID: Ykx9P2LUQ-KUQE1GgLeNXXfL0uFQqFe_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-12_09,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 mlxlogscore=842 lowpriorityscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 adultscore=0 suspectscore=0 spamscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305120129 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,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 Fri, May 12, 2023 at 03:27:52PM +0200, Janosch Frank wrote: > On 5/12/23 14:53, Heiko Carstens wrote: > > On Fri, May 12, 2023 at 11:31:53AM +0200, Steffen Eiden wrote: > > > Update the query struct such that secret-UVC related > > > information can be parsed. > > > Add sysfs files for these new values. > > > > > > Signed-off-by: Steffen Eiden > > > --- > > > arch/s390/boot/uv.c | 4 ++++ > > > arch/s390/include/asm/uv.h | 11 ++++++++++- > > > arch/s390/kernel/uv.c | 40 ++++++++++++++++++++++++++++++++++++++ > > > 3 files changed, 54 insertions(+), 1 deletion(-) > > ... > > > +static ssize_t uv_query_supp_add_secret_req_ver(struct kobject *kobj, > > > + struct kobj_attribute *attr, char *page) > > > +{ > > > + return scnprintf(page, PAGE_SIZE, "%lx\n", uv_info.supp_add_secret_req_ver); > > > +} > > > > FWIW, another minor thing: all of these should be sysfs_emit() instead. > > Do you want us to move all of them to sysfs_emit() eventually or should we > keep the scnprintfs() which are already in uv.c ? I'd convert the existing ones as well.