Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp143264lqh; Fri, 3 May 2024 16:48:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzSaKvlYlMfeiS3b5wjSZun7HaHEmntv8TPdIg4kdBQM3QuPSMbsQ5WSj/cZWVr9wgQEPR108PQfdZUChYKObhQKlmx8zSeFZGrAI84A== X-Google-Smtp-Source: AGHT+IGeg2hrr91EeBG6HahTAI2M/BCJbSiEKf8PFu9PWQG7hS+jHUG8i4MQjix69KKxbY1U5LCo X-Received: by 2002:a05:620a:5649:b0:790:675b:8bcf with SMTP id vw9-20020a05620a564900b00790675b8bcfmr4196319qkn.31.1714780126034; Fri, 03 May 2024 16:48:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714780126; cv=pass; d=google.com; s=arc-20160816; b=pEe8aHosEZ5w0DXSU8vXdjWiNaXdsDRmvSF7VebRYb8JDYkuilD6y12H0Uv7/l2dko HOZ6jQaolElC2Y6MYDY5GmQyPP9Z3KMwJg4Withx4IXSbGp5oV0qa9GddqgZ7eZfbb7h uBFJSCTF4hBbl0wJMnEfDqXrA7EczkcXs9D0WmanRrw8fixcghc+wVjaGj34wmA7HyY5 LpY7QUdRy8IV2wX8zKsYjBpzdpwfGctT6/VcPp34gBZV++6DQbIXORoEsdxLjiowlXxS rQHYYwVH1hEX4gzgD8a/l68O80T77e+h8v7zIN6L8V9W4V9HqQml7/Ryy2qjg+xUT4t2 c7Cg== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=jC/Pyje3COh58Oqpmnewjlm2X6IzNw6oy2K0cRPqq7s=; fh=o4k4LdkjYcAMnfd471N3YPHkBtG+CzbMXbOD9bT5vkM=; b=Hjyc1zMf0IQX2gVztSBG4VAT0zIvsTNG4EbhxS7VI5kj1VFb/pV0PPW57RCYtMAGWw TYGBel1B3IKJF7JVo+EHR2fOcTNbYv86deP+Lc7Jv88eZ1QVk0LqwaVRWM5Xaf6oAsIx ++chpyzumDVV0oLIoyzS79MVVKgUbWJHUhgsB9iOu5LXGGWtL2Wfy4qqUwwiw5o9rZmS q27zzfbxeQuIPwFAI9m0KWXx7AgRlg7yZy95gPmn6PFgkvlIxPRCWaxB+EOVC2BW4U3W SLt6ERA97+tqsdHLqqCTRw58h48lUuucRd7k574Skz7eZooyEMSFIHHGZ6UMWHJlJlOs 3PfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Hi/ze38P"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id de42-20020a05620a372a00b00790a688077csi4783144qkb.234.2024.05.03.16.48.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 16:48:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Hi/ze38P"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168429-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AE7431C23265 for ; Fri, 3 May 2024 23:48:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8D1D84FAC; Fri, 3 May 2024 23:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hi/ze38P" 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 EE05984D30 for ; Fri, 3 May 2024 23:48:38 +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=1714780119; cv=none; b=oWE01+fG5drjxRaUX6vZc78LbgKk2eDpccPtXa6npClitVCisDlDc0SC3aAJbmc0i32gc0bHluyicYhBCROw7gq+q74sefclqI0XerXXhCOLhZgSWqAvmXbuShzU3m7pJRrVGZvAYdXIn27UKWo+b+v5A+aBEvXtrIWdmbXMECQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714780119; c=relaxed/simple; bh=MBVYVk8YRq3x5wnUxk1XWITNQn7czjHBfq7A9PEktHE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qCWYLdgkfTFSdcgQIVpzRxmz+1qpPt8+8+TeWbhDyjLe4wrPJQMyM7yR1CERzhKdVzwKKzlyY7JB+Em4aUVJvrJuEUT+0yoio1Rg6VZKr34t3JcVzJdRFobTQZ3+rXgcV6iAuJ32YC3MfeidGHtHZcTm5Yo7chxYNStjOr4pibc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hi/ze38P; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9500FC116B1; Fri, 3 May 2024 23:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714780118; bh=MBVYVk8YRq3x5wnUxk1XWITNQn7czjHBfq7A9PEktHE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hi/ze38P+azLP0viMTP2sQ8nr8jbTE4YvyapIPXzB1pFJPYib9L7zFZLLgg8qjkCM RHZN4L8MQ1LHNAV4RGJ2jL4ZFV2Hf6qkRkC+GCGVnu4H20Nk0IqYQXAoj1X0SFRe4i tLBfros+RknG4vvE9SYDxi2pfWx1SrNNzv8FFZE9M7NwfNJhIZBNkul0DlVryVv7bV k4xuv9Q74CeagysDX8AE8MtPAC/OiNRF7OPMj4HA/lgrhdYFbJfLd2n/FtZULHtY8a zEOcvVvjiWkcE7j4p+KweQXMoQvToIFPJOoQiSGXDYkZi8XBgzgrCDcf103gLltOdw 8dqGEuKfX3QxQ== Date: Fri, 3 May 2024 16:48:34 -0700 From: Josh Poimboeuf To: "Paul E. McKenney" 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: <20240503234834.y3gfp5qthporsx7m@treble> References: <3b99cb2919c88ab3d353337423b2f0f1b9173f0a.1713559768.git.jpoimboe@kernel.org> <0c410ba5-0e42-43b6-80b8-a69c5419a97d@paulmck-laptop> <20240421052540.w7gtahoko2qerhqq@treble> <20240503195653.5wkdfwno7nybepqc@treble> <20240503204417.2kxp2i3xjdmtapxq@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=utf-8 Content-Disposition: inline In-Reply-To: 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. -- Josh