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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CF69C4363A for ; Mon, 21 Sep 2020 17:55:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D3A8F20BED for ; Mon, 21 Sep 2020 17:55:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nCzehQn/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="whrzXfYP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D3A8F20BED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=dt+GEb6NewPUJmG5l/Qe6MJ+bZsX2fYt+aw5RcBot/Q=; b=nCzehQn/8h/FA0SfzqKPmZ21i a47Xau4JcT9b5a9o7WAAOOSV4pAQS3guLDc81NYkks34H165vyV7wvBZ/VUuynE/alBu8ybRKOhDi CewM2rCkRXgL6V6nsvgPn+MdM4cgl4j+fA2GzxhjdtT0qqAROGDrrlGh9QK+JdbsxgesMbL+sFd6z EkNXk/9HtegB7wg/3K4UOkKe6CBbWxNlckBf0cERw/rrg4hFIS34G1fG9E/mNjnvDaztOjGFu3cRC /e9V3dVtHLhRHM3rAihj+U7TP0mbCa9ve3doZRsdCzgkeSt/y/PlcniCvk5QsaOR0OZ9w468bwAy4 rg6ZqVLPQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKQ0R-0005GM-Vv; Mon, 21 Sep 2020 17:53:40 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKQ0P-0005Fc-6b for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 17:53:37 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DAF0B20BED; Mon, 21 Sep 2020 17:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600710816; bh=rHqhMXLrc2euBYg5DgO9SILeP95LxH71eqk44hTG9fY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=whrzXfYPbw8odytdwpTt8k+qKtDPsccHgGGWL3LMfjU7nImxPpZdkYj4L5d4A1Hna LYD49Cej2p/1b2Z1Yvz7zj+7a4qaePi+iNj02ULwJDI+quZEN6/H1CSmd38WH/cAc+ 5C5uUnbagc+d1d+LvDl4mE1CbXGDVSRM+jYSp4SI= Date: Mon, 21 Sep 2020 18:53:31 +0100 From: Will Deacon To: Alexandru Elisei Subject: Re: [PATCH v6 0/7] arm_pmu: Use NMI for perf interrupt Message-ID: <20200921175330.GE3141@willie-the-truck> References: <20200819133419.526889-1-alexandru.elisei@arm.com> <20200921135951.GN2139@willie-the-truck> <296304b8-aadd-817d-bb12-dc7524b6f0f5@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <296304b8-aadd-817d-bb12-dc7524b6f0f5@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200921_135337_394405_9B5B4B61 X-CRM114-Status: GOOD ( 22.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, sumit.garg@linaro.org, maz@kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org 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 Mon, Sep 21, 2020 at 04:41:00PM +0100, Alexandru Elisei wrote: > On 9/21/20 2:59 PM, Will Deacon wrote: > > On Wed, Aug 19, 2020 at 02:34:12PM +0100, Alexandru Elisei wrote: > >> The series makes the arm_pmu driver use NMIs for the perf interrupt when > >> NMIs are available on the platform (currently, only arm64 + GICv3). To make > >> it easier to play with the patches, I've pushed a branch at [1]: > > This mostly looks good to me, but see some of the comments I left on the > > code. One other thing I'm not sure about is whether or not we should tell > > userspace that we're using an NMI for the sampling. Do any other > > architectures have a conditional NMI? > > I'm not sure about other architectures being able to configure the perf interrupt > as NMI or a regular interrupt, I'll try to find out. Regardless of what the other > architecture do, I am of the opinion that we should spell out explicitly when the > PMU is using pseudo-NMIs, because it makes a huge difference in the accuracy of > the instrumentation and the overall usefulness of perf. > > If I spin a v7 quickly, is it still time to merge the series for 5.10? I'm on holiday for the rest of the week, but please post something when you have it and I'll queue it if I manage to get to it. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel