Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2305230rwd; Fri, 16 Jun 2023 02:02:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70gBc6UR3IVy1tFjw297ChyMNPS+dDABV48liePVjFODPjVlHs6aoq9GjRSk6waRA3RqRW X-Received: by 2002:a05:6a21:3996:b0:114:6390:d735 with SMTP id ad22-20020a056a21399600b001146390d735mr1534715pzc.27.1686906139229; Fri, 16 Jun 2023 02:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686906139; cv=none; d=google.com; s=arc-20160816; b=Wcx03YqBvFNUmbN+UoKs3Yzk+gxd5FIf7PSn33ysLBAA4wMdi9RZd102Tak/lg7ryv MpXCxw/qZgXR9nSUAhHi26LsOOeFBLKPTt+cVxPltLAIwJ/7zwp4haYAKIpTNrcEetQ7 OEJZOAwlB+Cq1O8qWja++TYxDmBAf8cycYpxu3utE3Gym0p7XgyXWysqQNSY5k1N60Eg ltiAoy3QpBh3vma/RxUQ9LdZRl/QGfPUodqztNtF1vM0HPDHm9SLts7ptaDjJVIJX8HK n/edlbPtgau1CVmwtgax1ivFYZ7BHMBkRfyNpRunHMwv5FWDitGtvMrn2UxKlLMNyzJy 5YqQ== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9z3tMyvgoNrYBEOFFAQ+HLSRNHIqHXEfc6q8uZ5rIUE=; b=XTVpHRGvc7VEiFHyiyIxu1OD9tlvjDMOf2RDvAZywlGNZyv8Gh2U+X4UWGdpGZAhcM 8p2oBdgzf8Anf2WPpK6+HwmYigXXAZXoBSAV4I6/DeihsY1cdUZC7GjROBK+L91yvB9E FUeLoBFcVN9jSSd5VzIJbPOxh1oau7GIwjXSb7/GPg62qIf0WtbMeIiRHsST9u2+hpCK dAXjFNQ5w92TTodKysQyANpMQwXaLoaojNgAypznBGgp6WkCO33e1cs+P09HBxeEfuTf BbS+uwudACEB5FxqN53+D1Pd+hY9noZHF8sIm8ecUHA/R798D4Ckj7EPkgeDTMcPjSAD FkOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=mmYvBYx9; 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 j69-20020a638048000000b0054a9a35520bsi3977518pgd.347.2023.06.16.02.02.01; Fri, 16 Jun 2023 02:02:19 -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=mmYvBYx9; 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 S244936AbjFPI42 (ORCPT + 99 others); Fri, 16 Jun 2023 04:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242847AbjFPI40 (ORCPT ); Fri, 16 Jun 2023 04:56:26 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67AE826A2; Fri, 16 Jun 2023 01:56:24 -0700 (PDT) Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35G8p3jR007233; Fri, 16 Jun 2023 08:56:23 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=9z3tMyvgoNrYBEOFFAQ+HLSRNHIqHXEfc6q8uZ5rIUE=; b=mmYvBYx9bwnHsjwk/oHLhSlLhlq7WXZn5l8a5FOS6JGsOemNFB56lQoIOXH4rLJIrOPY mU2UWXuOu8zxO/2Se9GXf4BOlSWA+bzgUg/PcidJE8fmCorKMTBJ5vBoZwwX4GBKFA4F nnStSmh2DBnPi4NGi47khSl9+CkYB7ZasIm3oOyVhxpnFPcjDcf7GbO50LUbTL4SaFPN jvd9XjiY3sAImuN5UZAxBkDCMCMsuy8h8TFGjHmsCkNhSOQKf3UZxJovDnExw8rZfMzC xbu3CcaWNX40YTjoYzIftAcL/YoI5OnycZXpmegTe4080UVi+V7U4OZFGuyHlwu0VS18 Lw== 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 3r8mfu0dgt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 08:56:23 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 35G5jioS024210; Fri, 16 Jun 2023 08:56:21 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma06fra.de.ibm.com (PPS) with ESMTPS id 3r4gedu4sc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 08:56:21 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 35G8uHFr20382460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 16 Jun 2023 08:56:17 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CD37220043; Fri, 16 Jun 2023 08:56:17 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7856320040; Fri, 16 Jun 2023 08:56:17 +0000 (GMT) Received: from [9.179.5.100] (unknown [9.179.5.100]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 16 Jun 2023 08:56:17 +0000 (GMT) Message-ID: <08ed39eb-b1cf-7c15-83a4-dd59cc29732b@linux.ibm.com> Date: Fri, 16 Jun 2023 10:56:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH v5 1/7] s390/uv: Always export uv_info To: Steffen Eiden , kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Claudio Imbrenda , Christian Borntraeger References: <20230615100533.3996107-1-seiden@linux.ibm.com> <20230615100533.3996107-2-seiden@linux.ibm.com> Content-Language: en-US From: Janosch Frank In-Reply-To: <20230615100533.3996107-2-seiden@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: rSK6T5LhdkXwFqRf0825EV8BGdNPrD2K X-Proofpoint-ORIG-GUID: rSK6T5LhdkXwFqRf0825EV8BGdNPrD2K X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-16_05,2023-06-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 spamscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306160076 X-Spam-Status: No, score=-2.1 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 6/15/23 12:05, Steffen Eiden wrote: > KVM needs the struct's values to be able to provide PV support. > > The uvdevice is currently guest only and will need the struct's values > for call support checking and potential future expansions. > > As uv.c is only compiled with CONFIG_PGSTE or > CONFIG_PROTECTED_VIRTUALIZATION_GUEST we don't need a second check in > the code. Users of uv_info will need to fence for these two config > options for the time being. > > Signed-off-by: Steffen Eiden > Reviewed-by: Janosch Frank In the long term we'll remove the config checks and always compile uv.o in kernel/ and boot/ so we won't be running in these issues again.