Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2964362rwb; Mon, 16 Jan 2023 01:41:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXufW4QJ53KqdUO+9+51g3mi+USf0m2K+jlj6Swh/dVC/2tEzcDumU7jPhR8DFArtC5C+PZZ X-Received: by 2002:a17:902:a587:b0:194:8f3c:6fc6 with SMTP id az7-20020a170902a58700b001948f3c6fc6mr4025897plb.58.1673862079052; Mon, 16 Jan 2023 01:41:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673862079; cv=none; d=google.com; s=arc-20160816; b=kYJSLG3B/JQR+5QHbs3kswkNc4YMQ95vWKU0y179nF7liCFeFjkkyqlAmm1ExG/to6 sXBvP8ReQjDsoMEV9lBfY4pxWK7yVwTem0PtMfrGeTFOdQ2YWKqG99CCkEA1g69AyPvx ip9HiWF2EN2BUuTjpbt+6AQKxkaPy22WNhcnqK78Xl174GTAXzA5S3mpNisE2YhPtr8X zkiUPmJaeUQb0fpazvanifhOcsv2M3bHwNnYpkMnwgRxe9Xa4VGs0BUc7a5erqTbenHO /NYrf7p8smguXF7kxlAo24uOZFP5yECHWikHLRnKJFqj+OlNDpyg1fKKeAdTubN3Ox8v fhHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Kwtryj1HCBFMowhvUsB8ib2dwQrySNMnhO0NS2CkGbQ=; b=gYc6WBMdEVHrKmwVy7iE27dUKuJJzx79ZZuUtGBG4r1IMLk3WxhGTCeDzGlvuJJBsi dFhf4we/n03xo4+kIg8sL7ne7MjXStcDXRAjSDP7f5M4Sf101V+ViFkxzj2DztmDVclk eDyBFWZT25Q4fyDsBqlemzOwJaQtWcc7148VmsEN0FOuhfYDgP0kkr64Nfc2S6XetL2p yEiSd4yEFB4Ctch6eXH5FJ4b383vPk7HSaEb8UHliOxftVeqszuGiqLcL2PriMva6eja DEdkdDQBkzoPp4ebKojmCHJml5ae2PiZreOObQmfSTC2jAaWT4oZBCBuO6TACSFoJCCf qOXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=fL34W63f; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a170902e48100b00194706cd066si9033927ple.121.2023.01.16.01.41.13; Mon, 16 Jan 2023 01:41:19 -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=@infradead.org header.s=desiato.20200630 header.b=fL34W63f; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231886AbjAPJOc (ORCPT + 51 others); Mon, 16 Jan 2023 04:14:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232758AbjAPJN4 (ORCPT ); Mon, 16 Jan 2023 04:13:56 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7181913506 for ; Mon, 16 Jan 2023 01:13:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Kwtryj1HCBFMowhvUsB8ib2dwQrySNMnhO0NS2CkGbQ=; b=fL34W63fUC/XvD2Z3ptNvw8G8a FTOVlIkTnPr/ESjmavB79YyPUbKJbBW9CY2+qWn8xZCQkSzZZrehxK37u2dDt4spOuPEstoggX/+o rbrBLVnCuZQio8BsPRDwYPLHNonYLHwwrDmeFDabsXzr5foisEmnDcbybjJeWMHPPR7Z9DeBOlKwt S1FDmqLc35Kppc7hQWzuT/E2K7rjYlSDiCSiVC7/h4TUkCslR/zdAl7jvV88gStKgxs6Fn8i3+/48 soi/xtuHAscLZbFSPhPNUACSXsGgy/slwncXr3F2CiQRIPWmNX3YBGAIL5DAMUhULfAHz6LQJ5366 BhK/mVfw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pHLXi-005Xef-1V; Mon, 16 Jan 2023 09:12:38 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 7754A30030F; Mon, 16 Jan 2023 10:12:44 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C608420A006E1; Mon, 16 Jan 2023 10:12:44 +0100 (CET) Date: Mon, 16 Jan 2023 10:12:44 +0100 From: Peter Zijlstra To: Juergen Gross Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Boris Ostrovsky , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , xen-devel@lists.xenproject.org, Josh Poimboeuf Subject: Re: [PATCH 0/2] x86/xen: don't return from xen_pv_play_dead() Message-ID: References: <20221125063248.30256-1-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221125063248.30256-1-jgross@suse.com> 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_NONE 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 On Fri, Nov 25, 2022 at 07:32:46AM +0100, Juergen Gross wrote: > All play_dead() functions but xen_pv_play_dead() don't return to the > caller. > > Adapt xen_pv_play_dead() to behave like the other play_dead() variants. > > Juergen Gross (2): > x86/xen: don't let xen_pv_play_dead() return > x86/xen: mark xen_pv_play_dead() as __noreturn > > arch/x86/xen/smp.h | 2 ++ > arch/x86/xen/smp_pv.c | 17 ++++------------- > arch/x86/xen/xen-head.S | 7 +++++++ > tools/objtool/check.c | 1 + > 4 files changed, 14 insertions(+), 13 deletions(-) Acked-by: Peter Zijlstra (Intel)