Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp566070pxb; Thu, 17 Feb 2022 09:49:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRzjM0voIo5CdbQxM1FCe2CN0mW+pnPZh1YzWyl17wuWAtQd9NXEMRYjRRz1XUc8qLTUfF X-Received: by 2002:a63:34cd:0:b0:35f:b817:70ad with SMTP id b196-20020a6334cd000000b0035fb81770admr3278455pga.427.1645120151143; Thu, 17 Feb 2022 09:49:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645120151; cv=none; d=google.com; s=arc-20160816; b=nTY2gS4bFUYpIo0EwHxN2SSSeHoSIpTaE2gquzsTRUtcC3w24XdsQSfpBEzsuJzGzw RO2O+eegri2E5TKq5mI47enSHwDr+1/I8JoQmm5nRQvQBucYPcjsI9EdeAB9Mrk9i8S5 r/rxdOmRIw1JL9pnAq7g8d53+I5HDFXQm0avpNuCm0rFrv0jfcXqqWg9UWsGtnYdbTXY gz/osPKDGkqyVJ45ePa6z8p95l4bSahEbNYUA69fwNIYuU2aL3jIQIvDUyAFxy3FGtpa RBdJuep9+JVAgC8gbJmkS9pLiNzfAveqUJMUrxoWpPWWrWdnwuSAvuXSs8HAFz+lAiRk wclA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=o43ZJ9Z7QIpYToq+0/Cn3OBhUA/cgLMsbIQPUAmA/14=; b=rW4YGgS6xegF0Yu3l46BFRF6XDptFO6/eyAeMIZq7yZmpb0V/OJU/6RcbTfN9d83Fp Gxo774ekdQ9Dq4+/ooO5D9vEpt9vdlXtk6RVakfqkPYBkvot6MHBtPTGy8nYmBpTWCAm cBatcVWZ/6uT6Jn2lFlFnFD3s5AxOhKduR179GItCNlv9GV5TqERim0EhibvPsuyxOYY qGPkUTkWNpz1SW/TnSHC99KdrgADJ3idh7FNUkqAhu3trPwULkIW6fG4aB/M8jFenjz4 hyuc3sCxNbjTnMx3HPQbMJ5pRMQKhfdrX0ga6GDONNi6QJ3YLiOZIKd1pzK3nAi2u8x0 hbRA== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2si1430028pgu.43.2022.02.17.09.48.54; Thu, 17 Feb 2022 09:49:11 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242976AbiBQQ2l (ORCPT + 99 others); Thu, 17 Feb 2022 11:28:41 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243147AbiBQQ2d (ORCPT ); Thu, 17 Feb 2022 11:28:33 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DCA6AEF10; Thu, 17 Feb 2022 08:28:17 -0800 (PST) Received: from fraeml707-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4K00WN2Wm9z67vp0; Fri, 18 Feb 2022 00:23:44 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml707-chm.china.huawei.com (10.206.15.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 17 Feb 2022 17:28:15 +0100 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 17 Feb 2022 16:28:11 +0000 From: John Garry To: , , , , , , , , , CC: , , , , John Garry Subject: [PATCH] perf test: Skip Sigtrap test for arm+aarch64 Date: Fri, 18 Feb 2022 00:22:39 +0800 Message-ID: <1645114959-119064-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 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"). 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 diff --git a/tools/perf/tests/sigtrap.c b/tools/perf/tests/sigtrap.c index 1f147fe6595f..3f0b5c1398b5 100644 --- a/tools/perf/tests/sigtrap.c +++ b/tools/perf/tests/sigtrap.c @@ -29,7 +29,8 @@ * Just disable the test for these architectures until these issues are * resolved. */ -#if defined(__powerpc__) || defined(__s390x__) +#if defined(__powerpc__) || defined(__s390x__) || \ + defined(__arm__) || defined(__aarch64__) #define BP_ACCOUNT_IS_SUPPORTED 0 #else #define BP_ACCOUNT_IS_SUPPORTED 1 -- 2.26.2