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: 47398 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DEBA52121F for ; Tue, 21 Apr 2015 15:06:48 +0000 (UTC) Received: by wiun10 with SMTP id n10sf5363640wiu.1 for ; Tue, 21 Apr 2015 08:06:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=pw1lA1088byFa1lIq9C++wQLjKsmCKubPo7hYa0Z+bs=; b=hVQQuzAAqagLyaEdrEsLbVA5Vdp0urs/KUpW1BpqE5bcA1/qHidigQ9MB4X9dmTXdI 7K5ut5hA22nQOJllvMbARzFYm/hC+/eJSZC4TrRNgtPfs7trHPHlvifVF/so8Bptgelh g1OtaYF1RgC6HvFXqQX58djbjVBcW6unm/w9uwAO+rNRk7ZlOh6ppH/8jqfjR2Pe/fVq 4EuWbm7+wS6OjWOciA0qDbOP/kKLcTmnOjBWDm6lyxs7sH3OpGimFlygKgtyxvBed7Oh vMhYeRTas1jL4E3UyAdxwdjmCFekpGawUHix2Tmr7s3fKtAXZmST3r9HCPXqr6c9rDa8 pEsQ== X-Gm-Message-State: ALoCoQnxybOGkcc+T3c4WhOAz/LTN05jRMOBIBzFTB0B+zMrfw02r3svXMEBgD64PVkq6fZyLXtq X-Received: by 10.180.10.136 with SMTP id i8mr1602777wib.7.1429628807102; Tue, 21 Apr 2015 08:06:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.2 with SMTP id ci2ls57904lad.38.gmail; Tue, 21 Apr 2015 08:06:46 -0700 (PDT) X-Received: by 10.152.37.69 with SMTP id w5mr20633720laj.15.1429628806908; Tue, 21 Apr 2015 08:06:46 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id k5si1534109lag.163.2015.04.21.08.06.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Apr 2015 08:06:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by layy10 with SMTP id y10so153438093lay.0 for ; Tue, 21 Apr 2015 08:06:46 -0700 (PDT) X-Received: by 10.152.163.35 with SMTP id yf3mr20570628lab.86.1429628806821; Tue, 21 Apr 2015 08:06:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp689979lbt; Tue, 21 Apr 2015 08:06:45 -0700 (PDT) X-Received: by 10.66.249.168 with SMTP id yv8mr38823001pac.49.1429628804923; Tue, 21 Apr 2015 08:06:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11si3274509pbs.163.2015.04.21.08.06.43; Tue, 21 Apr 2015 08:06:44 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755511AbbDUPGj (ORCPT + 27 others); Tue, 21 Apr 2015 11:06:39 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:36091 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755372AbbDUPGg (ORCPT ); Tue, 21 Apr 2015 11:06:36 -0400 Received: by lbbqq2 with SMTP id qq2so157898062lbb.3 for ; Tue, 21 Apr 2015 08:06:34 -0700 (PDT) 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 Cc: a.p.zijlstra@chello.nl, paulus@samba.org, mingo@redhat.com, acme@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, khilman@linaro.org, steve.capper@linaro.org, Anders Roxell 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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",