From mboxrd@z Thu Jan 1 00:00:00 1970 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 37C022CCC0 for ; Thu, 4 Sep 2025 12:01:50 +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=1756987311; cv=none; b=RPYklqNc3oNavwN1Blcx/veS5XOx1ZQIIcN4cOGppFp6jRGoXW4r1L/fDtxHE5wSavk7Vi15/XkzZX/sT1UpNQRPPb3/laWSE1SE7vwGJpZ1q18sFijKc24vO9DNt0u8udht7LsTEyUv85ZU5AkepTmTRXOUfkDyRrJWIUK5SVI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756987311; c=relaxed/simple; bh=20fHQLfw1aFaYlBAC6rNolJdM6g1VsRtYb3qsXCCUpo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rqbysaSY11QmXv8VZtCp5n3NsaDqtHjlpCZYgIoO/NyRAyn5SVg5WH4E2hx/Qi1hkQ6gtBjquUXgDiiWNBhg6XtgGLuZqAUdVTD2FaL51iyzAh8AS2lqN7dlGQb0PiqtI0lHLZg9J6knP1morXY7ToNsBAhB4FhuVCuNCD8q5Yc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lninPSUG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="lninPSUG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BDD8C4CEF0; Thu, 4 Sep 2025 12:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1756987310; bh=20fHQLfw1aFaYlBAC6rNolJdM6g1VsRtYb3qsXCCUpo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lninPSUG0PlkpHcU7XU8V2kVzetXg2R3RzZx1mwj4iXvoHGUhm49ibD+7vPSCpKXE vFE3Ix3Wuv06N9SlXV4HPeVIio8uibKI5RLUL41Qqo0wk1IHL6HgPi+1NVM5o682QW XSUxqgTm5XkC2FaL1/ZCPYZkAZRf8g41v/2Vl8ks= Date: Thu, 4 Sep 2025 14:01:47 +0200 From: Greg KH To: Suraj Jitindar Singh Cc: stable@vger.kernel.org Subject: Re: [PATCH 5.10 0/4] x86/speculation: Make {JMP,CALL}_NOSPEC Consistent Message-ID: <2025090447-rectangle-dastardly-b689@gregkh> References: <20250903225003.50346-1-surajjs@amazon.com> Precedence: bulk X-Mailing-List: stable@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: <20250903225003.50346-1-surajjs@amazon.com> On Wed, Sep 03, 2025 at 03:49:59PM -0700, Suraj Jitindar Singh wrote: > The 4 patches in this series make the JMP_NOSPEC and CALL_NOSPEC macros used > in the kernel consistent with what is generated by the compiler. > > ("x86,nospec: Simplify {JMP,CALL}_NOSPEC") was merged in v6.0 and the remaining > 3 patches in this series were merged in v6.15. All 4 were included in kernels > v5.15+ as prerequisites for the backport of the ITS mitigations [1]. > > None of these patches were included in the backport of the ITS mitigations to > the 5.10 kernel [2]. They all apply cleanly and are applicable to the 5.10 > kernel. Thus I see no reason that they weren't applied here, unless someone can > correct me? > > I am sending them for inclusion in the 5.10 kernel as this kernel is still > actively maintained for these kind of vulnerability mitigations and as such > having these patches will unify the handling of these cases with subsequent > kernel versions easing code understanding and the ease of backports in the > future. Also, you only really have about 1 more year left for this kernel version, why not take the time to move any systems that are somehow still using this to a more modern kernel instead? What's preventing that from happening? Running any x86 systems on this old kernel right now is probably not a good idea given the huge number of unfixed bugs in it... thanks, greg k-h