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 1E781C433EF for ; Mon, 21 Feb 2022 10:28:17 +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:MIME-Version:In-Reply-To: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=VMyqOD3ACSDNdgtmKMEzlGWj1N9OjWQJEWh74D8Ge2E=; b=HQjtwPhLj2R0yAHlsoWr+zwP8z HFPfaFf7bu1nngJq1WqjS7rsI2Bu1wMiPlZYDC/QqFZ3JUE6LJbdte0owy2DV7L6AO6rCCPaLsLb4 RotUplWPhSq0z2yzwfnG+JhKTz1eEaySz1zvDfSyIKBdXiKV5M7bbZ11+eWBuotiC3VUNwDCFDZqF 9utsKCSspkEAvQQ91wm6/MFKV02vjSYKaY8ZpNbxKPXWNO3dwvO7z7JTYVOowG64oyu10wTZq2sS0 4G3Cam3OWLEie9ozn+ulHYeGd809LPCn+/pSmwMP8GVyrE8eDJZPVaTZcnxz6pxPz1J4CoMYwudVH mKXi8XwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nM5tu-004ulI-40; Mon, 21 Feb 2022 10:26:39 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5] helo=mx0a-001b2d01.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nM5NY-004h2f-GP for linux-arm-kernel@lists.infradead.org; Mon, 21 Feb 2022 09:53:14 +0000 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21L8bgMm007312; Mon, 21 Feb 2022 09:52:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=Husi8wtRKofd8szTIt2dJMfs1/XgcfBR5L2eNXWgu18=; b=DGZISxB+NeF5OICy1PbldWQxrg38gZDCRSmhAGygHhgQxd1WH1IVbIvakUSTNPefzKJe s6XLNE5tfu9NbJIV4Oe6o0AyBXm5cEgKv7yByNIJa8r23ptKUiwS1vOCErVDJTjkSUri 0oc4zLE10fd+KdNbQnnCyGxdtqqh3eiWMFkPugJkIofkpGYLrh1KJJLyJsM1ZVDDQilh 9Re7U986gj6tnTDZc3CIH3RGDbvpyP9t1DmyZrGjEP+K05D6xgT6D9NYOSIFdhC9YCaa kRE0c2vwzwmyt/iCDpPYLNTIeMs1Z8a47gcVU7x4s4UlGSTxeaY/Ryzg70cEH7ikuQY8 4Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3ec73b9xns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Feb 2022 09:52:43 +0000 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 21L95ijf022196; Mon, 21 Feb 2022 09:52:43 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 3ec73b9xn7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Feb 2022 09:52:43 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 21L9gt00005389; Mon, 21 Feb 2022 09:52:41 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma06ams.nl.ibm.com with ESMTP id 3eaqthscn9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Feb 2022 09:52:41 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 21L9g4co51904786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 Feb 2022 09:42:04 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0A18FA4040; Mon, 21 Feb 2022 09:52:39 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3B31EA4057; Mon, 21 Feb 2022 09:52:34 +0000 (GMT) Received: from li-e8dccbcc-2adc-11b2-a85c-bc1f33b9b810.ibm.com (unknown [9.43.47.34]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 21 Feb 2022 09:52:33 +0000 (GMT) Subject: Re: [PATCH v2] perf test: Skip Sigtrap test for arm+aarch64 To: Arnaldo Carvalho de Melo , 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 References: <1645176813-202756-1-git-send-email-john.garry@huawei.com> <20220218104611.GD56419@leoy-ThinkPad-X240s> From: kajoljain Message-ID: <447ebda7-eaff-f765-d6ec-66ad0fc957a0@linux.ibm.com> Date: Mon, 21 Feb 2022 15:22:32 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-GUID: ibLGMgGsf-sQWJrRFeaJVvLEIjmQN1JX X-Proofpoint-ORIG-GUID: 928iv4aMq9dObk-QFqjwDZBoNkzfkhiu X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-21_03,2022-02-18_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 adultscore=0 suspectscore=0 phishscore=0 mlxscore=0 spamscore=0 priorityscore=1501 mlxlogscore=999 clxscore=1011 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202210056 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220221_015312_687091_C31BB234 X-CRM114-Status: GOOD ( 22.43 ) 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 On 2/18/22 6:26 PM, Arnaldo Carvalho de Melo wrote: > 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 Sorry for late update. Patch looks good to me. I tested it on powerpc. Tested-by: Kajol Jain Thanks, Kajol Jain > > Thanks, applied. > > - Arnaldo > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel