From: Chen Jun <chenjun102@huawei.com> To: <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org> Cc: <catalin.marinas@arm.com>, <will@kernel.org>, <lorenzo.pieralisi@arm.com>, <rui.xiang@huawei.com>, <guohanjun@huawei.com>, <houtao1@huawei.com> Subject: [PATCH] arm64: kernel: Make IPI_WAKEUP under control of CONFIG_ARM64_ACPI_PARKING_PROTOCOL Date: Tue, 19 Jan 2021 14:06:09 +0000 [thread overview] Message-ID: <20210119140609.106420-1-chenjun102@huawei.com> (raw) since commit 5e89c55e4ed81d7abb1ce8828db35fa389dc0e90 ("arm64: kernel: implement ACPI parking protocol") On arm64, IPI 6 will be wasted without setting CONFIG_ARM64_ACPI_PARKING_PROTOCOL. Signed-off-by: Chen Jun <chenjun102@huawei.com> --- arch/arm64/kernel/smp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index ad00f99ee9b0..8b494ad1c61e 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -73,7 +73,9 @@ enum ipi_msg_type { IPI_CPU_CRASH_STOP, IPI_TIMER, IPI_IRQ_WORK, +#ifdef CONFIG_ARM64_ACPI_PARKING_PROTOCOL IPI_WAKEUP, +#endif NR_IPI }; @@ -795,7 +797,9 @@ static const char *ipi_types[NR_IPI] __tracepoint_string = { [IPI_CPU_CRASH_STOP] = "CPU stop (for crash dump) interrupts", [IPI_TIMER] = "Timer broadcast interrupts", [IPI_IRQ_WORK] = "IRQ work interrupts", +#ifdef CONFIG_ARM64_ACPI_PARKING_PROTOCOL [IPI_WAKEUP] = "CPU wake-up interrupts", +#endif }; static void smp_cross_call(const struct cpumask *target, unsigned int ipinr); -- 2.25.0
WARNING: multiple messages have this Message-ID (diff)
From: Chen Jun <chenjun102@huawei.com> To: <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org> Cc: lorenzo.pieralisi@arm.com, catalin.marinas@arm.com, guohanjun@huawei.com, rui.xiang@huawei.com, houtao1@huawei.com, will@kernel.org Subject: [PATCH] arm64: kernel: Make IPI_WAKEUP under control of CONFIG_ARM64_ACPI_PARKING_PROTOCOL Date: Tue, 19 Jan 2021 14:06:09 +0000 [thread overview] Message-ID: <20210119140609.106420-1-chenjun102@huawei.com> (raw) since commit 5e89c55e4ed81d7abb1ce8828db35fa389dc0e90 ("arm64: kernel: implement ACPI parking protocol") On arm64, IPI 6 will be wasted without setting CONFIG_ARM64_ACPI_PARKING_PROTOCOL. Signed-off-by: Chen Jun <chenjun102@huawei.com> --- arch/arm64/kernel/smp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index ad00f99ee9b0..8b494ad1c61e 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -73,7 +73,9 @@ enum ipi_msg_type { IPI_CPU_CRASH_STOP, IPI_TIMER, IPI_IRQ_WORK, +#ifdef CONFIG_ARM64_ACPI_PARKING_PROTOCOL IPI_WAKEUP, +#endif NR_IPI }; @@ -795,7 +797,9 @@ static const char *ipi_types[NR_IPI] __tracepoint_string = { [IPI_CPU_CRASH_STOP] = "CPU stop (for crash dump) interrupts", [IPI_TIMER] = "Timer broadcast interrupts", [IPI_IRQ_WORK] = "IRQ work interrupts", +#ifdef CONFIG_ARM64_ACPI_PARKING_PROTOCOL [IPI_WAKEUP] = "CPU wake-up interrupts", +#endif }; static void smp_cross_call(const struct cpumask *target, unsigned int ipinr); -- 2.25.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-01-19 22:52 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-19 14:06 Chen Jun [this message] 2021-01-19 14:06 ` [PATCH] arm64: kernel: Make IPI_WAKEUP under control of CONFIG_ARM64_ACPI_PARKING_PROTOCOL Chen Jun 2021-01-19 19:12 ` Sudeep Holla 2021-01-19 19:12 ` Sudeep Holla
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210119140609.106420-1-chenjun102@huawei.com \ --to=chenjun102@huawei.com \ --cc=catalin.marinas@arm.com \ --cc=guohanjun@huawei.com \ --cc=houtao1@huawei.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lorenzo.pieralisi@arm.com \ --cc=rui.xiang@huawei.com \ --cc=will@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.