From patchwork Tue Dec 6 11:57:56 2022 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: 30259 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2775613wrr; Tue, 6 Dec 2022 04:01:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf6MXBeweJwjXwGFuPwT6xpyM1gFSxr1jSCW1clAnjvYW0CPfd3cpN5DFVh9flRU22tn0Iip X-Received: by 2002:aa7:d34b:0:b0:46a:914c:9bc9 with SMTP id m11-20020aa7d34b000000b0046a914c9bc9mr48581444edr.418.1670328066418; Tue, 06 Dec 2022 04:01:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670328066; cv=none; d=google.com; s=arc-20160816; b=PxJnv2dUDwIOPzGqZSY7lSRMhoczVJw9q6Z9TPXcc4XVp3Hg5hD8GwLMeVNUT7q0VF Rg6pv8zR3QL0616n4Xwv7oEUtlTi3SsGPZ/SM5nWEYrk0vZDGNB8CwBZpxhds0eXD302 CYd6OJEycj2VF3Tj6e4gcIvX7j2RudYZ6gM1Cuccr3WMn3qecYOduH2rgghe70Y0yF+y po5lM4OPYnnNHMA9pR9/C9jWPYJ/utPMj7Wv8JaLFQkvG0yNvASendZRqWpqyHCE+Gno cwAeb3bTfsqy2qSkMI3VOxMIktltINiZyZ1mxgWyBF408NThk22wdi3yF8xmkVGOzKfi 6SjA== 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=ByooM8E9lvto07zzrlrynXmFybr8pwMSk29S3Qdnk6I=; b=IgkBHBEc6oYEY3rO2D16qVvnxEyMsRwUwB/Wznr22PfEVE6QOsY8LcPgiFlBf98PTo QZokYXFB6Atk+eJLzz2z1KSSbIx6pa1UoNJK/Cn4juQZKzW0FUd81etBOfJB5P420m/U V9+8OfQcsxpr0JK6WYaDrGEVw9+OcxjidO2kIYRwkJYshy9zweazcivYvD/bfLgaO+Kj Wn8CG/TirteOsubEKstyF442PZso1wkFo+gY3a+NGqs37p0uMl4IPn40f4rBQMl3EJ19 JNCO7MwbM9z9owt3gH5fljeUFmNXbbtzmMLMCcsggrBPhSj5Q326e6K2x8XmmnkaY1Em CXfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=F5HMwPwr; 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 oz41-20020a1709077da900b0078db371355esi15057541ejc.987.2022.12.06.04.00.42; Tue, 06 Dec 2022 04:01:06 -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=F5HMwPwr; 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 S235089AbiLFL71 (ORCPT + 99 others); Tue, 6 Dec 2022 06:59:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234883AbiLFL6a (ORCPT ); Tue, 6 Dec 2022 06:58: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 4B1386472; Tue, 6 Dec 2022 03:57:58 -0800 (PST) Date: Tue, 06 Dec 2022 11:57:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670327876; 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=ByooM8E9lvto07zzrlrynXmFybr8pwMSk29S3Qdnk6I=; b=F5HMwPwrU43Hgvwc1mrWbuwTU7Wo5uxIYcb1HvPq5Ii5YPOc68IJJqjBWk/M8xInJITQ6J U3o+7vznGzls40v5Dq1tkURGzrIhMsGKHmiQvH8HmrkNBuPLsqxYBEbBoR8lzGIBbeOKs5 mW3dX+MRUc6TDKRhFATwKYj6loUR0r4S7lkqKyYh7rxHx+wACFdGZFV3pYR72FPskBsPBN dxZ4SQP7knD9xIa1/hLSKXFzkWrqcTV8oYd4unyScUKwPsy2cgOPSJvSpgwKU8jPKDqcgt zPZtSJdM28ZmfSFpxoN3I5SaoVJ/xkJ7jElJRzQID2P23lHuMFOgtuK22P6lSA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670327876; 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=ByooM8E9lvto07zzrlrynXmFybr8pwMSk29S3Qdnk6I=; b=/rDf1R3zZKUuj6oewVHiMBEM47VsuGxszMH4Vj/ImVYaAiEj04SZqyrjMgAqzdZMNcCo77 1nvR2F/jPCpLq5Ag== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] irqchip/gic-v2m: Mark a few functions __init Cc: Thomas Gleixner , Marc Zyngier , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20221121140048.534395323@linutronix.de> References: <20221121140048.534395323@linutronix.de> MIME-Version: 1.0 Message-ID: <167032787623.4906.2412956108528198909.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?1750118160166957390?= X-GMAIL-MSGID: =?utf-8?q?1751465922500965841?= The following commit has been merged into the irq/core branch of tip: Commit-ID: d51a15af37ce8cf59e73de51dcdce3c9f4944974 Gitweb: https://git.kernel.org/tip/d51a15af37ce8cf59e73de51dcdce3c9f4944974 Author: Thomas Gleixner AuthorDate: Mon, 21 Nov 2022 15:39:33 +01:00 Committer: Thomas Gleixner CommitterDate: Tue, 06 Dec 2022 12:50:17 +01:00 irqchip/gic-v2m: Mark a few functions __init They are all part of the init sequence. Signed-off-by: Thomas Gleixner Acked-by: Marc Zyngier Link: https://lore.kernel.org/r/20221121140048.534395323@linutronix.de --- drivers/irqchip/irq-gic-v2m.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c index fcc871a..f4d7eeb 100644 --- a/drivers/irqchip/irq-gic-v2m.c +++ b/drivers/irqchip/irq-gic-v2m.c @@ -263,7 +263,7 @@ static struct msi_domain_info gicv2m_pmsi_domain_info = { .chip = &gicv2m_pmsi_irq_chip, }; -static void gicv2m_teardown(void) +static void __init gicv2m_teardown(void) { struct v2m_data *v2m, *tmp; @@ -278,7 +278,7 @@ static void gicv2m_teardown(void) } } -static int gicv2m_allocate_domains(struct irq_domain *parent) +static __init int gicv2m_allocate_domains(struct irq_domain *parent) { struct irq_domain *inner_domain, *pci_domain, *plat_domain; struct v2m_data *v2m; @@ -405,7 +405,7 @@ err_free_v2m: return ret; } -static const struct of_device_id gicv2m_device_id[] = { +static __initconst struct of_device_id gicv2m_device_id[] = { { .compatible = "arm,gic-v2m-frame", }, {}, }; @@ -455,7 +455,7 @@ static int __init gicv2m_of_init(struct fwnode_handle *parent_handle, #ifdef CONFIG_ACPI static int acpi_num_msi; -static struct fwnode_handle *gicv2m_get_fwnode(struct device *dev) +static __init struct fwnode_handle *gicv2m_get_fwnode(struct device *dev) { struct v2m_data *data; @@ -470,7 +470,7 @@ static struct fwnode_handle *gicv2m_get_fwnode(struct device *dev) return data->fwnode; } -static bool acpi_check_amazon_graviton_quirks(void) +static __init bool acpi_check_amazon_graviton_quirks(void) { static struct acpi_table_madt *madt; acpi_status status;