On Tue, May 13, 2025 at 01:59:12PM +0200, Lukas Bulwahn wrote: > From: Lukas Bulwahn <lukas.bulw...@redhat.com> > > Commit cbbd847d107f ("tools/x86/kcpuid: Introduce a complete cpuid > bitfields CSV file") turns the tools/arch/x86/kcpuid/cpuid.csv to be an > auto-generated file from an input file maintained at x86-cpuid.org project. > The x86-cpuid.org project clearly states that the auto-generated file is to > be licensed with CC0-1.0 (see Link below). So, the SPDX-License-Identifier > CC0-1.0 in the file is correct as intended. > > The spdxcheck.py script reports that tools/arch/x86/kcpuid/cpuid.csv uses > an Invalid License ID: CC0-1.0, though, as the LICENSES directory in the > kernel tree does not contain a file with license information for CC0-1.0. > > Add a suitable CC0-1.0 file with the license text into LICENSES/deprecated > to make spdxcheck.py happy. > > The directory deprecated is the best fit, by exclusion of the > alternatives. CC0-1.0 should not be considered among the preferred licenses > in the kernel, nor is it a license exception case or intended for > dual-licensing some copyrighted material. So, deprecated is the best fit > here, even if the license and its use is fine and it does not suggest to > actually deprecate use of this license. > > The license text for the CC0-1.0 file was obtained from the spdx > license-list-data git repository (see Link below). > > Link: https://gitlab.com/x86-cpuid.org/x86-cpuid-db/-/blob/v2.4/LICENSE.rst > Link: https://github.com/spdx/license-list-data/blob/main/text/CC0-1.0.txt > > Signed-off-by: Lukas Bulwahn <lukas.bulw...@redhat.com> > --- > LICENSES/deprecated/CC0-1.0 | 129 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 129 insertions(+)
Thanks for this, I'll add it to the spdx tree now. greg k-h