From patchwork Wed Apr 10 05:43:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 787468 Delivered-To: patch@linaro.org Received: by 2002:adf:fdd2:0:b0:346:15ad:a2a with SMTP id i18csp541942wrs; Tue, 9 Apr 2024 22:46:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVzTvEKOdNpheFHxDzrkOkJeljV6rV8UGwLqFSgVLDaxuxOtPH4KggYin0TUXnkRbL/Jxzsr6SkV5dIVmj1Qyjg X-Google-Smtp-Source: AGHT+IEsmK6LV0zS55xa4fPBZbzcgJNw/yhUvjbpv2BXzP2cr2H6VE4Kuj+eEXtWpHeyexHt5osJ X-Received: by 2002:a05:6102:2ac1:b0:47a:1a50:6953 with SMTP id eh1-20020a0561022ac100b0047a1a506953mr1597255vsb.19.1712728002291; Tue, 09 Apr 2024 22:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712728002; cv=none; d=google.com; s=arc-20160816; b=rqLaVSuvPW6jpqOCD2VOwJSg5zpzgbALel8Y9XXwjqlqvjjYS4JZTFo8431Wkk3vJx Dvd2CJhQRkfu/Rv2suwTA/rjVsuLtOebwNTwHsvWnMoMKJ3HuO/HFqFx0JP+pcaFoOsB xGcvQGbWMlIHtxNooIaq7GLQ9Su/YpNs4hPzD+K/v+frUAl/YwhSAqt+MatK26L/mZjB RP6wR4NLOI7xvWTCf4Y7PxV1p0IlJFHf+MUkoCpHBXZQ3izIEZxJkFfb2u4y/tYy5O7X Hnm/GM/kcfhZ/FWIfuEJhpge54w8y5xcgDMZgpjf4ahRcqL1k4/X5LsaAwdFs4cS+CQp 3+aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=XR+m1dQrH0I5wbuIwUeSbyTx3KNYRKvhnpmkUDfbAcA=; fh=WSH+rgb8zHsSS970+IbWuJr+MBuQH0/X3ZsBvbo2Kvg=; b=ojS+ISJUTNEKdYxGHt0PKAzt+wXnxT/hIIv27MGyIC3zxIDuQs06ouBLQiHEeCiGaE PYXBpHo2xV7tFuns311UqFdVTfCeIBiCHqjUI8RNI6b8HODrmLRlm1KamR5tXShxrtQP JCW3IwUhS1EnJWnRAEyq9zPISrp+63NwLBtOYWr19OURpHXHLP/dBQRsp9ayj2x/Pw4K pRK7aiJrE6k/raouIY41Afhm6Qwegp4gwd/ywQLmQAbrDfaGMUllN7kAFmfEFDMv1kPa /dYBjmyJm/sbuMjU2ej3q5VOMMe3cDdOEq3yS41fLYlWtu++++C+1rPPMJ9u197ZBJNw iMog==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id iw3-20020a0562140f2300b0069b317f312esi2681758qvb.34.2024.04.09.22.46.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2024 22:46:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruQlO-0004mb-3g; Wed, 10 Apr 2024 01:44:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruQlM-0004mD-PQ; Wed, 10 Apr 2024 01:44:48 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruQlL-0001LN-59; Wed, 10 Apr 2024 01:44:48 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id F23D05D4DE; Wed, 10 Apr 2024 08:46:14 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id B099CB0145; Wed, 10 Apr 2024 08:44:16 +0300 (MSK) Received: (nullmailer pid 4182018 invoked by uid 1000); Wed, 10 Apr 2024 05:44:16 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Peter Maydell , Paolo Bonzini , Artyom Tarasenko , Markus Armbruster , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , =?utf-8?q?Daniel_P_=2E_B?= =?utf-8?q?errang=C3=A9?= , Michael Tokarev Subject: [Stable-7.2.11 06/41] hw/rtc/sun4v-rtc: Relicense to GPLv2-or-later Date: Wed, 10 Apr 2024 08:43:27 +0300 Message-Id: <20240410054416.4181891-6-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell The sun4v RTC device model added under commit a0e893039cf2ce0 in 2016 was unfortunately added with a license of GPL-v3-or-later, which is not compatible with other QEMU code which has a GPL-v2-only license. Relicense the code in the .c and the .h file to GPL-v2-or-later, to make it compatible with the rest of QEMU. Cc: qemu-stable@nongnu.org Signed-off-by: Peter Maydell Signed-off-by: Paolo Bonzini (for Red Hat) Signed-off-by: Artyom Tarasenko Signed-off-by: Markus Armbruster Signed-off-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Daniel P. Berrangé Acked-by: Alex Bennée Message-id: 20240223161300.938542-1-peter.maydell@linaro.org Signed-off-by: Peter Maydell (cherry picked from commit fd7f95f23d6fe485332c1d4b489eb719fcb7c225) Signed-off-by: Michael Tokarev diff --git a/hw/rtc/sun4v-rtc.c b/hw/rtc/sun4v-rtc.c index e037acd1b5..ffcc0aa25d 100644 --- a/hw/rtc/sun4v-rtc.c +++ b/hw/rtc/sun4v-rtc.c @@ -5,7 +5,7 @@ * * Copyright (c) 2016 Artyom Tarasenko * - * This code is licensed under the GNU GPL v3 or (at your option) any later + * This code is licensed under the GNU GPL v2 or (at your option) any later * version. */ diff --git a/include/hw/rtc/sun4v-rtc.h b/include/hw/rtc/sun4v-rtc.h index fc54dfcba4..26a9eb6196 100644 --- a/include/hw/rtc/sun4v-rtc.h +++ b/include/hw/rtc/sun4v-rtc.h @@ -5,7 +5,7 @@ * * Copyright (c) 2016 Artyom Tarasenko * - * This code is licensed under the GNU GPL v3 or (at your option) any later + * This code is licensed under the GNU GPL v2 or (at your option) any later * version. */