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 5EFD733993 for ; Fri, 13 Feb 2026 06:47:22 +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=1770965242; cv=none; b=qvtSSpRuQNcnA57WN/P/PwhIqXVK1TxUmFjZSRtYp/XiU/921eoBIHcWXmh23YHMvAcOsELhTmpX7Y/szKkCChAzRP5dsGihjTapW95VQEk4JftNrMH5NICot2dGwXh+C4exKNzCZRHd+ZBtMp4kiQd7PeW1hThAQbyx9rPdsKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770965242; c=relaxed/simple; bh=U9NpbFiN9kLjtfNEN9kzNjtrRRcjp6bg1/cDQyKnGfg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CtAp7+t9T79NeP9cQiMmhqjozBQb0UbnJuUue+MaU4SCc4MAVYjnIY7LzC/rpyayDh5fOpeVkYKUOF/Hgh7W+mOozCqFatxA5M5T02jy+WI8pdpbtuUbQyIcBOfuy6G86YtMYCqPaCWSD0CcsU+lputu9P3CrgpjypySP73aik8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lLYTmUNa; 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="lLYTmUNa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CF92C16AAE; Fri, 13 Feb 2026 06:47:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770965242; bh=U9NpbFiN9kLjtfNEN9kzNjtrRRcjp6bg1/cDQyKnGfg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lLYTmUNaJILSIsphecreomBjeMvrWu1nK2zgqV7lkZYw6Sd0cKdxDlj9co6UhiJWY mDTZ9/1yV70imunBW3s90iZRNpozFeO0d5+DSyNCl790kOofLaeSb8naPyI+KcvVdF pVul9sihdNvJwz+uYHlJsujb7BqrVnI2A+E0RZso= Date: Fri, 13 Feb 2026 07:47:17 +0100 From: Greg KH To: "Bird, Tim" Cc: LINUX SPDX ML , Kate Stewart , "Norio.Kobota@sony.com" , "Takuya.Namae@sony.com" , "tglx@kernel.org" Subject: Re: GPL-2.0 vs GPL-2.0-only (and + vs. -or-later) Message-ID: <2026021337-droop-grieving-4124@gregkh> References: Precedence: bulk X-Mailing-List: linux-spdx@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: On Thu, Feb 12, 2026 at 10:44:02PM +0000, Bird, Tim wrote: > Hey SPDX luminaries and experts, > > It has come to my attention that the SPDX project has deprecated the use > of 'GPL-2.0' and 'GPL-2.0+' as license identifiers. See the 'Deprecated License Identifiers' section > on https://spdx.org/licenses/ > > The preferred names for these are now: > 'GPL-2.0-only' and 'GPL-2.0-or-later'. > > The kernel uses all of these identifiers, in the following quantities in > C and assembly source files: > 10117 'GPL-2.0$' > 11845 'GPL-2.0 ' > 9373 'GPL-2.0-only$' > 5657 'GPL-2.0-only ' > 3250 'GPL-2.0+' > 8179 'GPL-or-later' > 125 'LGPL' > 2896 not using 'GPL' (LGPL, MIT, BSD, etc.) > 48489 '[^L]GPL' > > out of 51447 total SPDX-License-Identifier lines > > That's 21962 for GPL-2.0 vs. 9379 for GPL-2.0-only > and 8179 for GPL-2.0+ vs. 3250 for GPL-2.0-or-later. > > My question is this - when I am adding a SPDX-License-Identifier to a file that > has not had one previously, which form should I prefer? > > I have been trying to match the existing usage within a directory, sub-system > or file group, so sometimes I use the 'GPL-2.0-only' id, and sometimes the 'GPL-2.0' id. > Sometimes I use 'GPL-2.0-or-later' and sometimes I use 'GPL-2.0+'. My preference > is for 'GPL-2.0' and 'GPL-2.0+', based on https://docs.kernel.org/process/license-rules.html Please do this. > Legally, the IDs should be interpreted semantically identically with their partner. And I don't > agree with the GNU project's rationale for deprecating the 'GPL-2.0' ID, so > that's my preference, all other factors being equal. > However, seeing Thomas' comment below makes me question this preference. > > The last time I see this discussed on linux-spdx is in 2022. I'm just curious if anything has changed > since then. I also note that Thomas said in 2022: > > "Please don't propagate the GPL-2.0 and GPL-2.0+ tags. They are > outdated (still valid) in the SPDX spec, which reminds me that I should > update the relevant documentation..." > See https://lore.kernel.org/linux-spdx/87ee0k0wrn.ffs@tglx/ > > Does this imply that we want to avoid propagating GPL-2.0 and GPL-2.0+ tags > in the kernel? Eventually, yes, but let's do the real hard work of actually marking everything before worrying about which version of the tag to use. We can "easily" convert everything over to the new versions once that is done if needed. thanks, greg k-h