From patchwork Sat Feb 18 14:28:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 58937 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp406319wrn; Sat, 18 Feb 2023 06:56:03 -0800 (PST) X-Google-Smtp-Source: AK7set88M+PRl92LcAGOdnQ+jGysYXbxQVm+YeUFCrWOjuc/aB5jmTgVYjdRx7+weN18yWsJoRdh X-Received: by 2002:a05:6a20:728c:b0:bc:3290:5759 with SMTP id o12-20020a056a20728c00b000bc32905759mr4883008pzk.34.1676732162701; Sat, 18 Feb 2023 06:56:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676732162; cv=none; d=google.com; s=arc-20160816; b=e3JqrUCShd/cxJySWXzT1vPl1WdXhHtvPj8yQC3B3Oxk0giU/q0lWSBFgmZIp69vB/ yuMIvTkTQ+tFz8U7njxokBlwkxXBhQrNIzj0TcMkcVRt19FQLcxcGk60I0x0EF3zHdgL xyDMJ6XlbuApNOqoH7KsMkStOa8rxkx+jOSvQ7n9mhc1qgZZKOJSZ9r6qjdbHNKlAY63 chfDrVIbo6plhndvxa3PtUmAC4raKirrJczd7gEXR5WPzHn31jRGGZUG9AKSL8Hhoffq ZDMH26A4zY+uIW7f4NnPE6PWJQnr9IzbNd7BOAejzUZp7ZFTTO4aJOp7zUHpck0pWitY lUzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=vl6n7PSDf8dH46gyX7pAqYpLt9UJYFedNkQQ0eBRhEU=; b=dCorgCO7PR5K9UQG8NAP8B+9iU2Cld37GrUoW2iMswnL9ew/3j4koK40O03oQnDDgX VoAjleXXSqHHq8iDH/tgV8/BmvR62rsj6FFhtCliwki2DG6pBFr9XeDEoiJVu5cKNRTK 2w3lfT3FUr1qE/LVh+j70Fy+f7t3dnxeiWOqooF8tSEap3nYgz4SksZ51qsz+13igEwA k8CNZPh3T/hqbh5ffYzWkCiU1Nw6CtjXE8Mm+wNP9Ad3yqIydNUkguCb6wfaM0Kd+cJ2 +DBG8i4CopHNIvXrlUYzHEaOC54zPPkQj3OLep/MdC8pwoFFiSNP24ZgDg1UsXPTRsYl J4jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=gnsmQQdf; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a654145000000b004fbcd4a3e39si5542027pgp.655.2023.02.18.06.55.50; Sat, 18 Feb 2023 06:56:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=gnsmQQdf; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229714AbjBRO2l (ORCPT + 99 others); Sat, 18 Feb 2023 09:28:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbjBRO2h (ORCPT ); Sat, 18 Feb 2023 09:28:37 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3241315CBD for ; Sat, 18 Feb 2023 06:28:36 -0800 (PST) Date: Sat, 18 Feb 2023 14:28:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1676730513; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vl6n7PSDf8dH46gyX7pAqYpLt9UJYFedNkQQ0eBRhEU=; b=gnsmQQdfNYA8G/+Rq89gSRO09u+KcGL/04uUNPc4Px1cPzd1xBQy2gyDGIrFV846SHjsLe kRONRsa/1+fmw5tdhgsf8LWMDqft3eh5yBsYTxkUH4qyi+Pp48btR/6hQ2YCtHKCMMQxpC tGPfh5OlpSfOJvJYdCnSWa585jHmin8dSOuAV7uDR7nZzhXE9Dla7NrQWTfpbl6+tMItRX xEIYxijSVDIBrUXNgLgQRsQWDAlx9nBRtzTgcoDcXBsXZK7nurNScFf5KmWXvG6C27pmQD KiBOknVBnqUhJ51vGa5DLcCwWHpnEQhNHYg/W43WQ5mFCC9fGI4DDVtcwThyRQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1676730513; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vl6n7PSDf8dH46gyX7pAqYpLt9UJYFedNkQQ0eBRhEU=; b=+n64HUILg6xmzUfembODqvkXUeBk8yWEo9XUaORQaOiXGAzH306d+NCm8NvLm5YNKwlRdA ndqyqbE2ANvnnhCw== From: "irqchip-bot for Florian Fainelli" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts Cc: Florian Fainelli , philmd@linaro.org, Marc Zyngier , tglx@linutronix.de In-Reply-To: <20221216230934.2478345-3-f.fainelli@gmail.com> References: <20221216230934.2478345-3-f.fainelli@gmail.com> MIME-Version: 1.0 Message-ID: <167673051273.4906.12544908266625513650.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752414528413286267?= X-GMAIL-MSGID: =?utf-8?q?1758181104294034634?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 13a157b38ca5b4f9eed81442b8821db293755961 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/13a157b38ca5b4f9eed81442b8821db293755961 Author: Florian Fainelli AuthorDate: Fri, 16 Dec 2022 15:09:34 -08:00 Committer: Marc Zyngier CommitterDate: Sat, 18 Feb 2023 14:23:41 irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts When support for the interrupt controller was added with a5042de2688d, we forgot to update the flags to be set to contain IRQ_LEVEL. While the flow handler is correct, the output from /proc/interrupts does not show such interrupts as being level triggered when they are, correct that. Fixes: a5042de2688d ("irqchip: bcm7120-l2: Add Broadcom BCM7120-style Level 2 interrupt controller") Signed-off-by: Florian Fainelli Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20221216230934.2478345-3-f.fainelli@gmail.com --- drivers/irqchip/irq-bcm7120-l2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-bcm7120-l2.c b/drivers/irqchip/irq-bcm7120-l2.c index bb6609c..1e9dab6 100644 --- a/drivers/irqchip/irq-bcm7120-l2.c +++ b/drivers/irqchip/irq-bcm7120-l2.c @@ -279,7 +279,8 @@ static int __init bcm7120_l2_intc_probe(struct device_node *dn, flags |= IRQ_GC_BE_IO; ret = irq_alloc_domain_generic_chips(data->domain, IRQS_PER_WORD, 1, - dn->full_name, handle_level_irq, clr, 0, flags); + dn->full_name, handle_level_irq, clr, + IRQ_LEVEL, flags); if (ret) { pr_err("failed to allocate generic irq chip\n"); goto out_free_domain;