From patchwork Mon Apr 27 20:53:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 6282571 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CEC0C9F1C2 for ; Mon, 27 Apr 2015 20:56:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 12D322035E for ; Mon, 27 Apr 2015 20:56:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 338A220351 for ; Mon, 27 Apr 2015 20:56:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ymq2w-0005Qb-18; Mon, 27 Apr 2015 20:54:30 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ymq2e-0005I4-US for linux-arm-kernel@lists.infradead.org; Mon, 27 Apr 2015 20:54:13 +0000 Received: by layy10 with SMTP id y10so89577190lay.0 for ; Mon, 27 Apr 2015 13:53:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Cu7ufzA840hyRtu5Gs6NoMLvJT4AinhNAnk/nk+7RsE=; b=QnYYeCdIdRvGaOtEa92VpMue5qIHO1BGR3adcpssWPiiNPAIC0KvNPhMVZgGhhihou TM+OITZDMdhhep5mq8DWnUejtRODrADAYU+EaefoFoV1sRT7NJy0QEzCeETJdR0Dz8vr MIY8w6vw694snJBg65Y6gYVkaeUB+xpSZP/Kbb1dPK5ZGMy4IFNTxazYH/vq9kYSVsOo lt9o51pGL8ClWFCtgZWZ1D1DHHK9iQwZBN7sMl3BlUhx6gXufgkOMkTpVpPz5+/WFWxz gAEzkpG1TXA6XBG89jj6gNMvx9hqyES74nkr4i00rDsGWZNur5qsUomBsOdpOG1KyWhV ofeQ== X-Gm-Message-State: ALoCoQkYh31JQ0NA1H7mwrqojDP8dUyAD97xePUe0R577DvsJFZKMseKRP5DthIXycfAIiWgadsn X-Received: by 10.153.6.6 with SMTP id cq6mr11781146lad.13.1430168030365; Mon, 27 Apr 2015 13:53:50 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id l3sm5034551lbj.46.2015.04.27.13.53.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 13:53:49 -0700 (PDT) From: Anders Roxell To: bigeasy@linutronix.de, ayyappa.ch.linux@gmail.com Subject: [PATCHv2 1/3] arm64: Mark PMU interrupt IRQF_NO_THREAD Date: Mon, 27 Apr 2015 22:53:08 +0200 Message-Id: <1430167990-12333-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1430167990-12333-1-git-send-email-anders.roxell@linaro.org> References: <1430167990-12333-1-git-send-email-anders.roxell@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150427_135413_218032_4C9873AF X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: kevin.hilman@linaro.org, Anders Roxell , linux-rt-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Mark the PMU interrupts as non-threadable, as is the case with arch/arm: d9c3365 ARM: 7813/1: Mark pmu interupt IRQF_NO_THREAD Suggested-by: Sebastian Andrzej Siewior Signed-off-by: Anders Roxell Acked-by: Sebastian Andrzej Siewior --- arch/arm64/kernel/perf_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c index aa29ecb..70dcde6 100644 --- a/arch/arm64/kernel/perf_event.c +++ b/arch/arm64/kernel/perf_event.c @@ -461,7 +461,7 @@ armpmu_reserve_hardware(struct arm_pmu *armpmu) } err = request_irq(irq, armpmu->handle_irq, - IRQF_NOBALANCING, + IRQF_NOBALANCING | IRQF_NO_THREAD, "arm-pmu", armpmu); if (err) { pr_err("unable to request IRQ%d for ARM PMU counters\n",