Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1406270pxb; Fri, 18 Feb 2022 07:11:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJysNPt+3X8r8kpKni2jk/0hIrjnAVNulX6pcAl5eIv3tEMyIOCoyMFDcjK3/4nHRJ/nQXeJ X-Received: by 2002:a05:6a00:1694:b0:4e1:9050:1e19 with SMTP id k20-20020a056a00169400b004e190501e19mr8335240pfc.72.1645197064163; Fri, 18 Feb 2022 07:11:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645197064; cv=none; d=google.com; s=arc-20160816; b=NgO3AmVLCloX7PGqXmtwAd64fHXqECgYl+4Vqb2taY1iN0Zup7bHYGkfGISx/lEQhp IDtx/0TsuM197JtA5RiXdAJWZFTMZERErTY+zy1oZdAOGevj9JJimLKJOUSlR+lmnkDC gr8Z7Dc6FaQiO7kE/v1TPdE/MbyXY/X8rYFxNjr7VRywq0lGLUSeLXpz6gPhlf0D8ln8 iGTJnDM/2ooFfOjrWG1Jjbv11BQd5NtiaH5QUrUipN0exkIM7sZV/6nkYzhB/dMJf8Qu dWoVqiSKD9jMlh1dxpR3WjeUceydvAJL9iqTj0tjfqi83hg4wbbOjBvngvmebeYvcUXp 9S3Q== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=Z8dNbVExJb8zpq6cyPgkrsfOTk73ZVL7Je36KLvKvdM=; b=0+7O7KtkcsQA7eDedGcfneYJ2Hwza9KZ2Iav/wix5wUIFi/kfLxz5fp95jrZuoKIRM QbE/nm7jifl0SR3V9BptJpNC52XEJIS8XRVXgTZmIA2iZ3lWN00B2d2fsAMYj/A4VwLx PJSr/2R0VuFgKghXcoJunzRPnuWCo33ZbiWh14O9aRqZsZhs5OaRiiqKBqHc7YLtceZk +M0Tja0Lgp8Ka6Oin8EQ2sMb0f0tkjNKlcOHnNDYqpdDxT9AWnmqe8rcF+NNAskh5IjJ wQwSHWaYSkgoflp/BTqKtilcyu3rTlr5FYZuwiw7Fj8ax3ynVqYFtUtSXTJgZcg144k+ b8mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=aJ7Gy9vL; 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 63si11195162pga.680.2022.02.18.07.10.43; Fri, 18 Feb 2022 07:11:04 -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=aJ7Gy9vL; 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 S236030AbiBRO2p (ORCPT + 99 others); Fri, 18 Feb 2022 09:28:45 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233235AbiBRO2n (ORCPT ); Fri, 18 Feb 2022 09:28:43 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4625424F31; Fri, 18 Feb 2022 06:28:26 -0800 (PST) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21IE9omQ007940; Fri, 18 Feb 2022 14:28:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : to : cc : references : from : subject : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=Z8dNbVExJb8zpq6cyPgkrsfOTk73ZVL7Je36KLvKvdM=; b=aJ7Gy9vLGnti+iJnRS6S1QoHHIclkNXfRKBwQ0dif08LWZaxifdJh27wLIJ+dbE77DCH 866UOssIfNFhSebD09c/cR7rGjqK17acJpyvc0EmvjBLCXNBlU+SLwqT9kBxY2taSKcd vuj7QDosqB8Nko5RWMlgvYiSd+oSDnB937Qy0XrVlm1wHlljBHq7Z0efF3XQqYmhry9t LfQ4o+3U8F3n1PFm60C6J0uON4D4CbDfnlM6dODhE/oSR3kiY6z1rbfT57Gqp6sK6Onf Aaz4q/3DTS8ppiNalWl6QvKk4roJGHsZfLAVQPJmIouhG89HodEzXoIN45CUWe82Pu6p qA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3eaat8bgcp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Feb 2022 14:28:25 +0000 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 21IEC02J013616; Fri, 18 Feb 2022 14:28:25 GMT Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 3eaat8bgc1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Feb 2022 14:28:24 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 21IESL8t028197; Fri, 18 Feb 2022 14:28:23 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma03fra.de.ibm.com with ESMTP id 3e64har2m1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Feb 2022 14:28:23 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 21IESJp844958048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Feb 2022 14:28:19 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6011411C050; Fri, 18 Feb 2022 14:28:19 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B739E11C04A; Fri, 18 Feb 2022 14:28:18 +0000 (GMT) Received: from [9.145.173.190] (unknown [9.145.173.190]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Feb 2022 14:28:18 +0000 (GMT) Message-ID: Date: Fri, 18 Feb 2022 15:28:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: Pierre Morel , Nico Boehr , kvm@vger.kernel.org Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, borntraeger@de.ibm.com, cohuck@redhat.com, david@redhat.com, thuth@redhat.com, imbrenda@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, wintera@linux.ibm.com, seiden@linux.ibm.com References: <20220217095923.114489-1-pmorel@linux.ibm.com> <20220217095923.114489-2-pmorel@linux.ibm.com> <97af6268-ff7a-cfb6-5ea4-217b5162cfe7@linux.ibm.com> From: Janosch Frank Subject: Re: [PATCH v7 1/1] s390x: KVM: guest support for topology function In-Reply-To: <97af6268-ff7a-cfb6-5ea4-217b5162cfe7@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Zipx9pmGXkX7wC_a8e5MLzjGY-3jwv2q X-Proofpoint-GUID: uZxLUop_QTzjpMZYElXB8rDdjt5nz8zi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-18_05,2022-02-18_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202180091 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 T24gMi8xOC8yMiAxNDoxMywgUGllcnJlIE1vcmVsIHdyb3RlOg0KPiANCj4gDQo+IE9uIDIv MTcvMjIgMTg6MTcsIE5pY28gQm9laHIgd3JvdGU6DQo+PiBPbiBUaHUsIDIwMjItMDItMTcg YXQgMTA6NTkgKzAxMDAsIFBpZXJyZSBNb3JlbCB3cm90ZToNCj4+IFsuLi5dDQo+Pj4gZGlm ZiAtLWdpdCBhL2FyY2gvczM5MC9rdm0va3Zt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