From patchwork Mon Feb 13 19:40:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 56515 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2537498wrn; Mon, 13 Feb 2023 11:43:27 -0800 (PST) X-Google-Smtp-Source: AK7set9kl5YIpOfKqmQsgxRtu+PsJq29NS29gA48mIcG84NhG0tPGKcsYp1HKlYDOx5j86P8Zmt/ X-Received: by 2002:a50:d704:0:b0:46f:a6ea:202 with SMTP id t4-20020a50d704000000b0046fa6ea0202mr29591579edi.37.1676317407664; Mon, 13 Feb 2023 11:43:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676317407; cv=none; d=google.com; s=arc-20160816; b=PrO2tQcrIIGyH1DCtNiOmgALCkSsbwWPtnNq8IRIR958NS5nt7ksr8MvsrzJxgJBED s2dfAQom/1VsfOmPUM/Cyz3sZL1fYgePaX3cGMgBpqfOfvnHroxMv97QQFB0SJvfmh4h IYGYtKsrsulS4gxfgol5twhUBkD6rLGjqwU02Iu6h1Np+lik234/WOVrHri+08x5KNuV FvJKS+G5J/OpXrdFbFILPaZ3M5GK0toL9UnF0YmLwXBnupV5JaP/6ZHgO9lnA/jFd1gn Z2g12zRGdfLjjZBSGeZaf0Yu1wJppS2Gmq5ogWMGKvbmaV2oIKs/KTuMVT5PZsSqHy86 4GgA== 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=aYTKSpozZ9Dms3KK5g6EFO4wHq//fandKtT1knzWqZ4=; b=Fdqwfr5/qTaz4XB2yjdVqheqFQA60EgqVbUbpBquHQGT8DzI6FOZQm15DCvDMpWRAh 76xn8Njj1DkKwyRw+V+gwCjwSKNgUMQuYStV6+8dhRLDisCDPyUQDwgiUGM/Fuj4S4V+ 1aYz7V9pi4TN0Z5P2T6UV+/QEBYXoqQSPiRyzADNimUebW9uUv28ZrEuqdB53GEXqD2s liiy78sLLTkpCZv+IlInY3QBIE6NoCcmTnCrd5glP4pt7EnWpxcj0XAqHUUv0B4KQa68 bAp0kq/Ga5d1gh7qm66KnCNH9jNLYKq4mA4QDnoyY0N8l3l8EwTr7DeQxJ5xrvcvExVy jcYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=zjXTJ58K; 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 u19-20020a056402065300b004acb7b6a25csi8063114edx.42.2023.02.13.11.43.04; Mon, 13 Feb 2023 11:43:27 -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=zjXTJ58K; 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 S231175AbjBMTlN (ORCPT + 99 others); Mon, 13 Feb 2023 14:41:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231308AbjBMTkx (ORCPT ); Mon, 13 Feb 2023 14:40:53 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4532A1F91D for ; Mon, 13 Feb 2023 11:40:46 -0800 (PST) Date: Mon, 13 Feb 2023 19:40:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1676317245; 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=aYTKSpozZ9Dms3KK5g6EFO4wHq//fandKtT1knzWqZ4=; b=zjXTJ58KZjRRDbtyqwybiTgjl1dzyDaU28Cf79ZkaYzTlS/Yp+4bkwG2oabT6MTMJ8a9aL 9woZgcQ+DDWoECXfuJOyR3DfifygN5+pKld72VyJvzC9Clg2i3bjDtN8wn8xbtLi6fG6jZ u9pX2nGrdg0/V6xZpR0dD8O2XpseydXiRRI9drp7/6tjtf1X7OcMervk2bPVkJpAwNSwqd Gr4Iut9P2zmRR6g12Tz5wbLbCFDhhfDxXeyEZz8FkFg6yyLyqkzxx/Y/fBJ5Lg2u2mvJ4i 1DSyvOf1kWwO2/PetniXxhKQ1367ifdKCxR35gTP06u1gy1yw0kEUU4xwwsQSQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1676317245; 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=aYTKSpozZ9Dms3KK5g6EFO4wHq//fandKtT1knzWqZ4=; b=4V+odxnlY0WRnbEgLDhNnKE35gsKtpikJVJ6wmcWJr9lW7Y2GDz2fwuF3EsiA4GRx39Les l4SjubnLsFpWdKAA== From: "irqchip-bot for Johan Hovold" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqdomain: Drop dead domain-name assignment Cc: "Hsin-Yi Wang" , "Mark-PK Tsai" , Johan Hovold , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20230213104302.17307-10-johan+linaro@kernel.org> References: <20230213104302.17307-10-johan+linaro@kernel.org> MIME-Version: 1.0 Message-ID: <167631724456.4906.17248424991679732904.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?1757712354595584872?= X-GMAIL-MSGID: =?utf-8?q?1757746201790502619?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 28a9ff23d8b56db09cb01cef174a205ea5e2ca49 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/28a9ff23d8b56db09cb01cef174a205ea5e2ca49 Author: Johan Hovold AuthorDate: Mon, 13 Feb 2023 11:42:51 +01:00 Committer: Marc Zyngier CommitterDate: Mon, 13 Feb 2023 19:31:24 irqdomain: Drop dead domain-name assignment Since commit d59f6617eef0 ("genirq: Allow fwnode to carry name information only") an IRQ domain is always given a name during allocation (e.g. used for the debugfs entry). Drop the leftover name assignment when allocating the first IRQ. Tested-by: Hsin-Yi Wang Tested-by: Mark-PK Tsai Signed-off-by: Johan Hovold Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20230213104302.17307-10-johan+linaro@kernel.org --- kernel/irq/irqdomain.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index c7113e7..6bd6b61 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -619,10 +619,6 @@ static int irq_domain_associate_locked(struct irq_domain *domain, unsigned int v irq_data->hwirq = 0; return ret; } - - /* If not already assigned, give the domain the chip's name */ - if (!domain->name && irq_data->chip) - domain->name = irq_data->chip->name; } domain->mapcount++; @@ -1182,10 +1178,6 @@ static void irq_domain_insert_irq(int virq) domain->mapcount++; irq_domain_set_mapping(domain, data->hwirq, data); - - /* If not already assigned, give the domain the chip's name */ - if (!domain->name && data->chip) - domain->name = data->chip->name; } irq_clear_status_flags(virq, IRQ_NOREQUEST);