From patchwork Thu Nov 16 06:53:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10060783 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E0E616023A for ; Thu, 16 Nov 2017 06:54:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC1102A80F for ; Thu, 16 Nov 2017 06:54:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0E752A817; Thu, 16 Nov 2017 06:54:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 797F12A80F for ; Thu, 16 Nov 2017 06:54:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=r3p5an9u9TEhulYSfJvKsBXEQPJUsOp0JVZe1myzDi0=; b=BN0 +MxrS5o/UFDGQqd/6rVH+jAMcnrQzjV5qtBTTHcnkkW/XiSmJppA9wL8VsYB3ZA0JoV7FYStT00xr 4O4qOMOHkJq47/ubDBIwkAedkhdh8l/gSh33ktvKIYCq3W6dkoFVx93D21/WmGR0SxTTnpjBWq2zj /6itiqmSfKTlRF4L/m6VmQ9Drr7Oo9dgzxIj8C+hy0E4aGg4+n96y9mim6BJC/mR8XbJmH1hdVsXM KCDli+XKfXv2otWGWUn0hGi3HIr7vsSyZ5Xt9SR6SgmFwqqnZ5DtQl23K6rBt7xMoWhwjeq6oPD1P a9ZJCqC2E1xyRKcs/wfgfkDecZvlzag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eFE48-0007mX-A1; Thu, 16 Nov 2017 06:54:24 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFE44-0007kw-5C; Thu, 16 Nov 2017 06:54:22 +0000 Received: from localhost.localdomain ([95.90.209.144]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id 0LpOJJ-1erYwK1Ht7-00f90L; Thu, 16 Nov 2017 07:53:41 +0100 From: Stefan Wahren To: Eric Anholt , Thomas Gleixner , Jason Cooper , Marc Zyngier Subject: [PATCH RFC] irq-bcm2836: Avoid "Invalid trigger warning" Date: Thu, 16 Nov 2017 07:53:02 +0100 Message-Id: <1510815182-4889-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K0:YVSrZ+GZpu5x3EtaXWDlRo/7/jJyXJWAxQfzJZTkzjOuJ7R7QhC O15xYSn/vFNS7pdGKg4FR5d8Ns//gs30H1Nk43xaMv22qwQiog6JvMf1BI6hUM6qUBI6jdr acVbVE9M/eDYIrtqvoCQlZZUAneHTP7xH5/6s+499eLECXYUH2iq4C94cPPjAiZjT0Lz9Zn EXmAfF73D7d9aBSCJ1DpA== X-UI-Out-Filterresults: notjunk:1; V01:K0:U1laIyiCXoA=:/U9m1j9OncbFuLJBoQVfIn PPW23vYU4yjZ3FEYZbsQUHJrurVZjDMM5gRzYarGJhGA/Bfeus91i7DV7H3oWEPSZZNi5oVd5 VJlTUECWtG++rMiPUVgEoqiahEQEXM8LE7ZwPcolNN3LM5tgLyJLQ/qOTqT05MiUB2yDGu1jU yfuJ7WjMfF1Ldev4KbKhQJCTiah+mQ5dRhSRgp7SfXOkStUCP32AjSZ91Ygx5j2v/47/6bHQG ouynSyJeseVcCvhfwVN4E4FOuY2acUhnTZkbgYYl5dy/Pyq4AHM89F1OeLf8upzQDgjivXsCH pD8syWiBhkCuZaoQyu9znLwVR879DRubv8AW/KKVhMVTLhtRp0HymUs/cT1ZbEI0qWhwinkLW /8NwuZvkypqXq8nMUuZ17uTyiF2sjHIQyk73XVgvxCYs4bVK609fyhaRZM/taWI1sKLcZl0vi d8A2TWPzOKC4tFLiXEzuGH7BjviEhRia5yuz2w6ZMrxGdhEzJkIyGSU+9pNKaRSQKzZ2pGDh8 ciT3aN7wW41IgjKvE+gaUcBVWJZxK6Tzqtimh+h/UYzNvK4dA00Vnr7OGlAGr/+NFfDrQFqwf pFXIsduFQnC893wmU3dV6X+WpZLsz89yYGbAmZ0D1w/0JEwmsp3Eo3JQBmvxFGJY1U+jhXgd+ bxeVxSP3majfaJrixpGoGqsMXHv2L21SmOmGHLzC3hy6tZTWoCeqcq+cBl7vtvWA7ce4x2aXq KfnKOHAzEBz/Wtha6fbgCAW5ZOag73i9RdyaLw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171115_225420_547631_BC01BE8F X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Florian Fainelli , Scott Branden , Ray Jui , Phil Elwell , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Phil Elwell Initialise the level for each IRQ to avoid a warning from the arm arch timer code: arch_timer: WARNING: Invalid trigger for IRQ19, assuming level low arch_timer: WARNING: Please fix your firmware arch_timer: cp15 timer(s) running at 19.20MHz (virt). Signed-off-by: Phil Elwell Signed-off-by: Stefan Wahren --- drivers/irqchip/irq-bcm2836.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c index 667b9e1..abc9b40 100644 --- a/drivers/irqchip/irq-bcm2836.c +++ b/drivers/irqchip/irq-bcm2836.c @@ -104,7 +104,7 @@ static void bcm2836_arm_irqchip_register_irq(int hwirq, struct irq_chip *chip) irq_set_percpu_devid(irq); irq_set_chip_and_handler(irq, chip, handle_percpu_devid_irq); - irq_set_status_flags(irq, IRQ_NOAUTOEN); + irq_set_status_flags(irq, IRQ_NOAUTOEN | IRQ_TYPE_LEVEL_LOW); } static void