Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp399981iob; Wed, 18 May 2022 04:51:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0UipNcUyapG121mbn9dJp7uPXB+6ldTln1eykhNkMV3ASEEh3AITZlS2Wm1sraFRzq5h8 X-Received: by 2002:a63:ea47:0:b0:3f5:f4e8:7353 with SMTP id l7-20020a63ea47000000b003f5f4e87353mr3408482pgk.220.1652874673601; Wed, 18 May 2022 04:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652874673; cv=none; d=google.com; s=arc-20160816; b=kkwzqmkDBfEW4n2kPlueRNhmT68lamY6BIvWntAd6/PRZ/pxjgtk2qckRA+7PgJ7um 8ukg/hgqAZy0+zuFCfI1qz42EN7DOSE7Lezn8yGudl49B8i7ZOOoQLWzpORPOpRndawL 9kj6eLyXx8hcfZDMw3FEbPrNKCvJT5ZthDvWD+RVpPo8jnBGQgvU1mIq+iBm0sfhJgPD ObpZY9sO+zAAPxK+suingdFxTEt5QiTHbIb+68SvezgOTDRTlFbTqYM+uHojPt+OG/WA yiNjut95s4yKNeWG00PPDs8BbuRy1tRFrtAPzwFAU/lCX2fx/46f3qaHWbSGKiKb4bTy qqSQ== 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=+nKPEVL8prVFTEnvtOi0sxLtE2RHvbWJm1XphVS7dGQ=; b=mZqVeO5k/hCAPXcd+x7IZ1U5BzefQKt4L4pCj8ZWogy07B5LZLDhkcTCSF1n9DkMNq HiULxFIcpGLA9uwlCJnGGreUuFK1ByRGK8OT8MPxuLgS/e1Z9o5/btdq9PJEeEjGtnty onK38HHrvw7aLa/1oUxESaZt/BeH1kXmObJ4yccKpZCSa4njekJ5Xm4bscrhs3b/xVbG on6rn7Fv1JRy5c5pdNmZeBZMWdyU0QAi1QXD9qWyvBkoNimyQswOyGRuy0BRGR9G0XaO vi9KHMyPqBsOgsbrTnaSdF6CTgtwe8P1++QLoWn+9TAWN2PptFF/bIipk9k9NK2EhRrK Yd6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=LQWw2yLi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v22-20020a636116000000b003995aee3634si2513353pgb.175.2022.05.18.04.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 04:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=LQWw2yLi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 13CC81796FF; Wed, 18 May 2022 04:47:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235782AbiERLrd (ORCPT + 99 others); Wed, 18 May 2022 07:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232124AbiERLrc (ORCPT ); Wed, 18 May 2022 07:47:32 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F761169E28; Wed, 18 May 2022 04:47:31 -0700 (PDT) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24IAvhEQ020241; Wed, 18 May 2022 11:47:27 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=+nKPEVL8prVFTEnvtOi0sxLtE2RHvbWJm1XphVS7dGQ=; b=LQWw2yLiLlVRd6+/IOveV5GxBcCA9k7BZnfJDL47ao2NuNkpVTVdXEh+BVelhf99QEmu WSiFpCwotuHwiHQKmtjYZN05VUKcJdBJ3NEKgBmwR3MvJ/7n+L2u9zmWUjKqOG5lWSYL rffEzxP32HeljHN3LqmrDXncIPm2im98ffsCE5vpW/8OAQI37FYxb2Oz6q8w+L78uGRe Lw9CVPoqya8UT/GE4WQZcVmSFW6oYcGBYsZNN126pcypmj19ubHut258tqwsn/N0ljni 0WMdOATQWRjz2TXAx/oeQyL5azCRjsPOEg4nWyO69gpK8xzAMBoRBymyM/qM9zQ5BByw 0Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3g4ygr14x1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 May 2022 11:47:26 +0000 Received: from m0098404.ppops.net (m0098404.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 24IB2CYs019307; Wed, 18 May 2022 11:47:26 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3g4ygr14w7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 May 2022 11:47:26 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 24IBg1Pr028421; Wed, 18 May 2022 11:47:23 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06ams.nl.ibm.com with ESMTP id 3g23pjdn4n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 May 2022 11:47:23 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 24IBlK8G58130702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 May 2022 11:47:20 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6B17742042; Wed, 18 May 2022 11:47:20 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E997242041; Wed, 18 May 2022 11:47:19 +0000 (GMT) Received: from osiris (unknown [9.145.54.247]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 18 May 2022 11:47:19 +0000 (GMT) Date: Wed, 18 May 2022 13:47:18 +0200 From: Heiko Carstens To: Steffen Eiden Cc: Greg KH , Alexander Gordeev , Shuah Khan , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , David Hildenbrand , Nico Boehr , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v4 1/2] drivers/s390/char: Add Ultravisor io device Message-ID: References: <20220510144724.3321985-1-seiden@linux.ibm.com> <20220510144724.3321985-2-seiden@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220510144724.3321985-2-seiden@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 3drxn84-cVvXdIpMwW-724Y69aCBEo3a X-Proofpoint-GUID: HYccexZNg8GE4fFYEkJgiomCoVDPSJsk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-18_04,2022-05-17_02,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 impostorscore=0 adultscore=0 lowpriorityscore=0 mlxscore=0 mlxlogscore=999 bulkscore=0 clxscore=1011 malwarescore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205180065 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, May 10, 2022 at 02:47:23PM +0000, Steffen Eiden wrote: > diff --git a/drivers/s390/char/Kconfig b/drivers/s390/char/Kconfig > index 6cc4b19acf85..e9b9902abbaf 100644 > --- a/drivers/s390/char/Kconfig > +++ b/drivers/s390/char/Kconfig > @@ -100,6 +100,16 @@ config SCLP_OFB > This option enables the Open-for-Business interface to the s390 > Service Element. > > +config S390_UV_UAPI > + def_tristate y > + prompt "Ultravisor userspace API" > + help > + Selecting exposes parts of the UV interface to userspace > + by providing a misc character device at /dev/uv. > + Using IOCTLs one can interact with the UV. > + The device is only available if the Ultravisor > + Facility (158) is present. Is there a reason why this is default "y"? If you think this should be compiled into the kernel if used, then why allow to make it a module at all? Instead you could get rid of a couple if lines of code.