From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D31EC433F5 for ; Wed, 25 May 2022 08:16:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240034AbiEYIQf (ORCPT ); Wed, 25 May 2022 04:16:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241840AbiEYIQN (ORCPT ); Wed, 25 May 2022 04:16:13 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89DF18CCD9 for ; Wed, 25 May 2022 01:15:45 -0700 (PDT) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24P80jav015869; Wed, 25 May 2022 08:15:39 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=28lpOEVXPV1S2NGnOThf/TvXrrn/XBMbPESyoW2Pd4s=; b=qKzN+MtKPDYD8IPLOwSoYRCLfMEwkFuqpQEf16f1FBThgBU8CeZzss/XLnSZYck4jlpi y5X5saSkyAeDPEqOa5I5q22OLLqPYg1xm+ZDDXm+rXnfaDECqGXaRBH3mnGTeWNr040R GSZS2t20YtzUdLKWAqentbCkqOc90tlLIz1V561kQpjdpiKTkCfQ35ICn2VL/Xa7/gXJ YUjzlxotPgCddZPglma7Uls6B1P5wXMXdpRN0u2KxHR1xbrfZJvsJEqSW7wW2OpSTi4A jqpSIjrEpxw+3IQLGe4VzZwfYPXY2kdIET1t7O0bVWr200WM07Kugikb8brNw66zuN+S RA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3g9gjsgacf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 May 2022 08:15:39 +0000 Received: from m0098409.ppops.net (m0098409.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 24P8EuRe017271; Wed, 25 May 2022 08:15:38 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 3g9gjsgabn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 May 2022 08:15:38 +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 24P88HOV024776; Wed, 25 May 2022 08:15:36 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 3g93uw8sp8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 May 2022 08:15:36 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 24P8FXj816843238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 May 2022 08:15:33 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F34ACA4053; Wed, 25 May 2022 08:15:32 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1EB7CA4040; Wed, 25 May 2022 08:15:32 +0000 (GMT) Received: from [9.171.31.97] (unknown [9.171.31.97]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 25 May 2022 08:15:32 +0000 (GMT) Message-ID: <2f30e75a-5a5c-719c-a910-67a0ab3cc1c7@linux.ibm.com> Date: Wed, 25 May 2022 10:19:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH v7 08/13] s390x: topology: Adding drawers to STSI Content-Language: en-US To: Thomas Huth , qemu-s390x@nongnu.org Cc: qemu-devel@nongnu.org, borntraeger@de.ibm.com, pasic@linux.ibm.com, richard.henderson@linaro.org, david@redhat.com, cohuck@redhat.com, mst@redhat.com, pbonzini@redhat.com, kvm@vger.kernel.org, ehabkost@redhat.com, marcel.apfelbaum@gmail.com, philmd@redhat.com, eblake@redhat.com, armbru@redhat.com, seiden@linux.ibm.com, nrb@linux.ibm.com, frankja@linux.ibm.com References: <20220420115745.13696-1-pmorel@linux.ibm.com> <20220420115745.13696-9-pmorel@linux.ibm.com> <8110c080-b439-4ed8-ffc8-13323ba3790c@redhat.com> From: Pierre Morel In-Reply-To: <8110c080-b439-4ed8-ffc8-13323ba3790c@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: QaE8r5uSt0mpziprjfI-lkDIXFt7EsIZ X-Proofpoint-ORIG-GUID: YeTtotKulT5or-W2aWOnVEhM2EoOBBcR 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-25_02,2022-05-23_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=999 impostorscore=0 malwarescore=0 phishscore=0 spamscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2205250037 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 5/24/22 13:10, Thomas Huth wrote: > On 20/04/2022 13.57, Pierre Morel wrote: >> Let's add STSI support for the container level 4, drawers, >> and provide the information back to the guest. >> >> Signed-off-by: Pierre Morel >> --- > ... >> @@ -470,6 +520,69 @@ static const TypeInfo drawer_info = { >>           { } >>       } >>   }; >> + >> +/* --- NODE Definitions --- */ >> + >> +/* >> + * Nodes are the first level of CPU topology we support >> + * only one NODE for the moment. >> + */ >> +static char *node_bus_get_dev_path(DeviceState *dev) >> +{ >> +    return g_strdup_printf("00"); >> +} > g_strdup("00") please. Yes, thanks, will change it Regards, Pierre > >  Thomas > -- Pierre Morel IBM Lab Boeblingen