From patchwork Mon Jan 2 10:51:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Schnelle X-Patchwork-Id: 38083 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4106832wrt; Mon, 2 Jan 2023 02:53:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXtvyrb6tJhUYb6UVr67Fzj7s5p/Tc31FtRBJWFmX607acWfVHBGn6sRBfLIDjV1AWI2MSui X-Received: by 2002:a05:6a20:1455:b0:ae:661c:5553 with SMTP id a21-20020a056a20145500b000ae661c5553mr61216741pzi.4.1672656813156; Mon, 02 Jan 2023 02:53:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672656813; cv=none; d=google.com; s=arc-20160816; b=qyC8LD8G0u31SaOKi8iwqeYDi269F/QpzlwyMJRkRI2PVuPBYTulSNZqogFDN//x05 qJ4JuMXeDLYbnBm/vuBsGReUlhaOoa7dPXcx8Vtdq1SLNgZJPbKf4dJJkqTIA8dUaZQ3 E9QLa7GvSYghPepBH1Sil8VdLxI02bHoV55P5HwPWnk5d9z1gTuC8Iriher6SGiRv9BD CggozV5GNxvFrwa7D/TliBjXAaXSLvPR7dKsSCDW5Ig5KThRON8QQcHks4c162c+K47Q 0Mc8TIKPOTd6QKv0iecrl0DcD1xsabxh22WCsogH1B6XmKN/r8wgCgAyNJ4wSGGJom5d TtZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3s0sKuYQYSrxGa9epdS6MVxcS8fJENNzbKxhMU2MFhk=; b=VVhyw+rIyMdhPGJ4FO7WupxB+lKmFu9kSWL73PvzimH3KuTIj/cLDX+W/7n/O8FbKS rFOFi1vkqTwXZzedEH00APP3V80q4VS7p/+PrFntklghpYw3n6mIfUBFbi6VC0+Q6zXK Cl/RWCVZL8WSNoRj6X+Nj7H/PKu4hyNNtl3OSlRDD7wQFKPyJ4w42o8obPlMk9uyVC5Z ggCnLqXHcelOuxKoTkMaXERQaJ+cNAyxj6kdnBcn7+/UQvvwOCoPkD0AKWzfhZXl2Ojd Z5IOrEo62DmlOTUTivfjdcUz5tL25ZiKo5f5TWple0MWtaSa81o0MQTtRgF0BYbtkqXv ttAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=U7C+x5CF; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a639247000000b00477be505f98si28316143pgn.867.2023.01.02.02.53.21; Mon, 02 Jan 2023 02:53:33 -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=U7C+x5CF; 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 S235711AbjABKwh (ORCPT + 99 others); Mon, 2 Jan 2023 05:52:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232277AbjABKwH (ORCPT ); Mon, 2 Jan 2023 05:52:07 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E137260EE; Mon, 2 Jan 2023 02:52:05 -0800 (PST) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3028wM5E021196; Mon, 2 Jan 2023 10:51:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=3s0sKuYQYSrxGa9epdS6MVxcS8fJENNzbKxhMU2MFhk=; b=U7C+x5CFg69duxkXvi6yXSsP9vA8KzMDbbzvigHY5glWVOKQ895p7uGlrGsnyBeMAVMo fFgWtgMPcr6STMKjn8nfzHzOqHJSBkURidO1ulYWoY9fqsYsdNQM1TOWQmL7B4kHkgAI xuCSbWxQnYaiUwpPiJME03DDB2vzqto29gVR/EYkXbkNtYDKGYHIdALEnokHVIFibcTA B5zU2/LDPhE0TPF3zB0DJXWabRK23D2uCWdsQIUdzISWN8cfTnTjG/CRA5XVLLfjfg8p sdbDwKYZIClfnmcd6p5B5TYAHLtAytvoaWY+nkL6VLBxtEU25EUTKVS/yZfjYlwDTslH Tw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mtxhhewcm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Jan 2023 10:51:36 +0000 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 302ApZRJ008694; Mon, 2 Jan 2023 10:51:35 GMT Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mtxhhewc1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Jan 2023 10:51:35 +0000 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 301Klw1W017430; Mon, 2 Jan 2023 10:51:33 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma02fra.de.ibm.com (PPS) with ESMTPS id 3mtcq6spay-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Jan 2023 10:51:33 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 302ApUJ148562562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 2 Jan 2023 10:51:30 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CBCDC20049; Mon, 2 Jan 2023 10:51:30 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC35B20040; Mon, 2 Jan 2023 10:51:30 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTPS; Mon, 2 Jan 2023 10:51:30 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id 8E382E0959; Mon, 2 Jan 2023 11:51:30 +0100 (CET) From: Sven Schnelle To: Willy Tarreau , "Paul E . McKenney" , Josh Triplett Cc: Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v2 4/5] rcutorture: add support for s390 Date: Mon, 2 Jan 2023 11:51:11 +0100 Message-Id: <20230102105112.1661651-5-svens@linux.ibm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230102105112.1661651-1-svens@linux.ibm.com> References: <20230102105112.1661651-1-svens@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: HzOfUN5fhcP2wwM7GxomgBUxearBffqr X-Proofpoint-GUID: DgcUssCjql7x5Wpk9pzy_pRbLpGSo-1T X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-02_05,2022-12-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 mlxscore=0 clxscore=1015 malwarescore=0 adultscore=0 mlxlogscore=797 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301020096 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753907790905412454?= X-GMAIL-MSGID: =?utf-8?q?1753907790905412454?= Add the required values to identify_qemu() and identify_bootimage(). Signed-off-by: Sven Schnelle Acked-by: Heiko Carstens --- tools/testing/selftests/rcutorture/bin/functions.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/testing/selftests/rcutorture/bin/functions.sh b/tools/testing/selftests/rcutorture/bin/functions.sh index 66d0414d8e4b..b52d5069563c 100644 --- a/tools/testing/selftests/rcutorture/bin/functions.sh +++ b/tools/testing/selftests/rcutorture/bin/functions.sh @@ -159,6 +159,9 @@ identify_boot_image () { qemu-system-aarch64) echo arch/arm64/boot/Image ;; + qemu-system-s390x) + echo arch/s390/boot/bzImage + ;; *) echo vmlinux ;; @@ -184,6 +187,9 @@ identify_qemu () { elif echo $u | grep -q aarch64 then echo qemu-system-aarch64 + elif echo $u | grep -q 'IBM S/390' + then + echo qemu-system-s390x elif uname -a | grep -q ppc64 then echo qemu-system-ppc64