From patchwork Tue Jan 3 07:19:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Schnelle X-Patchwork-Id: 38307 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4484046wrt; Mon, 2 Jan 2023 23:23:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXs6hvZrcWIvjZLd/VBfr/ukrZVpl2lOqSsYUkH1OpfVtwJVOlRh+RVlFA9fWFQCsF7Fj8Pz X-Received: by 2002:a17:902:7409:b0:192:6019:a3d7 with SMTP id g9-20020a170902740900b001926019a3d7mr35956317pll.41.1672730616584; Mon, 02 Jan 2023 23:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672730616; cv=none; d=google.com; s=arc-20160816; b=vRGa60yoQX5GPsFDncM/LMog3D1+zKUGVRHElcXMJJJGCD9kRnUkYZOL+nOGflWtFg eCCbXH8MXyXMFtQDhh1uAkrgM132O17RB25LJZpRgLMLuIsAllN+/oWKxqybcR6djRJm O8u6OEGrRMREvvG/ihIY48Kz18iMD+/jMeOKxBfQj5RFSUbuAjem1gVbF6eYDfCflpQV pgSE27SgjFHD+I4tM7t+PZ/+2KtehcsoI1NalMrqUpb/fpr/z0pHE9glNyR/xwqN6m4P GBfXshY9ejGFM8x4/114Zbxz74N2ke/reuZxaJfNxj7Wd+DnNon/wpeyHld9fGt+E5bP dTJg== 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=VZg/qZt1NBRwo/+4V6RhQlDAtxrxON0JCQYGADEcT88SR083y6hih/kaAt8yHxdcNk CbWWDwPjbXq5uTrMrs49W84GvCX5LlY2muCmlsXXYlNujhqgRcptXtr2+D3fObqQhMJA mfHLpgCVbyQKvuTJoZ8NIqRHkWohOdbe1CUR51TidnEoQYRt1elj/0vmQW4n4l7Mm+Jn LO9tIdo2L9TGGyPmEYq30IRfM7Fof51Wwfu96S8H1uo1k1dA1dumcOYSY8fv8OGr7/Pt /gnq4Tho78ucNk9xK0SRhWNkZzIQ+zz99XiwFAuwqrPdwrtuR4UcKdmP+L/9pwNf0L4Y NUZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="NdxERQ/8"; 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 w70-20020a638249000000b00478dfd40ef6si4907007pgd.768.2023.01.02.23.23.24; Mon, 02 Jan 2023 23:23:36 -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="NdxERQ/8"; 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 S236876AbjACHUy (ORCPT + 99 others); Tue, 3 Jan 2023 02:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230421AbjACHUi (ORCPT ); Tue, 3 Jan 2023 02:20:38 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AFC295BE; Mon, 2 Jan 2023 23:20:37 -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 3033Bm0r006888; Tue, 3 Jan 2023 07:20:08 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=NdxERQ/85qbZ5MrkI4x8wsFLfD7tHjnsJb7BjCD5KUf1/lXl75Hx4Cd5N7Ab8pq+eJH8 TUocs+xvYNg9nrAiyus96P8PstLjpCFEQ4tw8Ft91JBxF4AktypFOrsFgCLvEpGsJR/6 viXiqstPFvUUXquD6fF8HlGrW6kmCvCqMIyBqarLvFeqB4quGM0p6aAw6uflEZ5WmctH LblD+3fWnskBiGJnARdvLs5v09BnBr7NdloR4Dnh8rGYUyWAZD1JaCTWw++jtCQGlyeE VKD2NyYEzPI3tbCv+sFu95vHhZnDUl1Uwb0lZK+85TxWrtm0gaLeQo7Q9PpSgh3q5DIk +w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mvc84kg45-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 07:20:07 +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 3037K7ek025094; Tue, 3 Jan 2023 07:20:07 GMT 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 3mvc84kg3m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 07:20:07 +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 302L7nPH015003; Tue, 3 Jan 2023 07:20:05 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma06fra.de.ibm.com (PPS) with ESMTPS id 3mtcbfjh0g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 07:20:04 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3037K2XK46137728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Jan 2023 07:20:02 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 765AD20043; Tue, 3 Jan 2023 07:20:02 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 66CD020040; Tue, 3 Jan 2023 07:20:02 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTPS; Tue, 3 Jan 2023 07:20:02 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id 38F9BE095B; Tue, 3 Jan 2023 08:20:02 +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 v3 4/5] rcutorture: add support for s390 Date: Tue, 3 Jan 2023 08:19:56 +0100 Message-Id: <20230103071957.222360-5-svens@linux.ibm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230103071957.222360-1-svens@linux.ibm.com> References: <20230103071957.222360-1-svens@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: CRvVxD9EVo0RwlGMdKp8HWLF8EMX08eA X-Proofpoint-ORIG-GUID: xOejIyzv6eQFJ1tCsULSX4utJAbErDDt 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_14,2022-12-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 malwarescore=0 adultscore=0 impostorscore=0 mlxlogscore=797 phishscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301030062 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?1753985178889316706?= X-GMAIL-MSGID: =?utf-8?q?1753985178889316706?= 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