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 84EE3C433EF for ; Fri, 18 Feb 2022 13:40:41 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FF/MCQhithkdHsI37SPMleraIorygUthW+6IacU/sZk=; b=W3tC6dwB3tjtXL 4xN042OueqX7wNmNfV14o/S9FAABnwdWjhpx+zMpZgnByCAL8Ms3JqKEgCFKjDo5ChZ9YeCLG3BsD 8wXEZ9GPZhdThLBWtCYhy7P7EAQsFc7Ww+E6o52LErHeLPY7igQu9d0UmvwOXhcT4mSjeTAFJWBpF Icwcx74QM/VSsCcv/1gExFO4KSyu/jKYXTQjgUsi9cVlZlCh6rlWMDIgrB2rsXfgwTb4PSjarK7U4 YjhKfsgOpZAR91xXXZJ53WEkVQ8qE21dD6/vhu49GnE2TsudcJpwX1T2Q/iGHarJ7QHcZ7t+viQx/ 8//Y9F5DUgkoBEpHi3tg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL3TW-00Ee0y-Tn; Fri, 18 Feb 2022 13:39:07 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL2oo-00EM9y-Ey for linux-arm-kernel@bombadil.infradead.org; Fri, 18 Feb 2022 12:57:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=0VtpMcNQKWx4+MQ+1aHJEvP4/hS0hbyqzI+yedIVGqE=; b=dRX5So3xRvf51M/LJJ5hNjGLLY 9rXk8bZRL96CfIrqLXXIb+rj9U8Cvs4Cx3eDjQZpuS7v3B5GPxsW9JfarEF4MS2FzvFkr9Eke9XNZ ZmIunfXjfWj4r0yjE/x8ry85D4EqmZnxMN+oY0o7Z1b+HwgBWDp7XtenebuhWljbWTomFNijCA0nD f1k8AwZ7+Y6tPmoAAG15MQ3ZX8+SzjlpmQE/gyp4a0J+zf3X5Cy7krSHuHYnd/h8FvOUIoEku/irk j7QHueamDQrrFrQU0mJdO7+8OeMVlVK3280NEyuuHiyGMsjkQsibAXBNWomvuBoXt6+UDqArhaKK4 pr/X9ZyA==; Received: from [179.97.37.151] (helo=quaco.ghostprotocols.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL2om-00GaiY-MC; Fri, 18 Feb 2022 12:57:00 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 1C7D4400FE; Fri, 18 Feb 2022 09:56:58 -0300 (-03) Date: Fri, 18 Feb 2022 09:56:58 -0300 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: John Garry , peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, jolsa@kernel.org, namhyung@kernel.org, elver@google.com, dvyukov@google.com, will@kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk, tmricht@linux.ibm.com, irogers@google.com Subject: Re: [PATCH v2] perf test: Skip Sigtrap test for arm+aarch64 Message-ID: References: <1645176813-202756-1-git-send-email-john.garry@huawei.com> <20220218104611.GD56419@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220218104611.GD56419@leoy-ThinkPad-X240s> X-Url: http://acmel.wordpress.com 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Em Fri, Feb 18, 2022 at 06:46:11PM +0800, Leo Yan escreveu: > On Fri, Feb 18, 2022 at 05:33:33PM +0800, John Garry wrote: > > Skip the Sigtrap test for arm + arm64, same as was done for s390 in > > commit a840974e96fd ("perf test: Test 73 Sig_trap fails on s390"). For > > this, reuse BP_SIGNAL_IS_SUPPORTED - meaning that the arch can use BP to > > generate signals - instead of BP_ACCOUNT_IS_SUPPORTED, which is > > appropriate. > > > > As described by Will at [0], in the test we get stuck in a loop of handling > > the HW breakpoint exception and never making progress. GDB handles this > > by stepping over the faulting instruction, but with perf the kernel is > > expected to handle the step (which it doesn't for arm). > > > > Dmitry made an attempt to get this work, also mentioned in the same thread > > as [0], which was appreciated. But the best thing to do is skip the test > > for now. > > > > [0] https://lore.kernel.org/linux-perf-users/20220118124343.GC98966@leoy-ThinkPad-X240s/T/#m13b06c39d2a5100d340f009435df6f4d8ee57b5a > > > > Fixes: Fixes: 5504f67944484 ("perf test sigtrap: Add basic stress test for sigtrap handling") > > Signed-off-by: John Garry > > I tested this patch on my Juno board: > > root@Juno:# ./perf test 73 > 73: Sigtrap : Skip > > Tested-by: Leo Yan Thanks, applied. - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel