From patchwork Fri Mar 10 20:54:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 67696 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1102183wrd; Fri, 10 Mar 2023 13:13:21 -0800 (PST) X-Google-Smtp-Source: AK7set9yd2oM0HxnsUxsdd7KWvdpvb9BPb7UqaLhrLxnvIj2FbtA4FixatlL1wZjF8I03xFkt3iP X-Received: by 2002:a17:903:247:b0:19c:f232:4604 with SMTP id j7-20020a170903024700b0019cf2324604mr32711433plh.10.1678482801464; Fri, 10 Mar 2023 13:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678482801; cv=none; d=google.com; s=arc-20160816; b=liVaJZR5WQEHp/NLdjY+tHb1ka3rjUuwt4M2bDdddjFQdRXyFm8wz/WVdsntDsVc3a ddc9tbdUUr7/ADpCnOuTujlEHkqfSkA6MS37zG1MTikyJgZeaX2oaw+0Ez27YkfwUXb+ paYZsWC3rWuARW7zpDNUR4VW6YX2fO64AaX29pfkAR3/PqME2c69+aCOGPcc+CxgxZgC VeAip+VCQ+Fnlts9U6vXhdPDuXREaU1JV5Mqx6RxLiiYcdzUrWdsuMfZvy+DD8CyuseR OrRBYFWhEzT12CbG8rPAj+3zHxNxVVMAcattVL/p3MbYXcZhseffG8297gX8FNqyVmZN 5cYA== 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=hpjvksheAlrH1ake/5cWIudL5JtDU23VcsslNVfU99U=; b=VZAXoRx/2UJbqOO2u9PcqUNU8m3tifWSdIcrZ8Pft0IOcYUyTgBqB91OPyrapmcRZ3 gm3ozss3tvEPeCMBjXyG6z5MzRPPEC0rnjYnVVJalS3fXbT7jujh3aXjLVQ05fMjXg94 476BnMELXt4LkQvVxTo7yYKFeInuYz7BFgUH8xZhNnGiflUelVIqByfCoQTbZylz1/Ip FmjQQhc/FztU2y1M60/TA0V8FFwJdOpFk/HeeUygAttPPcsDjI9xnLuml9bGfpv+tzoz eAwc+CQiG6KHg8Cx70Y7uBnmN5H95xLCAuuIb0Po+fffzwvDynMtei12uaIurZf75KSg 5J6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=gwcTdlG9; 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 lc3-20020a170902fa8300b0019d20f88171si790490plb.54.2023.03.10.13.12.46; Fri, 10 Mar 2023 13:13:21 -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=gwcTdlG9; 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 S231663AbjCJUzY (ORCPT + 99 others); Fri, 10 Mar 2023 15:55:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231440AbjCJUyy (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 8BC1B12049D; Fri, 10 Mar 2023 12:54:52 -0800 (PST) Date: Fri, 10 Mar 2023 20:54:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1678481690; 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=hpjvksheAlrH1ake/5cWIudL5JtDU23VcsslNVfU99U=; b=gwcTdlG9Dcvb/H641BR5ANu+POza/mhUIOEWXQBJD7xchKu7LH72aNu9j2VuasdegiqA70 w6VBhwax9L076/UFGOjzz44ceVZ99S8ZkCuaLcswfERcdpf30lIy9EOzBDBufZ5O9V0Dbx wFuYbid+H9Qsek/Phg7e5IWd7rHm+jlxfu74VIx4pG4W8NK5L4K9Eaq+VzOka8zNAV3/zx 6FVZI4pUMUSkuC9htxd0q8YTQwqclVzUU9fiudgd0PkUX8tYPYUmO5KLw+SuxN9DfZOboD b036gZqiecvEQgtlXd0tBBLdTte3aYF4icuMQBFDs64eRn6a0yZSrseFloSHvw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678481690; 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=hpjvksheAlrH1ake/5cWIudL5JtDU23VcsslNVfU99U=; b=njWkQCyv7+3grRLSvoiRhzSDNovb2Sq72FDIsX+Gtf+aGbZQkqjKCN5rCUoZWA45tQJZuY TG6VQsjLxF6VICAA== 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] sparc/cpu: Mark cpu_play_dead() __noreturn Cc: philmd@linaro.org, Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <847fdb53cc7124bb7c94e3e104e443a29be85184.1676358308.git.jpoimboe@kernel.org> References: <847fdb53cc7124bb7c94e3e104e443a29be85184.1676358308.git.jpoimboe@kernel.org> MIME-Version: 1.0 Message-ID: <167848168986.5837.529760520352705249.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?1757789447197750023?= X-GMAIL-MSGID: =?utf-8?q?1760016781794197388?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: b9952d5009440b01dedd793a57abbe6cfe10f995 Gitweb: https://git.kernel.org/tip/b9952d5009440b01dedd793a57abbe6cfe10f995 Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:50 -08:00 Committer: Josh Poimboeuf CommitterDate: Wed, 08 Mar 2023 08:44:25 -08:00 sparc/cpu: Mark cpu_play_dead() __noreturn cpu_play_dead() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Reviewed-by: Philippe Mathieu-Daudé Link: https://lore.kernel.org/r/847fdb53cc7124bb7c94e3e104e443a29be85184.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/sparc/include/asm/smp_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/include/asm/smp_64.h b/arch/sparc/include/asm/smp_64.h index e75783b..505b670 100644 --- a/arch/sparc/include/asm/smp_64.h +++ b/arch/sparc/include/asm/smp_64.h @@ -49,7 +49,7 @@ int hard_smp_processor_id(void); void smp_fill_in_cpu_possible_map(void); void smp_fill_in_sib_core_maps(void); -void cpu_play_dead(void); +void __noreturn cpu_play_dead(void); void smp_fetch_global_regs(void); void smp_fetch_global_pmu(void);