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 04473C433EF for ; Mon, 14 Feb 2022 16:06:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356122AbiBNQGF (ORCPT ); Mon, 14 Feb 2022 11:06:05 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:50742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356121AbiBNQGD (ORCPT ); Mon, 14 Feb 2022 11:06:03 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B0E849F9B for ; Mon, 14 Feb 2022 08:05:55 -0800 (PST) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21EFbafQ027016 for ; Mon, 14 Feb 2022 16:05:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=4oxrhijV14rTFTdn6WQjm8yuyhHQG7x+ylAa0cXf+sI=; b=TcPG5CMCKfytgd6Us1XbJ42FiOBSgImlw85yDip6zFv9XjiwRkRVy9NaRfaHpPXnsDjk F6BsR8vsFyOHJsVN95P40t2eznw0BX1wdAljOf9bJSigRu2fwqBZ2j4beAs/a5FKOl9j RXDu8e84zMoGBGzsOduWGakWPuiOf6ymvP+UZ9jZS4Jhfh7nAYd87bzdaLkZCtqczuiD yBTrWXv0XQhAbcEJqoWiUIFfkTJqm5qkJIDIr4I42UbB8S74IIuiThD842jb9z+jsy8e QfLYsTppSlxp7GB/P7Du5RGUuEpTHihDqEL9SRH5i9Hcb0jwkZ5ky/WVGy4FyMvl/1c+ xA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3e6thxqse7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 14 Feb 2022 16:05:54 +0000 Received: from m0098414.ppops.net (m0098414.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 21EFgGYC008616 for ; Mon, 14 Feb 2022 16:05:54 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 3e6thxqsdt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Feb 2022 16:05:54 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 21EFvpCx021578; Mon, 14 Feb 2022 16:05:52 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 3e64h9q2gb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Feb 2022 16:05:52 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 21EG5nk215335906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Feb 2022 16:05:49 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 435414C046; Mon, 14 Feb 2022 16:05:49 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E05864C052; Mon, 14 Feb 2022 16:05:48 +0000 (GMT) Received: from li-ca45c2cc-336f-11b2-a85c-c6e71de567f1.ibm.com (unknown [9.171.29.228]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 14 Feb 2022 16:05:48 +0000 (GMT) Message-ID: <30a28dcfc6f6de23d9f73d62a616ef9462b1f1d2.camel@linux.ibm.com> Subject: Re: [kvm-unit-tests PATCH v2 2/6] lib: s390x: smp: refactor smp functions to accept indexes From: Nico Boehr To: Claudio Imbrenda , kvm@vger.kernel.org Cc: frankja@linux.ibm.com, thuth@redhat.com, david@redhat.com, scgl@linux.ibm.com, seiden@linux.ibm.com Date: Mon, 14 Feb 2022 17:05:48 +0100 In-Reply-To: <20220204130855.39520-3-imbrenda@linux.ibm.com> References: <20220204130855.39520-1-imbrenda@linux.ibm.com> <20220204130855.39520-3-imbrenda@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3 (3.42.3-1.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: f_-gglJdmgupC6nqCBBOgy_lS-vfRC88 X-Proofpoint-ORIG-GUID: OH32qtVpETmQIV0iSMy5uEdL2Cs0NpYK 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-14_07,2022-02-14_03,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 clxscore=1011 mlxlogscore=937 priorityscore=1501 malwarescore=0 phishscore=0 suspectscore=0 spamscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202140097 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Fri, 2022-02-04 at 14:08 +0100, Claudio Imbrenda wrote: > Refactor all the smp_* functions to accept CPU indexes instead of CPU > addresses. > > Add SIGP wrappers to use indexes instead of addresses. Raw SIGP calls > using addresses are still possible. > > Add a few other useful functions to deal with CPU indexes. > > Signed-off-by: Claudio Imbrenda Reviewed-by: Nico Boehr