From patchwork Tue Apr 21 15:05:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 6249801 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1E4ADBF4A6 for ; Tue, 21 Apr 2015 15:11:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52FD7202AE for ; Tue, 21 Apr 2015 15:11:33 +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 3BA38202FE for ; Tue, 21 Apr 2015 15:11:32 +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 1YkZmm-000108-8T; Tue, 21 Apr 2015 15:08:28 +0000 Received: from mail-la0-f51.google.com ([209.85.215.51]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkZlK-0008Ei-Iq for linux-arm-kernel@lists.infradead.org; Tue, 21 Apr 2015 15:06:59 +0000 Received: by lagv1 with SMTP id v1so153476129lag.3 for ; Tue, 21 Apr 2015 08:06:34 -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=kp9EcUT5QgLthalPZye0oXQKDoqFx5KQAHD5AEA4oco=; b=auJnP6+A8hisWzMb80EpQlDeSz44x8y4wZ/TO5viJAGicn3l3+NRkT8XfYISxubQJE PfKzSrfBNvOi3OEaJBgG2e8fKArjJuHU9qjamsbOf34Id/EUXG3ttWnP0LR9TNgzy8Nx mjSsEyLO0forcOPslaIsGduYhxO2aJVG9sD2UqVRnk3cEDx9z7J8skMkH+eg9eM7/rzD wRLCMtMUvlv0IeI7nI9Bwr3WDqpwqK21OukYJgQX3LnZJpJpE2/vHPGA19dZ2Orh1fLM xM74Rt/VS/ge+MhSexp3MKPtg2oxDp1VZTcz0lQY+M5S7He7GQm35bLLvzR+4C0m000y kuWg== X-Gm-Message-State: ALoCoQmVDS7v4DX6j7mGAcnyQfbCKngtRsMmIKb5OTehGpdsRhoqCCFvYL47fhYEh7Z1W6Rj11fZ X-Received: by 10.112.171.68 with SMTP id as4mr1844859lbc.64.1429628794905; Tue, 21 Apr 2015 08:06:34 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id s1sm453339lae.46.2015.04.21.08.06.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Apr 2015 08:06:34 -0700 (PDT) From: Anders Roxell To: catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH 1/2] arm64: Mark PMU interrupt IRQF_NO_THREAD Date: Tue, 21 Apr 2015 17:05:54 +0200 Message-Id: <1429628755-22492-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1429628755-22492-1-git-send-email-anders.roxell@linaro.org> References: <1429628755-22492-1-git-send-email-anders.roxell@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150421_080658_857041_E2E46F1C X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: khilman@linaro.org, steve.capper@linaro.org, a.p.zijlstra@chello.nl, linux-kernel@vger.kernel.org, acme@kernel.org, mingo@redhat.com, paulus@samba.org, Anders Roxell , 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: Will Deacon --- 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 195991d..7db5c84 100644 --- a/arch/arm64/kernel/perf_event.c +++ b/arch/arm64/kernel/perf_event.c @@ -488,7 +488,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",