From patchwork Sat Nov 26 13:34:34 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: 26238 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4634022wrr; Sat, 26 Nov 2022 05:35:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf5xodzbc1KPQYtINEFpH2HtSuBehVPNrsyxG4M56UjQueDOGz10M+Blz+Vota8x3LEg6iU3 X-Received: by 2002:a17:902:bf01:b0:186:8bca:1d50 with SMTP id bi1-20020a170902bf0100b001868bca1d50mr25180461plb.158.1669469738576; Sat, 26 Nov 2022 05:35:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669469738; cv=none; d=google.com; s=arc-20160816; b=ltfqcsmImbW1Q9SdnFzvmnUetOfi+kjEtvgvsVM7XNA3dliujVIFGomxPKyB5hJj4/ lBoRptzZ3bQ4YhzvkjESOtLtD8rn4hqqb/gfYf5C6rI7kqCdt7PsqbKLd5ELDFN+cDmR PwGhEUyzKGAo55AVhFtuIL4ipPEDlQkUXbEsroMwjwDGs31pEG45LWZr/8y77/ZoLPZS 0g1UoGkQK449P+0DMqaQl1Di+w18rrYznUDGwJxZnHUP/M/3k0gKOPwRxOnATWaAQnAR +K5k36P23Apuze2Keo9nL+ggIPvy3AXcf/O26rYxMoonYPxNorrUWu9gtFkzEO8PFMpv GVkA== 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=02FqIBMeYxXeJpNx5OEkeKsSfmSX594FWZ91a1rffnA=; b=I0pSo/vsZYCP2NKv3GBR9/aleVY0SjwkHwoZyTtN/we5iSYT1m+CtI0RilAzT6kYBU IMe3Cf65boAs8t4smNSOXLdU7oOqwnzJtHVv0trK2RVqgmmy2TStyH5jeXWRzIU0DL/m hoRDQqOB4zQP5wFlkjcCttqJBFPSUqiyGcM4MLzo/Uhlig+fIrJZE42zzI9XWrO9PVXl 4WF909xd/RP1YBRxjU0/xn06vxS9dcHaqA6twSvhn1iHUb8qz7EfbHLe16Njt8JGX6xw 5Zc+iszs/CjMDPNdtTsDGKBAcboVP56v8iUFQqnwdEjbBXST/sX0tiUE5bcXXQeU1P1R DGxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Ecl9wYVl; 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 h9-20020a170902748900b0017f580f646fsi6244788pll.304.2022.11.26.05.35.25; Sat, 26 Nov 2022 05:35:38 -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=Ecl9wYVl; 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 S229640AbiKZNey (ORCPT + 99 others); Sat, 26 Nov 2022 08:34:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbiKZNen (ORCPT ); Sat, 26 Nov 2022 08:34:43 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C1C21DDD9 for ; Sat, 26 Nov 2022 05:34:37 -0800 (PST) Date: Sat, 26 Nov 2022 13:34:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669469676; 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=02FqIBMeYxXeJpNx5OEkeKsSfmSX594FWZ91a1rffnA=; b=Ecl9wYVl7VEfdIH5cr5rtlmXz4OTj6+IV8KRphyGG6yzTs2E4+dAEexDQXRYe7CN69lnoY IPkVvHE2Uxk9EmgQP9PrQ14Ep8pmezkKc0KvvnbSLm/plbBCutnWw75I5cKA2s6QL1iwGS wQ9JatblzNQm0sgzR+pfLerUCEG4NAL3YN7xg49exyHpbRUgsCPTXB/2KzVZeE80qOcg/C X9W3yK7uo5dwVtxzc3/xh1PiV6/AEWM5YZ34enKgFnYUNSVYzcu8yxg8GvJ3adb+vUs62N RmmHgfEKFaERFjBis2HbT0gG32sktWqTMKCpTmKj+TCcp/hTQcBnCiVZZ9m9NA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669469676; 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=02FqIBMeYxXeJpNx5OEkeKsSfmSX594FWZ91a1rffnA=; b=N3+qdrIBsZgRkWrO/9VsKeGgM8eP6PesQ8l7/hLPx6TVzgO69ox57Q9CddjNoR0QZQDNzG 2SydaB4L4G5B5HAw== From: "irqchip-bot for Konrad Dybcio" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/apple-aic: Mark aic_info structs __initconst Cc: Konrad Dybcio , Marc Zyngier , Eric Curtin , tglx@linutronix.de In-Reply-To: <20221021235523.76585-1-konrad.dybcio@somainline.org> References: <20221021235523.76585-1-konrad.dybcio@somainline.org> MIME-Version: 1.0 Message-ID: <166946967479.4906.12648220580394295984.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?1747343836303091426?= X-GMAIL-MSGID: =?utf-8?q?1750565900750954330?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: d46b99656a16c450681985661a249dbb18e55cc4 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/d46b99656a16c450681985661a249dbb18e55cc4 Author: Konrad Dybcio AuthorDate: Sat, 22 Oct 2022 01:55:23 +02:00 Committer: Marc Zyngier CommitterDate: Sat, 26 Nov 2022 13:29:42 irqchip/apple-aic: Mark aic_info structs __initconst These structs hold information used only at init time that never gets modified, hence mark them __initconst. Signed-off-by: Konrad Dybcio Suggested-by: Marc Zyngier Reviewed-by: Eric Curtin Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20221021235523.76585-1-konrad.dybcio@somainline.org --- drivers/irqchip/irq-apple-aic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-apple-aic.c b/drivers/irqchip/irq-apple-aic.c index 1c2813a..ae3437f 100644 --- a/drivers/irqchip/irq-apple-aic.c +++ b/drivers/irqchip/irq-apple-aic.c @@ -248,14 +248,14 @@ struct aic_info { bool fast_ipi; }; -static const struct aic_info aic1_info = { +static const struct aic_info aic1_info __initconst = { .version = 1, .event = AIC_EVENT, .target_cpu = AIC_TARGET_CPU, }; -static const struct aic_info aic1_fipi_info = { +static const struct aic_info aic1_fipi_info __initconst = { .version = 1, .event = AIC_EVENT, @@ -264,7 +264,7 @@ static const struct aic_info aic1_fipi_info = { .fast_ipi = true, }; -static const struct aic_info aic2_info = { +static const struct aic_info aic2_info __initconst = { .version = 2, .irq_cfg = AIC2_IRQ_CFG,