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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41869C433EF for ; Mon, 17 Jan 2022 15:40:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yesgDoKGvNLqfrQUd/AoBYNYXl/LMG03KrcneFX/PHI=; b=w1Ta0olHjlldVDUCFBT5caCv7U vQ7BwycstnQ1oYyfc6NbyS7skA3V5b977oPCMcsje6LfTF+gHgTQIzOzDgFkYutZiut+p9ceya2gN XTa9+5HW96CarqWhv3HhzIBkL6Ap4AQhd+IgfbmYWZ3mo2aSGT1aldHEZxxLuQlBdS/evGSaaNm1y HmF+RZ4fNrMyp2Op3iW4qUljt7tyA2zWm5T1p6BkQmvIs7tGcu3OlIQ4roGq+SEF70osJl/8GGgZ4 rP/eYKSNFMfcUv94sGrU9D1FwrqMiT6AiYc9BPcM/toyYlAXceEFRHr4rDC4mMLkpscBf9NP0MYqO ij5Ilm2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9U6j-00FQb2-9U; Mon, 17 Jan 2022 15:39:45 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9U6f-00FQZA-3U for linux-arm-kernel@lists.infradead.org; Mon, 17 Jan 2022 15:39:43 +0000 Received: from fraeml714-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4JcwwL58s3z6F98b; Mon, 17 Jan 2022 23:35:46 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml714-chm.china.huawei.com (10.206.15.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 17 Jan 2022 16:39:38 +0100 Received: from [10.47.92.236] (10.47.92.236) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.21; Mon, 17 Jan 2022 15:39:37 +0000 Subject: Re: [PATCH] perf test: Test 73 Sig_trap fails on s390 To: Marco Elver , Thomas Richter CC: , , , , , , , Will Deacon , Mark Rutland , "linux-arm-kernel@lists.infradead.org" References: <20211216151454.752066-1-tmricht@linux.ibm.com> From: John Garry Message-ID: <90efb5a9-612a-919e-cf2f-c528692d61e2@huawei.com> Date: Mon, 17 Jan 2022 15:39:10 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [10.47.92.236] X-ClientProxiedBy: lhreml703-chm.china.huawei.com (10.201.108.52) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220117_073941_340007_D6ADAD52 X-CRM114-Status: GOOD ( 11.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16/12/2021 15:48, Marco Elver wrote: + > On Thu, 16 Dec 2021 at 16:15, Thomas Richter wrote: >> In Linux next kernel >> Commit 5504f67944484 ("perf test sigtrap: Add basic stress test for sigtrap handling") >> introduced the new test which uses breakpoint events. >> These events are not supported on s390 and PowerPC and always fail: >> >> # perf test -F 73 >> 73: Sigtrap : FAILED! >> # >> >> Fix it the same way as in the breakpoint tests in file >> tests/bp_account.c where these type of tests are skipped on >> s390 and PowerPC platforms. >> >> With this patch skip this test on both platforms. >> >> Output after: >> # ./perf test -F 73 >> 73: Sigtrap >> >> Fixes: 5504f67944484 ("perf test sigtrap: Add basic stress test for sigtrap handling") >> >> Cc: Marco Elver >> Signed-off-by: Thomas Richter > Acked-by: Marco Elver > > Thanks, and sorry for missing this case! > I am finding that this test hangs on my arm64 machine: john@debian:~/kernel-dev2/tools/perf$ sudo ./perf test -vvv 73 73: Sigtrap: --- start --- test child forked, pid 45193 And fails on my x86 broadwell machine: john@localhost:~/kernel-dev2/tools/perf> sudo ./perf test -v 73 73: Sigtrap : --- start --- test child forked, pid 22255 FAILED sys_perf_event_open(): Argument list too long test child finished with -1 ---- end ---- Sigtrap: FAILED! john@localhost:~/kernel-dev2/tools/perf> Are there more architectures+platforms for which we need to skip this test? Thanks, John _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel