Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4394826pxb; Mon, 21 Feb 2022 20:09:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAoj1OSxNuMFH2sfU2/VA+SGDU4bYxnYJCkf0YcEeRv5Yhjcuc8Z6SCudkeXmiAp0q5t6z X-Received: by 2002:a17:902:f295:b0:14f:a66b:977b with SMTP id k21-20020a170902f29500b0014fa66b977bmr10103380plc.84.1645502999374; Mon, 21 Feb 2022 20:09:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645502999; cv=none; d=google.com; s=arc-20160816; b=Cgnl6z4Lig7DqVEbltSSJE0BhgZzHDnh8o2/1R4HPvbi7L47K4ZUguDVzDlusEbA8s 2UpkdMlbEHm8UuHNQRChEDNw0FdHaNlJskn2LW43TuN+mOcrwAPNxaN0OzQ4//uttt17 ovm0UgFMY/d0k57SYOKyc6wuqFvQVyq5Tq0C2OnTrPVfE1zvgvx7jcm+DYn2jsFlIYNP C+YiMX/y4Bq+VNcaGtArRGXxB5lowOsVFG9gfght6hS9aowNAMWT69Sh6/iV+RSduTON 2wAvoC4VmS+nityj5SFWLc+KMfErSCiqfnW4MPqdNxToOOaHsWuMeFwQ2NNZGL/DuVld mkVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:from :references:cc:to:subject:dkim-signature; bh=Husi8wtRKofd8szTIt2dJMfs1/XgcfBR5L2eNXWgu18=; b=ZWHyRJji6zxGCHn69ffPqXqwKhdE2G5+a2q+3VachJFhSyNGtfpIohgq/0KSLmmi5/ hIiyugABveDt/fLoDynU4NTJ0LyfHrlhq+bvXQbFiXUAeEg1rpfz9xIIIWRT+fzwoGch tk1nqsX0TU+YKH7TCj4HZ6cQRsLVyuz0ZfxXO/8K/1IPM1YO/H/JAMT013CYysx4DD0X yv8HHQFwBY3efN5nmUGXxdtyGrem28Bd0xb6g76GZazBVUic/WQuMxdnZpzOGfJwlqFx B4PWQYHyY1y1hw2QC5IeCwMnrRJQWiY+bOXba5N7Z51ob+iUQxv6pvTleS3tIPj8U3pG 5o5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=DGZISxB+; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u3si1026522pjv.145.2022.02.21.20.09.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:09:59 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=DGZISxB+; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2498670922; Mon, 21 Feb 2022 20:09:47 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354968AbiBUKdK (ORCPT + 99 others); Mon, 21 Feb 2022 05:33:10 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:50734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354809AbiBUKc6 (ORCPT ); Mon, 21 Feb 2022 05:32:58 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9782B6D1AB; Mon, 21 Feb 2022 01:53:15 -0800 (PST) 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-Type: text/plain; charset=utf-8 Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-GUID: ibLGMgGsf-sQWJrRFeaJVvLEIjmQN1JX X-Proofpoint-ORIG-GUID: 928iv4aMq9dObk-QFqjwDZBoNkzfkhiu Content-Transfer-Encoding: 7bit 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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 >