Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5694231ybg; Tue, 22 Oct 2019 07:06:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxScfwbv1z2dw4/S1yhInH0OogLgqxBzbVU3SpFiTFyOtcGw0n3MynBQMet9s3Hw3HSIbC7 X-Received: by 2002:a17:906:3582:: with SMTP id o2mr27567972ejb.54.1571753184770; Tue, 22 Oct 2019 07:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571753184; cv=none; d=google.com; s=arc-20160816; b=GH/bHQVC6eJoP7csMNOcxsUXlqw+P91QRGeOFSMwT9YBb9GibvuK4x8hqNOq2tsS62 z+oq/YFr0a1bDqi7bRkzH9y+izWrwPVjaW7nOFNrUdwEf74V5pHpQudWGoTAbKUotfLH 5gEbWdvXt0M5Xl70ZTKumoE01Hko/yXYZG4/1Jm9U/tXZxQCQna+oHwkxliF7U+y8kj9 AQ808uoEoC8KAK8qmBe+AtdSKug0IChQW+wA9ZHimfUKwkVowPt6T6gEDH8nzrmjK2ku rrzKlIj/wiA2zuxPl2AbEt04HDq98DZzNRsTNLmYDQ03AAOorDoWxijJ/xKyU58avhyS zs1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=65KxlUgC9dSPCPxluWGpG2Vl2DybtBrKpaxLtCDmHzc=; b=0f6ms/XiBVX7Lp8ObuiO+NuTdE0LbPNHBCDNW5AnsxLKlYdznuj37tbpVm+IGl/BG1 rwP5zpit1D8/YiiDEL8J9e2Ga7xTqTgYAaThSzwXaI6Q85Zqk8CQjt1Tnm3cSbkPnirG IbZHx1HJzFctyFwHDYP6ZZ/nwLByeWjqd3tCt1ZgetBzue/L1kZ0Mx3pU2TVu7YBYsNT USO1vxvHSlrIPhcbHSAovwz584g+ZTRhHui77uFOI6IDvt90TU5n/BdZGGkGyrUrSV6+ Dq9jsRqYGFZ1FYArpMXAJwez4nDOoOKcC+C2tdL8nc3/4CS5aVmZrqb0CPlYEB1+1PT3 4WIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sZh3QHiW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e58si3343575eda.7.2019.10.22.07.05.51; Tue, 22 Oct 2019 07:06:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sZh3QHiW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731564AbfJVNna (ORCPT + 99 others); Tue, 22 Oct 2019 09:43:30 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:38660 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731408AbfJVNn3 (ORCPT ); Tue, 22 Oct 2019 09:43:29 -0400 Received: by mail-qt1-f194.google.com with SMTP id o25so13403609qtr.5 for ; Tue, 22 Oct 2019 06:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=65KxlUgC9dSPCPxluWGpG2Vl2DybtBrKpaxLtCDmHzc=; b=sZh3QHiWg0ErSkdchcq9C2bNHfaB9FFK1TxVvrTpcladz6F6MxvNFYgfj9igb1TMYi 20N2iPQ7JIdvKsXYIPCra8KZvODJlp+v2xUSAfVyBo6b0s+8UzRGrFFv9lv/fX0KVqgm VP7vpiOze4N6BvhqkCnu6x8fAobTKNtR1QuAm+jA1aiBnLj5cHE78Npe46S2HytmuTPC uG2iNSTJIBm4nfiw1LxIq94TBbgUr5sD5kjAq3X5ihjenBsbd0xvxo5rqd+A+01k47eY jGMH1LSVy8+/Rhikeqc56iHpvhqNvTF1YAZZqg0rVPzvCkQjOAE7YlFnbknzCHpatDr2 C6wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=65KxlUgC9dSPCPxluWGpG2Vl2DybtBrKpaxLtCDmHzc=; b=DlPpj2pluqKGDtJUSXaure7/2cP7bf0fWo4hjvwb+wdMmTy0CuwXPJzJwgHtI/MeZ9 EFibn3M1zu9fxyPjAFEM6/74fErag7QyC56Y7U1QyAVe1GSThUq/qyQbPhkB4BKOF7bC Qt5b7LGFcNie7KTFjn1GTwDPkgvbSYRAepjJU6r8GTEZe2oWbGlHUFpWcI4yvap2YssQ EE6EZ7wLTuW+JIvOSDLOpvKVBZtU2wDptkXNmplWaDpHM2uDW2+lEMWqaj7OJTdkjr8k br4CNJC1Njy4Z6caABXKThu6+IwHneDxLw62jVYEV2pUPEQWlcYRjWUkKnYs3FfeiqdJ Qy4w== X-Gm-Message-State: APjAAAVAIqPfC8VPcsGedqdWJGNB6fm0HjI7iE5KkbrohyBmqtLJ7Gy4 TmLh7Cx9qRL9vMm4nLMPp++3ZQ== X-Received: by 2002:ac8:28e3:: with SMTP id j32mr3149168qtj.212.1571751808706; Tue, 22 Oct 2019 06:43:28 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li937-157.members.linode.com. [45.56.119.157]) by smtp.gmail.com with ESMTPSA id f10sm8191127qth.40.2019.10.22.06.43.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Oct 2019 06:43:26 -0700 (PDT) Date: Tue, 22 Oct 2019 21:43:08 +0800 From: Leo Yan To: Will Deacon Cc: linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Adrian Hunter , Alexander Shishkin , Brajeswar Ghosh , Florian Fainelli , Jiri Olsa , Mark Rutland , Michael Petlan , Namhyung Kim , Peter Zijlstra , Song Liu , Souptick Joarder , Arnaldo Carvalho de Melo , Ingo Molnar , Borislav Petkov Subject: Re: [tip: perf/core] perf tests: Disable bp_signal testing for arm64 Message-ID: <20191022134308.GD32731@leoy-ThinkPad-X240s> References: <20191018085531.6348-3-leo.yan@linaro.org> <157169993406.29376.12473771029179755767.tip-bot2@tip-bot2> <20191022131423.GA17920@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191022131423.GA17920@willie-the-truck> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 22, 2019 at 02:14:25PM +0100, Will Deacon wrote: [...] > > diff --git a/tools/perf/tests/bp_signal.c b/tools/perf/tests/bp_signal.c > > index c1c2c13..166f411 100644 > > --- a/tools/perf/tests/bp_signal.c > > +++ b/tools/perf/tests/bp_signal.c > > @@ -49,14 +49,6 @@ asm ( > > "__test_function:\n" > > "incq (%rdi)\n" > > "ret\n"); > > -#elif defined (__aarch64__) > > -extern void __test_function(volatile long *ptr); > > -asm ( > > - ".globl __test_function\n" > > - "__test_function:\n" > > - "str x30, [x0]\n" > > - "ret\n"); > > - > > #else > > static void __test_function(volatile long *ptr) > > { > > @@ -302,10 +294,15 @@ bool test__bp_signal_is_supported(void) > > * stepping into the SIGIO handler and getting stuck on the > > * breakpointed instruction. > > * > > + * Since arm64 has the same issue with arm for the single-step > > + * handling, this case also gets suck on the breakpointed > > + * instruction. > > Freudian slip? :D sorry for typo: s/suck/stuck. Thanks for review and will send a patch to fix it. Thanks, Leo Yan