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 D192DC43466 for ; Mon, 21 Sep 2020 14:01:33 +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 7C14E20756 for ; Mon, 21 Sep 2020 14:01:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ugt4cDrW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="wg9S+ccq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C14E20756 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=wd76hITaJz1jpgmVtLk+iphQjxlyTmqS32L2Izjyi3A=; b=ugt4cDrWUDBv8Xaea1KLsTrPj 1fxNbo1JepOnd+sqL1b6n7DFjh1UZK/NiAeJ0kYccuM2TLpJ1co4e2Eu5eAwQOSX/WKl4Lo8feewh BeJ4R/oiOI1wqcJ1/kqFePKHT4mE+DPc4k6qQMXWw9LufEEQ/C+LSQbnOxyJQ0EVWI0zeFRGApVEY r5VbdRdulB9imoy9sNjYa+obpm7ZZRwhOlQewTUeisBnv2AVLbYMPlgZFgowwy7wOvzcQoFQBKDwY hMXDXCXVZMWCRRSoDSYFifHXCakhlWcv8bh1cArnxv2+2FWlIwLJIjuICqtBJUfGwbYCc5EwgcBu9 1cOM/ruJQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKMMW-0006gb-VZ; Mon, 21 Sep 2020 14:00:13 +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 1kKMMH-0006ca-EZ for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 13:59:58 +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 52F1E20866; Mon, 21 Sep 2020 13:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600696796; bh=a4DF4W7dtH8e/HdbJnpntS4I8yTDTPerCU7Lh31WhNQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wg9S+ccqsDems1XcMj6eWPCpdmJ2G7w+rjxlyHduxbE5H7pjT+kzuyEjIROlO22rH JDTh02rcsjIObg8hrRocIUlihWizF1Ghdv/loTWSlrG9BWmGad/xgg14LZ+oJjN6wZ MgIcADkUToN3Vu5HCUYF0wrTHg+++B8cNEo52KJw= Date: Mon, 21 Sep 2020 14:59:52 +0100 From: Will Deacon To: Alexandru Elisei Subject: Re: [PATCH v6 0/7] arm_pmu: Use NMI for perf interrupt Message-ID: <20200921135951.GN2139@willie-the-truck> References: <20200819133419.526889-1-alexandru.elisei@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200819133419.526889-1-alexandru.elisei@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_095957_561329_A62E0374 X-CRM114-Status: GOOD ( 12.77 ) 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 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? Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel