From patchwork Fri Mar 10 20:54:51 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: 67702 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1104004wrd; Fri, 10 Mar 2023 13:17:49 -0800 (PST) X-Google-Smtp-Source: AK7set9kt1lh0NIm7ClcJtGMIR9fKI6QErQeFK0K3Ro+uIlGKIzPiMErzWYu6f32dMI7D7fDi7Gx X-Received: by 2002:a17:902:d483:b0:19a:95ab:6b38 with SMTP id c3-20020a170902d48300b0019a95ab6b38mr33936373plg.1.1678483069174; Fri, 10 Mar 2023 13:17:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678483069; cv=none; d=google.com; s=arc-20160816; b=dViS7xgO2JrNHKk0WHobg0YfkGQg9NrdRzZPySmtXy59hoQpK1ZmYeNos1xjc2TDsq RXKqy7bNXDSY1KwJ06E5Ywaq/r7IjZvbmXkDM68x2oB8zTRtkGIVx64P64kcEfgAPBo3 n0mNvRtE6I16TtGwrK9VaciDqL4cHQbrdmvt2MseAakyAT1mCDANZViunrst1ZuOLRVI oxN+wJdPZDTbCLFM/RLHSyMTzoOce1gv415ls2FSfwWhf58J7lKkt2Pzn371oAFUUcI1 SnBgG5evA1IJc88qZ2AIyH2Cqb+HIQaGQkqfwzV7ss2tWCw+2P0QW20AJFiOtMVmVpUV pg2A== 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=BtNO/SnUwPlmUHg4OZi5oDXWa3F6uevf/hWUwAGR5pg=; b=T6QBr7MfmVib316ljzkdWYG9xPIDHbd1EIQyWJ7sJNYJeF263yGsK9QwehoSkvrJC1 SMEoQ8R5jwl/dyJnNbtRMZa9judKnKi9n7T3neZ92LiytDEf/C0z8k9CV/YOzmxcen9i j2NMXMZ3ST3Oz2b/yOFI2uMhxdZWn3j0WYxlbagX3mAGI/w5XwiNwfJ3oWqCLIAJ9ZEB s+xzsWLevvecuazP7O2fTYGgnAJDerE7uAI6SH/LO33URL/TWl8L4yZJqFYTyE8B6YL6 Wn43CGONgIc53flcKVdoA+M2Db6lrzZ6fhyg/0v611IwCHr/Olyfot8D9EXNIqQaNqIa RHnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=XdoKZRqW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=iDW8WA8P; 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 y17-20020a170902b49100b0019ad1db1562si716030plr.548.2023.03.10.13.17.29; Fri, 10 Mar 2023 13:17:49 -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=XdoKZRqW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=iDW8WA8P; 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 S231624AbjCJUzm (ORCPT + 99 others); Fri, 10 Mar 2023 15:55:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231534AbjCJUyy (ORCPT ); Fri, 10 Mar 2023 15:54:54 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AF2613553A; Fri, 10 Mar 2023 12:54:53 -0800 (PST) Date: Fri, 10 Mar 2023 20:54:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1678481691; 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=BtNO/SnUwPlmUHg4OZi5oDXWa3F6uevf/hWUwAGR5pg=; b=XdoKZRqWWuVNqSJTOY/Oq+VJK6U+uzyd4sfadVTZVrnWKU9iN315ZD469mj2S1abo6d1Nz r1F045XvMrZ/NdLZlqYhenxfC+T/nDAqEZ1V/ihY6qo+lamyf4BcQ6L5FssnLTlffPG+B2 5mSf00U4wt1sUut4SOPH3v6HxMSKMYD4daOefsg6flinKZcqyJZm3IpCa7Sc+3s4uoEile FrGoULEy9TAmlYiDNNeF0YmEJumZlQejE0b/jjeEtPh0KkMb7b2VO+XdlPVPL0kBfWHSFY 4Rzcs9za2QAtAIBcfWuHWrCgX/L4A4hVkgFynb7z20qwYJ8rDlhx03TnB4pSeQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678481691; 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=BtNO/SnUwPlmUHg4OZi5oDXWa3F6uevf/hWUwAGR5pg=; b=iDW8WA8PuLA6OLSB86td08QdqvEATIf0B3JSXRZFBJeHtAjIoqBx850pPeGTqIlWGYd+nP QdKGb8HDyXl8JIAQ== 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] powerpc/cpu: Mark start_secondary_resume() __noreturn Cc: Michael Ellerman , Christophe Leroy , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <167848169152.5837.1388017286007124939.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?1757789381806180289?= X-GMAIL-MSGID: =?utf-8?q?1760017062958181823?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: 5e00d69cdef4cd1c737e6286a39f83ce20a91034 Gitweb: https://git.kernel.org/tip/5e00d69cdef4cd1c737e6286a39f83ce20a91034 Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:46 -08:00 Committer: Josh Poimboeuf CommitterDate: Wed, 08 Mar 2023 08:44:24 -08:00 powerpc/cpu: Mark start_secondary_resume() __noreturn start_secondary_resume() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Acked-by: Michael Ellerman (powerpc) Reviewed-by: Christophe Leroy Link: https://lore.kernel.org/r/b6b2141f832d8cd8ade65f190d04b011cda5f9bb.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/powerpc/include/asm/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h index 6c6cb53..aaaa576 100644 --- a/arch/powerpc/include/asm/smp.h +++ b/arch/powerpc/include/asm/smp.h @@ -67,7 +67,7 @@ void start_secondary(void *unused); extern int smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us); extern int smp_send_safe_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us); extern void smp_send_debugger_break(void); -extern void start_secondary_resume(void); +extern void __noreturn start_secondary_resume(void); extern void smp_generic_give_timebase(void); extern void smp_generic_take_timebase(void);