From patchwork Fri Mar 10 20:54:48 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: 67697 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1102562wrd; Fri, 10 Mar 2023 13:14:15 -0800 (PST) X-Google-Smtp-Source: AK7set+xzz8pfBWPHdnWGxor6TzYunw5PE6EeNgahMqpjLOyJmdNkX6cWKCjxCsBmQtPqB5pYnIE X-Received: by 2002:a05:6a21:6d9a:b0:be:a9c7:5d12 with SMTP id wl26-20020a056a216d9a00b000bea9c75d12mr29983799pzb.18.1678482855390; Fri, 10 Mar 2023 13:14:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678482855; cv=none; d=google.com; s=arc-20160816; b=QA5q/B1uLep3ujAbcIIssbDlZnKkfoQdPCGdxaZll8p2rZVIUdxqIFPqGPIikQ5+Ho TrobY9N0vPTbM5DcjXVTbxHEc3hHUo6xVo/JiP32e3N5CfoOEJy4kMc5n1BS02zrUFf3 4OYzPpMQ1OB4+r7YjwOXtFCYnovmTNs6s/PmhmTRZmjX0wecpbNtujSm6g4k1k+x3S4J HeXknzxYrqnr+SR2YMRyCwpO6muaNpluZyTdhCLLpvjpJQADR4BgkHo7mMJBKav9cTTe OUQwbhUin5KE9GV9krsUaSLoRxHEsCFeUM6TpGue14NUtBWHqsRG/Yil/xSj3AGLdwDS q53A== 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=MCbb+kOqbMqyGray73WFbuU7v8aU1+sgCMEJ2CKIIxk=; b=b0gdSBh0zWGbBycJCbKRA8HjIuvOwjqQyMXasyDuHd6XwqnA0dnRof9WX6wmaLzACS 2jU1LLpflEHWHomy3W0FYPi+1YtPRm/m/RxPkM12vERCm0NcJq4zYUziLiJTRngWCYXK aol5GoUTsAcxG/s9qV98ZhTO+aEl/gUlrizAgON0LdB1KJzGxnp08Y8R0UT4alY4vviX jf3i4rp+TYB4OjyFgm1oqlChX8ZrKrBtlxqP/NbjborRBIxIwFOXm0avIUlmpdjT7cEK J5yTRf20qD7vE8LiojLd+utZdyzOgczHXS/cuxILfVN9ISMxtKNAlJxkreED5Sfwddt7 RllA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PgGfqIrW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="S5b/5YxL"; 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 s15-20020a63524f000000b004ffc2ec1b55si679677pgl.335.2023.03.10.13.13.32; Fri, 10 Mar 2023 13:14:15 -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=PgGfqIrW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="S5b/5YxL"; 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 S231616AbjCJUzO (ORCPT + 99 others); Fri, 10 Mar 2023 15:55:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231282AbjCJUyw (ORCPT ); Fri, 10 Mar 2023 15:54:52 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2AC812049D; Fri, 10 Mar 2023 12:54:49 -0800 (PST) Date: Fri, 10 Mar 2023 20:54:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1678481688; 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=MCbb+kOqbMqyGray73WFbuU7v8aU1+sgCMEJ2CKIIxk=; b=PgGfqIrW0CRurY5CZqM8fMurJiQA6ZE3sh5WPgvuyWsKdH/xmyJnSDgMN470XleS2ArphE D+eF2U4DkPtrQWUUdCi32+oX1074eAX2q3lLgBZuDPOpiADl+v69wLTQKosDLZAsIePkcP q+4QnGXDz2oxNLRFBlE3daSCln5ls2guJ2J+lNozRCT6vYjqyhqMYFe7YJK8cnrlK6dr4v Q9lLsbZv0P4WU1s9+MZNvzHt4iGcJu6cwps6YkCbOf5+Vk3VgYEL/2IjD3q4g7vI75hgC5 sp3W9tpvPVLzqFWoITOsoGl9I6DBzHKkgykm3u9+2A7cwMUxyFTIIGvUfjV9NA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678481688; 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=MCbb+kOqbMqyGray73WFbuU7v8aU1+sgCMEJ2CKIIxk=; b=S5b/5YxLElXc5WxATDwH/5Yeoi7H77OanU2ykRZKQY7HOjHCp0lCpbMuvBB3pdWRBofUkY 2fGugehvYyCV4aBA== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] xtensa/cpu: Mark cpu_die() __noreturn Cc: Max Filippov , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <167848168816.5837.16921898081010171701.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,URIBL_BLOCKED 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?1757789440742677352?= X-GMAIL-MSGID: =?utf-8?q?1760016838455266184?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: 69dee6f0338a20c76a7bc61c0a6b59f25e1b25c8 Gitweb: https://git.kernel.org/tip/69dee6f0338a20c76a7bc61c0a6b59f25e1b25c8 Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:54 -08:00 Committer: Josh Poimboeuf CommitterDate: Wed, 08 Mar 2023 08:44:27 -08:00 xtensa/cpu: Mark cpu_die() __noreturn cpu_die() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Acked-by: Max Filippov Link: https://lore.kernel.org/r/ad801544cab7c26a0f3bbf7cfefb67303f4cd866.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/xtensa/include/asm/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/xtensa/include/asm/smp.h b/arch/xtensa/include/asm/smp.h index 4e43f56..5dc5bf8 100644 --- a/arch/xtensa/include/asm/smp.h +++ b/arch/xtensa/include/asm/smp.h @@ -33,7 +33,7 @@ void show_ipi_list(struct seq_file *p, int prec); void __cpu_die(unsigned int cpu); int __cpu_disable(void); -void cpu_die(void); +void __noreturn cpu_die(void); void cpu_restart(void); #endif /* CONFIG_HOTPLUG_CPU */