From patchwork Fri Feb 24 19:59:55 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: 61430 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1117678wrd; Fri, 24 Feb 2023 12:03:43 -0800 (PST) X-Google-Smtp-Source: AK7set+4cb/ON3H1LpDMCAUb/78FHknz4q59EoizJ1gariByieg8VHWUen8PuVPoa0P+4nyHYFOG X-Received: by 2002:a17:90a:1a0f:b0:237:5dc6:ce14 with SMTP id 15-20020a17090a1a0f00b002375dc6ce14mr7473884pjk.7.1677269023469; Fri, 24 Feb 2023 12:03:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677269023; cv=none; d=google.com; s=arc-20160816; b=UJ8TBlZEtMYmx3vKpjOkOFT+R8PpQU3u6crEEk/L4vepIO7QsbE9UpuYQKadbaror+ Im/2AfDkGsSdVbQ/uV9QtgqFfd0GeIGoojoo5fDCeRkDnAwNaUO/T04EUcKBZ7SZ0t4M ++5MN6lnQ2EefJEJqHRUOEOLJFmAB7nOyh5Ah5tUil+DMq0bfbRNLq9G1fN8tkjyEdUF AWyB8yYmWgnpVN1E9WnA7/U6wCnEiyRSA3CFGJr0ZN5H1MiEPBfANwSbk1MJVLZjciTt m8JaaiVSQ+qxdVYPDjqk5HM4+TTM+74Paf+0SvJXjIzBF5j5taA+eOWFll5pLEPmoTKg GblQ== 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=+QDv5nRWs6ZjIbRaVD5ljmBiyofZxQMMwPgAc7wVGTs=; b=GJ+CH7+uzIN/QCCbAHfIdiBGf1ze2y9W3s7SKhGRAlIROokDdLTDeeTjKlyjiuCjyy 2M/bVQ06WeQSlsOaTcbb2kWwM56kRyDbIdPDEpOUgtbFwlDXfoGodLrjIeh8d6DxUsfT 6HJzjhICkIYStlcLRGSX5QKJp74f55jNtJ1+kW646z0b3RajzMc6uTBiFGExhhInObTX Caqs9xyLLMXMHOYJoVE46le6zmZN5r8Zeopqq5AgEZuRKDzYXGW/WQh50AQW1YWu55wm dDjGV+JzE5wi49d5MIyiSAf+J6Z6BJ43hyaz83RNG5p8oGIwwfigOaTU8XDz1e4+AE74 OxGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=g9kMLqjm; dkim=neutral (no key) header.i=@linutronix.de; 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 8-20020a630c48000000b004ff6eee715bsi6728667pgm.460.2023.02.24.12.03.25; Fri, 24 Feb 2023 12:03:43 -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=g9kMLqjm; dkim=neutral (no key) header.i=@linutronix.de; 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 S229790AbjBXUAc (ORCPT + 99 others); Fri, 24 Feb 2023 15:00:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbjBXUAa (ORCPT ); Fri, 24 Feb 2023 15:00:30 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCF453757D; Fri, 24 Feb 2023 11:59:57 -0800 (PST) Date: Fri, 24 Feb 2023 19:59:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1677268795; 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=+QDv5nRWs6ZjIbRaVD5ljmBiyofZxQMMwPgAc7wVGTs=; b=g9kMLqjmHdcTN3c6Gza+NM8qDC7FaVtkkijjP35RnHBMOLRYguqGhzlNk40FyoZ1i4Rr9E rML7zG9RldqURWNqWkaK+nhTfE2n5XeZeXQzei5IVrrk42tf9meJYtNSu/nGjW0z7rQLHI djjgoLMO674OXKqeJJr9CAJtBSGep/82MWl+jODzP5PzDFeU3nPNhYXVnJdcE8LVLdd5Vr hAQ2ML0QW/APSnT4cJBIM/FdvKfvqTVzK0sgJpDcSKAIY6MD4sc2e1vt8E8xnZ8INLbuEf BS6h67gq6GOhRh+gHtHMrCD6iktJQ9EmtkRgWGpihPcMv3RVDGmjjUPsx2PuPw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1677268795; 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=+QDv5nRWs6ZjIbRaVD5ljmBiyofZxQMMwPgAc7wVGTs=; b=fDxbicN7KytEspVSAAHtjG8ejcQHRjKWm4agj+Y7I68Smu9XADePez/PoYvX222eijC0LB ioorswgWhp4eh/BA== From: "tip-bot2 for Johan Hovold" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/urgent] genirq/msi: Drop dead domain name assignment Cc: Johan Hovold , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20230224130509.27814-1-johan+linaro@kernel.org> References: <20230224130509.27814-1-johan+linaro@kernel.org> MIME-Version: 1.0 Message-ID: <167726879502.5837.7389254031515212648.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?1758719677827720318?= X-GMAIL-MSGID: =?utf-8?q?1758744043650155746?= The following commit has been merged into the irq/urgent branch of tip: Commit-ID: ea9a78c3a7a44e36fa690e1cc90dc2a758c8eb9a Gitweb: https://git.kernel.org/tip/ea9a78c3a7a44e36fa690e1cc90dc2a758c8eb9a Author: Johan Hovold AuthorDate: Fri, 24 Feb 2023 14:05:09 +01:00 Committer: Thomas Gleixner CommitterDate: Fri, 24 Feb 2023 20:54:58 +01:00 genirq/msi: 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 unused fallback name assignment when creating MSI domains. Signed-off-by: Johan Hovold Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20230224130509.27814-1-johan+linaro@kernel.org --- kernel/irq/msi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c index 13d9649..efd21b7 100644 --- a/kernel/irq/msi.c +++ b/kernel/irq/msi.c @@ -830,11 +830,8 @@ static struct irq_domain *__msi_create_irq_domain(struct fwnode_handle *fwnode, domain = irq_domain_create_hierarchy(parent, flags | IRQ_DOMAIN_FLAG_MSI, 0, fwnode, &msi_domain_ops, info); - if (domain) { - if (!domain->name && info->chip) - domain->name = info->chip->name; + if (domain) irq_domain_update_bus_token(domain, info->bus_token); - } return domain; }