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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2736CD54A9 for ; Tue, 19 Sep 2023 09:36:27 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiX9d-0005QX-Ax; Tue, 19 Sep 2023 05:36:25 -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 1qiX9V-0005Jw-OC for qemu-devel@nongnu.org; Tue, 19 Sep 2023 05:36:19 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiX9F-0004hd-7j for qemu-devel@nongnu.org; Tue, 19 Sep 2023 05:36:17 -0400 Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Rqc2g2LFjz6K5WY; Tue, 19 Sep 2023 17:35:07 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Tue, 19 Sep 2023 10:35:58 +0100 Date: Tue, 19 Sep 2023 10:35:57 +0100 To: Peter Maydell CC: Dave Jiang , Michael Tokarev , , Michael Tsirkin , Fan Ni , Philippe =?ISO-8859-1?Q?Mathieu-Daud=E9?= , , Yuquan Wang , Alison Schofield , Vishal Verma , "Ira Weiny" , Dan Williams Subject: Re: [PATCH 2/3] hw/mem/cxl_type3: Add missing copyright and license notice Message-ID: <20230919103557.00000bf3@Huawei.com> In-Reply-To: References: <20230918150259.11165-1-Jonathan.Cameron@huawei.com> <20230918150259.11165-3-Jonathan.Cameron@huawei.com> <20230918180013.000035cf@Huawei.com> <5083ba81-f74d-3698-6418-72d288917df5@intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml100006.china.huawei.com (7.191.160.224) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected Received-SPF: pass client-ip=185.176.79.56; envelope-from=jonathan.cameron@huawei.com; helo=frasgout.his.huawei.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Reply-to: Jonathan Cameron From: Jonathan Cameron via Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Mon, 18 Sep 2023 18:38:10 +0100 Peter Maydell wrote: > On Mon, 18 Sept 2023 at 18:26, Dave Jiang wrote: > > > > > > > > On 9/18/23 10:00, Jonathan Cameron wrote: > > > On Mon, 18 Sep 2023 17:31:38 +0100 > > > Peter Maydell wrote: > > > > > >> On Mon, 18 Sept 2023 at 16:04, Jonathan Cameron > > >> wrote: > > >>> > > >>> This has been missing from the start. Assume it should match > > >>> with cxl/cxl-component-utils.c as both were part of early > > >>> postings from Ben. > > >> > > >> Sounds plausible -- is there an Intel person who could give us > > >> an acked-by for this? > > >> > > >> (Ideally we wouldn't have let more gpl-2-only code into the > > >> codebase without a rationale...) > > >> > > > > > > I've +CC'd the kernel CXL maintainers from Intel a few of whom > > > have also contributed some of the QEMU CXL code. > > > Hopefully someone can ack. > > > > I see that nvdimm.c from Intel is under LGPL 2.1. What is the typical license this should be applied for QEMU? > > The project has a mix of licenses, for mostly historical reasons. > The overall license is thus GPLv2 (as the most-restrictive of the set). > Our preference (as noted in the top level LICENSE file) for new > code is for GPL-v2-or-later; we can take other GPL-2-compatible > licenses (preferably GPL-v2-or-later compatible) if there's a > good rationale from the submitter. (Historically, one reason > for the GPL-v2-only code has been "this came from the Linux > kernel and so it's GPL-2-only"; "we copied a lot of this code > from some other file in QEMU and that has license X" is > the other one.) As this one is now 'historical' code I'll stick to the v2 only but make sure anything new goes in with v2 or later unless there is a good reason for another choice. Thanks for the info, Jonathan > > thanks > -- PMM >