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=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 CC13EC4167B for ; Tue, 8 Dec 2020 15:09:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7AAA623A75 for ; Tue, 8 Dec 2020 15:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729972AbgLHPJ5 (ORCPT ); Tue, 8 Dec 2020 10:09:57 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:62130 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729726AbgLHPJ4 (ORCPT ); Tue, 8 Dec 2020 10:09:56 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0B8EwqgK066202; Tue, 8 Dec 2020 10:09:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=p/t4f5senrkSw1O+e/bV0NyWu+aCZNsR9XNRRFTRXlg=; b=qrBlDIn6eK3fjKxV4Aum3Tq4U0HGI1ypuQTqQZ/a7dRigDunQPNigUu/Zq/99V+aALNx BSxdYM0biFLWe4QTASht43ZlaBRAmRhIl9zrNsgSa14HEFx28IS4aEgV62ibbF/Svzno axCB6INFfHe8+KsxzYKryuzDHSbAus9U+nV3RjoK87z8WsHcHLw7Rh167FO2bwaSV5wD 8DRtWwb3sqoc+22BXLTNUlaOWvwh3uWMnWiA+orDepd9EfmQ0L6PNB1OUPE0Z0LECpJE udwdL16X8S2OpiTEN43Ny/dFpCPT7Ej2hTpdGUrVU5Wp2jpgw8SK6z5gm7DbHGugY9Jy kg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 35aany2rvp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Dec 2020 10:09:14 -0500 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 0B8ExFu6068511; Tue, 8 Dec 2020 10:09:14 -0500 Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0b-001b2d01.pphosted.com with ESMTP id 35aany2rut-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Dec 2020 10:09:13 -0500 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0B8F9CqS018349; Tue, 8 Dec 2020 15:09:12 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma06fra.de.ibm.com with ESMTP id 3581fhhvu6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Dec 2020 15:09:12 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0B8F99T033358300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 8 Dec 2020 15:09:09 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8F46FAE055; Tue, 8 Dec 2020 15:09:09 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F0FFDAE058; Tue, 8 Dec 2020 15:09:08 +0000 (GMT) Received: from linux01.pok.stglabs.ibm.com (unknown [9.114.17.81]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 8 Dec 2020 15:09:08 +0000 (GMT) From: Janosch Frank To: kvm@vger.kernel.org Cc: thuth@redhat.com, david@redhat.com, cohuck@redhat.com, linux-s390@vger.kernel.org Subject: [kvm-unit-tests PATCH 1/2] s390x: Move to GPL 2 and SPDX license identifiers Date: Tue, 8 Dec 2020 10:09:01 -0500 Message-Id: <20201208150902.32383-2-frankja@linux.ibm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201208150902.32383-1-frankja@linux.ibm.com> References: <20201208150902.32383-1-frankja@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2020-12-08_09:2020-12-08,2020-12-08 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=1 phishscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 bulkscore=0 impostorscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012080086 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org In the past we had some issues when developers wanted to use code snippets or constants from the kernel in a test or in the library. To remedy that the s390x maintainers decided to move all files to GPL 2 (if possible). At the same time let's move to SPDX identifiers as they are much nicer to read. Signed-off-by: Janosch Frank --- s390x/cmm.c | 4 +--- s390x/cpumodel.c | 4 +--- s390x/css.c | 4 +--- s390x/cstart64.S | 4 +--- s390x/diag10.c | 4 +--- s390x/diag288.c | 4 +--- s390x/diag308.c | 5 +---- s390x/emulator.c | 4 +--- s390x/gs.c | 4 +--- s390x/iep.c | 4 +--- s390x/intercept.c | 4 +--- s390x/pfmf.c | 4 +--- s390x/sclp.c | 4 +--- s390x/selftest.c | 4 +--- s390x/skey.c | 4 +--- s390x/skrf.c | 4 +--- s390x/smp.c | 4 +--- s390x/sthyi.c | 4 +--- s390x/sthyi.h | 4 +--- s390x/stsi.c | 4 +--- s390x/uv-guest.c | 4 +--- s390x/vector.c | 4 +--- 22 files changed, 22 insertions(+), 67 deletions(-) diff --git a/s390x/cmm.c b/s390x/cmm.c index fe4d9df..c3f0c93 100644 --- a/s390x/cmm.c +++ b/s390x/cmm.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * CMM tests (ESSA) * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include diff --git a/s390x/cpumodel.c b/s390x/cpumodel.c index 116a966..4dd8b96 100644 --- a/s390x/cpumodel.c +++ b/s390x/cpumodel.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Test the known dependencies for facilities * @@ -5,9 +6,6 @@ * * Authors: * Christian Borntraeger - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include diff --git a/s390x/css.c b/s390x/css.c index ee3bc83..23a7b7c 100644 --- a/s390x/css.c +++ b/s390x/css.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Channel Subsystem tests * @@ -5,9 +6,6 @@ * * Authors: * Pierre Morel - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2. */ #include diff --git a/s390x/cstart64.S b/s390x/cstart64.S index 4e51150..cc86fc7 100644 --- a/s390x/cstart64.S +++ b/s390x/cstart64.S @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * s390x startup code * @@ -6,9 +7,6 @@ * Authors: * Thomas Huth * David Hildenbrand - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/diag10.c b/s390x/diag10.c index 7ee8945..579a7a5 100644 --- a/s390x/diag10.c +++ b/s390x/diag10.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Release pages hypercall tests (DIAG 10) * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include diff --git a/s390x/diag288.c b/s390x/diag288.c index e2ecdc8..e132ff0 100644 --- a/s390x/diag288.c +++ b/s390x/diag288.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Timer Event DIAG288 test * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include diff --git a/s390x/diag308.c b/s390x/diag308.c index 7fc4abd..c9d6c49 100644 --- a/s390x/diag308.c +++ b/s390x/diag308.c @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Diagnose 0x308 hypercall tests * * Copyright (c) 2019 Thomas Huth, Red Hat Inc. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2, or (at - * your option) any later version. */ #include diff --git a/s390x/emulator.c b/s390x/emulator.c index 70ef51a..b2787a5 100644 --- a/s390x/emulator.c +++ b/s390x/emulator.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Emulator tests - for s390x CPU instructions that are usually interpreted * by the hardware @@ -6,9 +7,6 @@ * * Authors: * David Hildenbrand - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/gs.c b/s390x/gs.c index f685aa9..1376d0e 100644 --- a/s390x/gs.c +++ b/s390x/gs.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Tests guarded storage support. * @@ -6,9 +7,6 @@ * Authors: * Martin Schwidefsky * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/iep.c b/s390x/iep.c index 55c01ee..fe167ef 100644 --- a/s390x/iep.c +++ b/s390x/iep.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Instruction Execution Prevention (IEP) DAT test. * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/intercept.c b/s390x/intercept.c index 2e38257..cde2f5f 100644 --- a/s390x/intercept.c +++ b/s390x/intercept.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Interception tests - for s390x CPU instruction that cause a VM exit * @@ -5,9 +6,6 @@ * * Authors: * Thomas Huth - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/pfmf.c b/s390x/pfmf.c index ac57fe4..2f3cb11 100644 --- a/s390x/pfmf.c +++ b/s390x/pfmf.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Perform Frame Management Function (pfmf) tests * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/sclp.c b/s390x/sclp.c index 7d92bf3..73d722f 100644 --- a/s390x/sclp.c +++ b/s390x/sclp.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Service Call tests * @@ -5,9 +6,6 @@ * * Authors: * Claudio Imbrenda - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2. */ #include diff --git a/s390x/selftest.c b/s390x/selftest.c index eaf5b18..b2fe2e7 100644 --- a/s390x/selftest.c +++ b/s390x/selftest.c @@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2017 Red Hat Inc * * Authors: * Thomas Huth * David Hildenbrand - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/skey.c b/s390x/skey.c index 86d15e2..2539944 100644 --- a/s390x/skey.c +++ b/s390x/skey.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Storage key tests * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/skrf.c b/s390x/skrf.c index b19d0f4..57524ba 100644 --- a/s390x/skrf.c +++ b/s390x/skrf.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Storage key removal facility tests * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2. */ #include #include diff --git a/s390x/smp.c b/s390x/smp.c index 4ca1dce..b0ece49 100644 --- a/s390x/smp.c +++ b/s390x/smp.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Tests sigp emulation * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2. */ #include #include diff --git a/s390x/sthyi.c b/s390x/sthyi.c index 68c57cb..d8dfc85 100644 --- a/s390x/sthyi.c +++ b/s390x/sthyi.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Tests exceptions and data validity for the emulated sthyi * instruction. @@ -6,9 +7,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include diff --git a/s390x/sthyi.h b/s390x/sthyi.h index 06f757f..bbd74c6 100644 --- a/s390x/sthyi.h +++ b/s390x/sthyi.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * STHYI related flags and structure definitions. * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #ifndef _STHYI_H_ #define _STHYI_H_ diff --git a/s390x/stsi.c b/s390x/stsi.c index b81cea7..4109b8d 100644 --- a/s390x/stsi.c +++ b/s390x/stsi.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Store System Information tests * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include diff --git a/s390x/uv-guest.c b/s390x/uv-guest.c index d47333e..bc947ab 100644 --- a/s390x/uv-guest.c +++ b/s390x/uv-guest.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Guest Ultravisor Call tests * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2. */ #include diff --git a/s390x/vector.c b/s390x/vector.c index 0159ba1..d1b6a57 100644 --- a/s390x/vector.c +++ b/s390x/vector.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Tests vector instruction support * @@ -5,9 +6,6 @@ * * Authors: * Janosch Frank - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License version 2. */ #include #include -- 2.25.1