Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5875022rwl; Mon, 9 Jan 2023 00:38:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXvKtfViQrYFPK73CCzL+5kyQCDK9ejDH39/uC4LG19hPbmiTRW/niZDScRRY5n41qTUxVs9 X-Received: by 2002:a17:90a:dd8b:b0:227:23c3:5db1 with SMTP id l11-20020a17090add8b00b0022723c35db1mr374416pjv.47.1673253519805; Mon, 09 Jan 2023 00:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673253519; cv=none; d=google.com; s=arc-20160816; b=M61AQmvy5E+zjMK4K4FOshLUGbvJOAqEKkRZlPYSTZlOnLT/nXgdOYCUizhw1/vJFL 0NirCOXYipd9y7RbGfulabCCdhBNcUfwiTsRAIvVUEsy2JwUfebWzhkyXuHzOpyRotKD i/Yz+zUgAcDTdIhfHSJawpEZKH1sJJYFs7TjgJww4AkaUHxQoK4ejgQCg35FWYBNE/qu AgQVA5nHyFjik2WTbFiZwLXXsfkV3xgY6eS6THqrZ8AX8DPtbHA9SAdHphEnuCpiTeDQ 8KLhtbL1mvHqPXSooVWQKTzMqRtwTb60JxMyTHq+x3Ndt7ogPGKdcRH/07gHET8GUxur srKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=9a0btzEQ3ECprpzKP6VfLgwOJs5vRgQk+GFltp3qJOY=; b=BMjhLRoiKbqozVWt5q2TJApS8GyLogppuP/CCQ5svLTfkOAG8VsRwCGLTAasN58Fx5 FC2vAbcPRmrYBie2L/u129DfeoOW462hFsXT8oZ62BKpe4e3s82IjWwngDmE010SlS9p 8bZ/bkW2TmS9QrFOlfHrKTi9EJS9Q3lPLu7Y9Ituw43ugZx0HplkmLxbKqNICbFuLw/6 +7jl+bWIPg/OFMn+QdEGb/YIuxEE2SHq4CW5qJx1UNI4zk419RFvv/NAZWE9RjIimyYn rY/Oqoq5DyYCokLq0u6LhhF8MyV1RGwZhZCqhj41NakQgpxcE39S9Q4Xs2qe1qpJnnRW oMyg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a631a4b000000b00478b771fa15si8261914pgm.232.2023.01.09.00.38.33; Mon, 09 Jan 2023 00:38:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236567AbjAIIKi (ORCPT + 54 others); Mon, 9 Jan 2023 03:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236574AbjAIIKR (ORCPT ); Mon, 9 Jan 2023 03:10:17 -0500 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C92B513F10 for ; Mon, 9 Jan 2023 00:10:02 -0800 (PST) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 30989Qe6026643; Mon, 9 Jan 2023 09:09:26 +0100 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Sven Schnelle , Willy Tarreau Subject: [PATCH 3/4] rcutorture: add support for s390 Date: Mon, 9 Jan 2023 09:09:09 +0100 Message-Id: <20230109080910.26594-4-w@1wt.eu> X-Mailer: git-send-email 2.17.5 In-Reply-To: <20230109080910.26594-1-w@1wt.eu> References: <20230109080910.26594-1-w@1wt.eu> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 From: Sven Schnelle Add the required values to identify_qemu() and identify_bootimage(). Signed-off-by: Sven Schnelle Acked-by: Heiko Carstens Signed-off-by: Willy Tarreau --- 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 -- 2.17.5