Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp510766lqh; Sat, 4 May 2024 09:48:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzyVKNRjbM6F2+a/BRn5xML6PML1oaiMEbls0sbpV3Aak/5Dni3+KZQO6pD4vQ/lLyd6HShK7EOUyZiXZ3wY+fDSXBtlfd/HBgLOqxxw== X-Google-Smtp-Source: AGHT+IEUfCCz4E3Kh12VXea7Y0Wx7u5BtkT0VPeMUCEICf/ai+3BRo/dVbUM2Y+gi9AMRL94G2tU X-Received: by 2002:a17:902:bb95:b0:1e2:688e:597d with SMTP id m21-20020a170902bb9500b001e2688e597dmr5955355pls.21.1714841314954; Sat, 04 May 2024 09:48:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714841314; cv=pass; d=google.com; s=arc-20160816; b=JJbIHba3S7hza+kwacCL9Twl4X+NqVdNMrV9xp+no5D1k3myh3ViDzPeOcNqG+xrTG /jAcHd6AvNm1WA4lBczVA/m/cbslpBTVApaRJIVnl/H/aX+jAuoGdzUl8KHmyXnphmTV qG1G+LJaABnLt1gGXGPATLEbszK+3p5gJVFdlCEjqy273iM8ysNDH8FPlq/sbG3FyT1X kH347XWDITosHER/1r74wU7szb4wjZoWN7cTK5HpqS2Vt5YDkYaEW5IgBOsKkrhppnbr FZkaJ66JWZwvbOn+hmz5grKs06JC/hh621SfFK2pjtbBJzsoc+zwozGVn7OaNJSvP7IN /Bqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=D7cF/t0QtO2vIXAp7YCzZvvwLSEKbzPO2Ivd0uyNIsg=; fh=4BDVTfJbo8P5OG61S7WB6tlTrLd9jpKzYS6+JDGpTTw=; b=mAI/ey1lc+JOLhsXin/D1Tg+LhXvQ4yz5vV4bQDmzyRbtdsOLJEFQkSqRGJOduo6wF ObFMvadlc+mtvS/3KTvraqKPPN8iI8mMTDZwXGGX14HSclDUNWYkpUd4bBPzqojook3V 3zCmQYvgQuhy7xgZX82VIYOq/LowWSroDdf8CovDNTMuW0I7eWk6r1RpyBMRajyQcyap dgNIsOrRvUxFJ2mfuIUusaK4MGnr/j5uKrCzF7Y2/0RNrlWiLiYDTCTqLthmxeFucnt2 RcGifiFfVslMQKVkqpU3HV1jESlmIrQzlWM06wzyC/m9fkrX5LCWRD7y88jsALAkgYFE 021w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qQ0ytSik; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h7-20020a17090aa88700b002b28a92590asi1281459pjq.99.2024.05.04.09.48.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 09:48:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qQ0ytSik; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 923482813E5 for ; Sat, 4 May 2024 16:48:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 505865A11D; Sat, 4 May 2024 16:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qQ0ytSik" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77A2A1BF3F for ; Sat, 4 May 2024 16:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714841300; cv=none; b=HAYQByS+E7jxWk7nig+uzsnGkk4aUb8yoOo/WT7e0CP0MxB+Vr1Kf9mRaCzFqGFylKRRGAa48y2ckkE1YGPiCpO6oGK2Ck/KJCCoO70ppZQT2McZhXEfU56/mKd5zrzOeBq2d+2eZFSIENacPrZP5eK0c/QKPUuLGwxoeEnMdUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714841300; c=relaxed/simple; bh=hzmuApgUeE9+Dxlg8pNgJTMxe+ZT+sG3KcYHyhAHSWY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iiy9KnJGY9QYPNeqDfZCOExR7UHCb1FuNK4DVLB/o7czVhR1uflQWV+Eb8js++N09zMuKOXBaf7vZUhsMKwtTXyyvUWadqrrOHHYTNQhw/jTaT3K8BlEBewMynRYXZEOz/xopLRe9sAMiPOjKlFyKVYCSFjDoNnYmSzm94NBI/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qQ0ytSik; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F4214C072AA; Sat, 4 May 2024 16:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714841300; bh=hzmuApgUeE9+Dxlg8pNgJTMxe+ZT+sG3KcYHyhAHSWY=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=qQ0ytSik8cZamdTyhd2rYvF/01WFzKWLgMq3mtTlNU4FAa3IpbyoXmm9xMiHf1ctq GFXXlrgE0jiz842g+zyYbvkv4sQzJRGz0kfShLc9a1Isn9BLCiLGhezm5wT9UFub7K bIMSPrxwqM3O4KV5URi5ZKgFEFK+3SPcJsR+lG6SP19Wsp39Ewf8baddE/+ke33kRV EObMj1fy+4uv8CGRJeMIkcE6dG7RbCllnN1ajVecjHOT/nqZYMSXLFah2VIMjNpQhP 52ToIlvI1dH/lo3UwCoVpSojr2YL2Qf4h8BT1pBvOWWhlRiHuXjOZwvC1Q0WjZhYyh XWXmVMFLzIk+Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 994BDCE0C56; Sat, 4 May 2024 09:48:19 -0700 (PDT) Date: Sat, 4 May 2024 09:48:19 -0700 From: "Paul E. McKenney" To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Daniel Sneddon , Pawan Gupta , Thomas Gleixner , Alexandre Chartre , Konrad Rzeszutek Wilk , Peter Zijlstra , Greg Kroah-Hartman , Sean Christopherson , Andrew Cooper , Dave Hansen , Nikolay Borisov , KP Singh , Waiman Long , Borislav Petkov , Ingo Molnar Subject: Re: [PATCH v4 3/5] x86/syscall: Mark exit[_group] syscall handlers __noreturn Message-ID: <8c2d9a20-d3ff-4cdb-946a-2651ee37e272@paulmck-laptop> Reply-To: paulmck@kernel.org References: <3b99cb2919c88ab3d353337423b2f0f1b9173f0a.1713559768.git.jpoimboe@kernel.org> <0c410ba5-0e42-43b6-80b8-a69c5419a97d@paulmck-laptop> <20240421052540.w7gtahoko2qerhqq@treble> <20240503195653.5wkdfwno7nybepqc@treble> <20240503204417.2kxp2i3xjdmtapxq@treble> <20240503234834.y3gfp5qthporsx7m@treble> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240503234834.y3gfp5qthporsx7m@treble> On Fri, May 03, 2024 at 04:48:34PM -0700, Josh Poimboeuf wrote: > On Fri, May 03, 2024 at 04:33:00PM -0700, Paul E. McKenney wrote: > > Does arch/x86/entry/syscall_32.c need the following additional patch? > > > > A quick smoke test passes, but perhaps I am just getting lucky... > > > > Thanx, Paul > > > > ------------------------------------------------------------------------ > > > > diff --git a/arch/x86/entry/syscall_32.c b/arch/x86/entry/syscall_32.c > > index aab31760b4e3e..d9ae910ea6f33 100644 > > --- a/arch/x86/entry/syscall_32.c > > +++ b/arch/x86/entry/syscall_32.c > > @@ -14,9 +14,13 @@ > > #endif > > > > #define __SYSCALL(nr, sym) extern long __ia32_##sym(const struct pt_regs *); > > +#define __SYSCALL_NORETURN(nr, sym) extern long __noreturn __ia32_##sym(const struct pt_regs *); > > #include > > #undef __SYSCALL > > > > +#undef __SYSCALL_NORETURN > > +#define __SYSCALL_NORETURN __SYSCALL > > + > > #define __SYSCALL(nr, sym) __ia32_##sym, > > const sys_call_ptr_t ia32_sys_call_table[] = { > > #include > > Ah, yeah, that looks right. And the overnight testing went well, so... For your three patches and this one: Tested-by: Paul E. McKenney