From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97373C282CE for ; Tue, 4 Jun 2019 11:29:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52F7324BDC for ; Tue, 4 Jun 2019 11:29:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727170AbfFDL3N (ORCPT ); Tue, 4 Jun 2019 07:29:13 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:49151 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726508AbfFDL3M (ORCPT ); Tue, 4 Jun 2019 07:29:12 -0400 Received: from [192.168.1.110] ([95.118.47.44]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MN5S1-1hFcjZ2bFV-00J4Hf; Tue, 04 Jun 2019 13:29:00 +0200 Subject: Re: [Batch 17 patch 31/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 To: Thomas Gleixner , linux-spdx@vger.kernel.org References: <20190604081044.651381636@linutronix.de> <20190604081204.624030236@linutronix.de> From: "Enrico Weigelt, metux IT consult" Organization: metux IT consult Message-ID: Date: Tue, 4 Jun 2019 11:28:58 +0000 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190604081204.624030236@linutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:VfStOGphte1U8loG8J+XRzKTjd+r1u0h9gNtUEkSzEBjmM32v0+ li9sugqFxBCigcs+1FHwib8CPODDHHmwOG3tgI5zy6o84hGf+KrGxAKYbVaQzUQdsy6v4Vb os1HOpsCx0zFmpYH77foCjzLZoFWQVfcWXqwcNpjMY9ipWT8InN1ZfXKclIqMV76HoQXVZB IrKhWrs9SRqbWEKhPFhKQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:s+dghq6jBWI=:22SEfokppSH5sJJOv9ybMm fkf4hgLzA/qtCfMCHfgi1UC1mof1AsSM2ohRGiY41r1TwrEDKqgUrzmINYR91IOC/FLiMNkts yRJSnnj/OvC98vnhahMqXvW41jeYH0oocYOX+LBBbx40nehxu8pcXUvHQGkpOIgefOSdSRPIy o4xHFotaejk8lrzY4Zl1W7QzgS+GwxMIpFuxCBGa++HtRMoyWjTTpWTRtiArsMybN0Hc4Jod/ lghPYiIWhBlq9mvXuJoEZHf2mnvF9h++9Cfc3hucPk5Wz8pnX+e0+1w/oZQ8fpht+Aofx9Xi1 D/74aBdvls0Rh7iyivFZGlCnfGiynTQ0eAY88HPMWtC+44mzYYj4aJdVJ3KRIZKyJ15XaoX9X PKchkGojzSL2dQClHVymdebWoTj/AMepumMnVdqm6/Xle7b0OYns5UFFU8XFozYJj6XoUfhq2 W+Me4TYqGISv6b1fzPBpSi2zqrdoY5+P+ApxdmiVImdMiAZHYkmZv5YyZdD2XsUSaX2m6/iuv Yt3uisjEyj/0QQv9iwGTbr7R932j5rw2/QmsBHyGqhfjp5djlA0xVjO8FgOgnBsC9m9ZLH8jw Aj1W+TmM4WiWtpfNi5cH11oVVZkHLE7yGbhjqCV9XOc8MRLMh4Nrkq9Wai7lFL9JHvk7yPzBp TsdRwUfaIiq3gwYYtrPfCDo/5ja70XBiLpqHkMOlyk+ePAPIZ1qs8qCQOLhG9BcAwiwDsFK23 jigvrhil4635s4SNeBGPXMcSybbgAlft+6pdHGbzqpeUpZjV8rZd5jD2UNg= Sender: linux-spdx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spdx@vger.kernel.org Archived-At: List-Archive: List-Post: On 04.06.19 08:11, Thomas Gleixner wrote: > From: Thomas Gleixner tglx@linutronix.de > > Based on 1 normalized pattern(s): > > this work is licensed under the terms of the gnu gpl version 2 > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-only > > has been chosen to replace the boilerplate/reference in 48 file(s). > > Signed-off-by: Thomas Gleixner > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=ac5d17b74537 > --- > arch/sparc/include/asm/adi_64.h | 3 +-- > arch/sparc/kernel/adi_64.c | 3 +-- > arch/sparc/kernel/sun4v_mcd.S | 3 +-- > drivers/acpi/ec_sys.c | 3 +-- > drivers/vhost/net.c | 3 +-- > drivers/vhost/test.c | 3 +-- > drivers/vhost/vhost.c | 3 +-- > drivers/vhost/vsock.c | 3 +-- > mm/cleancache.c | 3 +-- > mm/frontswap.c | 3 +-- > mm/ksm.c | 3 +-- > net/vmw_vsock/virtio_transport.c | 3 +-- > net/vmw_vsock/virtio_transport_common.c | 3 +-- > tools/power/acpi/tools/ec/ec_access.c | 3 +-- > tools/testing/selftests/kvm/include/kvm_util.h | 4 +--- > tools/testing/selftests/kvm/include/sparsebit.h | 4 +--- > tools/testing/selftests/kvm/include/test_util.h | 4 +--- > tools/testing/selftests/kvm/include/x86_64/processor.h | 4 +--- > tools/testing/selftests/kvm/include/x86_64/vmx.h | 4 +--- > tools/testing/selftests/kvm/lib/assert.c | 3 +-- > tools/testing/selftests/kvm/lib/elf.c | 3 +-- > tools/testing/selftests/kvm/lib/io.c | 3 +-- > tools/testing/selftests/kvm/lib/kvm_util.c | 3 +-- > tools/testing/selftests/kvm/lib/kvm_util_internal.h | 3 +-- > tools/testing/selftests/kvm/lib/sparsebit.c | 3 +-- > tools/testing/selftests/kvm/lib/x86_64/processor.c | 3 +-- > tools/testing/selftests/kvm/lib/x86_64/vmx.c | 3 +-- > tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c | 3 +-- > tools/testing/selftests/kvm/x86_64/set_sregs_test.c | 4 +--- > tools/testing/selftests/kvm/x86_64/state_test.c | 3 +-- > tools/testing/selftests/kvm/x86_64/sync_regs_test.c | 3 +-- > tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c | 3 +-- > tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c | 3 +-- > tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c | 4 +--- > tools/virtio/ringtest/main.c | 2 +- > tools/virtio/ringtest/main.h | 2 +- > tools/virtio/ringtest/ring.c | 2 +- > tools/virtio/ringtest/virtio_ring_0_9.c | 2 +- > 38 files changed, 38 insertions(+), 79 deletions(-) > > --- a/arch/sparc/include/asm/adi_64.h > +++ b/arch/sparc/include/asm/adi_64.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* adi_64.h: ADI related data structures > * > * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. > * Author: Khalid Aziz (khalid.aziz@oracle.com) > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > #ifndef __ASM_SPARC64_ADI_H > #define __ASM_SPARC64_ADI_H > --- a/arch/sparc/kernel/adi_64.c > +++ b/arch/sparc/kernel/adi_64.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* adi_64.c: support for ADI (Application Data Integrity) feature on > * sparc m7 and newer processors. This feature is also known as > * SSM (Silicon Secured Memory). > * > * Copyright (C) 2016 Oracle and/or its affiliates. All rights reserved. > * Author: Khalid Aziz (khalid.aziz@oracle.com) > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > #include > #include > --- a/arch/sparc/kernel/sun4v_mcd.S > +++ b/arch/sparc/kernel/sun4v_mcd.S > @@ -1,10 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler > * > * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. > * Authors: Bob Picco , > * Khalid Aziz > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > .text > .align 32 > --- a/drivers/acpi/ec_sys.c > +++ b/drivers/acpi/ec_sys.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * ec_sys.c > * > * Copyright (C) 2010 SUSE Products GmbH/Novell > * Author: > * Thomas Renninger > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include > --- a/drivers/vhost/net.c > +++ b/drivers/vhost/net.c > @@ -1,8 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* Copyright (C) 2009 Red Hat, Inc. > * Author: Michael S. Tsirkin > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * virtio-net server in host kernel. > */ > > --- a/drivers/vhost/test.c > +++ b/drivers/vhost/test.c > @@ -1,8 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* Copyright (C) 2009 Red Hat, Inc. > * Author: Michael S. Tsirkin > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * test virtio server in host kernel. > */ > > --- a/drivers/vhost/vhost.c > +++ b/drivers/vhost/vhost.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* Copyright (C) 2009 Red Hat, Inc. > * Copyright (C) 2006 Rusty Russell IBM Corporation > * > @@ -6,8 +7,6 @@ > * Inspiration, some code, and most witty comments come from > * Documentation/virtual/lguest/lguest.c, by Rusty Russell > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * Generic code for virtio server in host kernel. > */ > > --- a/drivers/vhost/vsock.c > +++ b/drivers/vhost/vsock.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * vhost transport for vsock > * > * Copyright (C) 2013-2015 Red Hat, Inc. > * Author: Asias He > * Stefan Hajnoczi > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > #include > #include > --- a/mm/cleancache.c > +++ b/mm/cleancache.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Cleancache frontend > * > @@ -7,8 +8,6 @@ > * > * Copyright (C) 2009-2010 Oracle Corp. All rights reserved. > * Author: Dan Magenheimer > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include > --- a/mm/frontswap.c > +++ b/mm/frontswap.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Frontswap frontend > * > @@ -7,8 +8,6 @@ > * > * Copyright (C) 2009-2012 Oracle Corp. All rights reserved. > * Author: Dan Magenheimer > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include > --- a/mm/ksm.c > +++ b/mm/ksm.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Memory merging support. > * > @@ -10,8 +11,6 @@ > * Andrea Arcangeli > * Chris Wright > * Hugh Dickins > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include > --- a/net/vmw_vsock/virtio_transport.c > +++ b/net/vmw_vsock/virtio_transport.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * virtio transport for vsock > * > @@ -7,8 +8,6 @@ > * > * Some of the code is take from Gerd Hoffmann 's > * early virtio-vsock proof-of-concept bits. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > #include > #include > --- a/net/vmw_vsock/virtio_transport_common.c > +++ b/net/vmw_vsock/virtio_transport_common.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * common code for virtio vsock > * > * Copyright (C) 2013-2015 Red Hat, Inc. > * Author: Asias He > * Stefan Hajnoczi > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > #include > #include > --- a/tools/power/acpi/tools/ec/ec_access.c > +++ b/tools/power/acpi/tools/ec/ec_access.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * ec_access.c > * > * Copyright (C) 2010 SUSE Linux Products GmbH > * Author: > * Thomas Renninger > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include > --- a/tools/testing/selftests/kvm/include/kvm_util.h > +++ b/tools/testing/selftests/kvm/include/kvm_util.h > @@ -1,10 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * tools/testing/selftests/kvm/include/kvm_util.h > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > */ > #ifndef SELFTEST_KVM_UTIL_H > #define SELFTEST_KVM_UTIL_H > --- a/tools/testing/selftests/kvm/include/sparsebit.h > +++ b/tools/testing/selftests/kvm/include/sparsebit.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * tools/testing/selftests/kvm/include/sparsebit.h > * > * Copyright (C) 2018, Google LLC. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > - * > * Header file that describes API to the sparsebit library. > * This library provides a memory efficient means of storing > * the settings of bits indexed via a uint64_t. Memory usage > --- a/tools/testing/selftests/kvm/include/test_util.h > +++ b/tools/testing/selftests/kvm/include/test_util.h > @@ -1,10 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * tools/testing/selftests/kvm/include/test_util.h > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > */ > > #ifndef SELFTEST_KVM_TEST_UTIL_H > --- a/tools/testing/selftests/kvm/include/x86_64/processor.h > +++ b/tools/testing/selftests/kvm/include/x86_64/processor.h > @@ -1,10 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * tools/testing/selftests/kvm/include/x86_64/processor.h > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > */ > > #ifndef SELFTEST_KVM_PROCESSOR_H > --- a/tools/testing/selftests/kvm/include/x86_64/vmx.h > +++ b/tools/testing/selftests/kvm/include/x86_64/vmx.h > @@ -1,10 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * tools/testing/selftests/kvm/include/x86_64/vmx.h > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > */ > > #ifndef SELFTEST_KVM_VMX_H > --- a/tools/testing/selftests/kvm/lib/assert.c > +++ b/tools/testing/selftests/kvm/lib/assert.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * tools/testing/selftests/kvm/lib/assert.c > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #define _GNU_SOURCE /* for getline(3) and strchrnul(3)*/ > --- a/tools/testing/selftests/kvm/lib/elf.c > +++ b/tools/testing/selftests/kvm/lib/elf.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * tools/testing/selftests/kvm/lib/elf.c > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include "test_util.h" > --- a/tools/testing/selftests/kvm/lib/io.c > +++ b/tools/testing/selftests/kvm/lib/io.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * tools/testing/selftests/kvm/lib/io.c > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include "test_util.h" > --- a/tools/testing/selftests/kvm/lib/kvm_util.c > +++ b/tools/testing/selftests/kvm/lib/kvm_util.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * tools/testing/selftests/kvm/lib/kvm_util.c > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #include "test_util.h" > --- a/tools/testing/selftests/kvm/lib/kvm_util_internal.h > +++ b/tools/testing/selftests/kvm/lib/kvm_util_internal.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * tools/testing/selftests/kvm/lib/kvm_util_internal.h > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #ifndef SELFTEST_KVM_UTIL_INTERNAL_H > --- a/tools/testing/selftests/kvm/lib/sparsebit.c > +++ b/tools/testing/selftests/kvm/lib/sparsebit.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Sparse bit array > * > * Copyright (C) 2018, Google LLC. > * Copyright (C) 2018, Red Hat, Inc. (code style cleanup and fuzzing driver) > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * This library provides functions to support a memory efficient bit array, > * with an index size of 2^64. A sparsebit array is allocated through > * the use sparsebit_alloc() and free'd via sparsebit_free(), > --- a/tools/testing/selftests/kvm/lib/x86_64/processor.c > +++ b/tools/testing/selftests/kvm/lib/x86_64/processor.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * tools/testing/selftests/kvm/lib/x86_64/processor.c > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #define _GNU_SOURCE /* for program_invocation_name */ > --- a/tools/testing/selftests/kvm/lib/x86_64/vmx.c > +++ b/tools/testing/selftests/kvm/lib/x86_64/vmx.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * tools/testing/selftests/kvm/lib/x86_64/vmx.c > * > * Copyright (C) 2018, Google LLC. > - * > - * This work is licensed under the terms of the GNU GPL, version 2. > */ > > #define _GNU_SOURCE /* for program_invocation_name */ > --- a/tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c > +++ b/tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * kvm_create_max_vcpus > * > * Copyright (C) 2019, Google LLC. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * Test for KVM_CAP_MAX_VCPUS and KVM_CAP_MAX_VCPU_ID. > */ > > --- a/tools/testing/selftests/kvm/x86_64/set_sregs_test.c > +++ b/tools/testing/selftests/kvm/x86_64/set_sregs_test.c > @@ -1,16 +1,14 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * KVM_SET_SREGS tests > * > * Copyright (C) 2018, Google LLC. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * This is a regression test for the bug fixed by the following commit: > * d3802286fa0f ("kvm: x86: Disallow illegal IA32_APIC_BASE MSR values") > * > * That bug allowed a user-mode program that called the KVM_SET_SREGS > * ioctl to put a VCPU's local APIC into an invalid state. > - * > */ > #define _GNU_SOURCE /* for program_invocation_short_name */ > #include > --- a/tools/testing/selftests/kvm/x86_64/state_test.c > +++ b/tools/testing/selftests/kvm/x86_64/state_test.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * KVM_GET/SET_* tests > * > * Copyright (C) 2018, Red Hat, Inc. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * Tests for vCPU state save/restore, including nested guest state. > */ > #define _GNU_SOURCE /* for program_invocation_short_name */ > --- a/tools/testing/selftests/kvm/x86_64/sync_regs_test.c > +++ b/tools/testing/selftests/kvm/x86_64/sync_regs_test.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Test for x86 KVM_CAP_SYNC_REGS > * > * Copyright (C) 2018, Google LLC. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * Verifies expected behavior of x86 KVM_CAP_SYNC_REGS functionality, > * including requesting an invalid register set, updates to/from values > * in kvm_run.s.regs when kvm_valid_regs and kvm_dirty_regs are toggled. > --- a/tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c > +++ b/tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * vmx_close_while_nested > * > * Copyright (C) 2019, Red Hat, Inc. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * Verify that nothing bad happens if a KVM user exits with open > * file descriptors while executing a nested guest. > */ > --- a/tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c > +++ b/tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * vmx_set_nested_state_test > * > * Copyright (C) 2019, Google LLC. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > * This test verifies the integrity of calling the ioctl KVM_SET_NESTED_STATE. > */ > > --- a/tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c > +++ b/tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * vmx_tsc_adjust_test > * > * Copyright (C) 2018, Google LLC. > * > - * This work is licensed under the terms of the GNU GPL, version 2. > - * > - * > * IA32_TSC_ADJUST test > * > * According to the SDM, "if an execution of WRMSR to the > --- a/tools/virtio/ringtest/main.c > +++ b/tools/virtio/ringtest/main.c > @@ -1,7 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2016 Red Hat, Inc. > * Author: Michael S. Tsirkin > - * This work is licensed under the terms of the GNU GPL, version 2. > * > * Command line processing and common functions for ring benchmarking. > */ > --- a/tools/virtio/ringtest/main.h > +++ b/tools/virtio/ringtest/main.h > @@ -1,7 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Copyright (C) 2016 Red Hat, Inc. > * Author: Michael S. Tsirkin > - * This work is licensed under the terms of the GNU GPL, version 2. > * > * Common macros and functions for ring benchmarking. > */ > --- a/tools/virtio/ringtest/ring.c > +++ b/tools/virtio/ringtest/ring.c > @@ -1,7 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2016 Red Hat, Inc. > * Author: Michael S. Tsirkin > - * This work is licensed under the terms of the GNU GPL, version 2. > * > * Simple descriptor-based ring. virtio 0.9 compatible event index is used for > * signalling, unconditionally. > --- a/tools/virtio/ringtest/virtio_ring_0_9.c > +++ b/tools/virtio/ringtest/virtio_ring_0_9.c > @@ -1,7 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2016 Red Hat, Inc. > * Author: Michael S. Tsirkin > - * This work is licensed under the terms of the GNU GPL, version 2. > * > * Partial implementation of virtio 0.9. event index is used for signalling, > * unconditionally. Design roughly follows linux kernel implementation in order > > Reviewed-By: Enrico Weigelt -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287