Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3004517rdg; Tue, 17 Oct 2023 01:15:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNBWpMaBIRrSJbfUptnuM90tcX8jBr+qjDpPkPsHCoYAw4S8O/Ksdq8ju1rPUHob+Ws9rQ X-Received: by 2002:a05:6808:1b06:b0:3af:b467:88b4 with SMTP id bx6-20020a0568081b0600b003afb46788b4mr1989430oib.35.1697530512823; Tue, 17 Oct 2023 01:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697530512; cv=none; d=google.com; s=arc-20160816; b=tG1WDuYPgfK1TCi29xpWVC7BpkersZhfYDthSk3ibK+6szFH8O/M12xj3yNEBEnPSh ecV0SNiTaGCwuP2L6fNKwj+zmOFu2Vseilg5zFrpZG0DLiVBbm0IMrAlA/XFG4MqmCgh uR3neWIKlRi/+Asf+nU6cYGv01yerUKYEJPYRv7r2uxhAYBUUMsWLUYSjMltENhCWKJz c4WvhC9CdRBepMDCexIJ79NlHVmhsCKQ2EXLSmclZtIy7wMrXerN6yOKA4EfOPlPfOp/ OSnvLDbm+fLMS6xUVDe6D/PQDm/mJwIKyYtWpb242vHd2T7kAIQVY2Gjbr+SjM0XUI3d Wd9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LV5+NVfbqi+fYd3dUiqsuzZqYWwdifyRT90oRAJsbXE=; fh=K/NsbDAtSqUSJNAktvTM9UIJKK/pEshoR8ihRdgzl/4=; b=hKJvLBGVHyMlZIicb9HkKbQEqS5zIofHLzr3tpOfHDqiLi35eRs7wKLWFnf11+1Z6p NBvDMujTajJgFSGD5F8g0Qv9Go/O3Dv9mXs3cEh+6J1vkTTDs0Z+09di6xdnH7e7rjXs G5KB1sD+nZprKSE+TPSm3mcBPWaGjml1G2VzFy/bHFJ+b+thEM2nvyx6klWjuH4eDz2F boBJQ4cA3Gd1Gw67WZZgPCylFTclMRbUvjvxrLhSnSrvn/tDEmrP1Ar3Iu2lS+3/UY8V 2XblnuW86b7QAOxR1xYX7eeE3oUaKEgrd7JxQZGnMbRzHyLgLB/UBpf78qAUqqdmZNC/ ZSGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hCv1nSmq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bv125-20020a632e83000000b005ac61b76914si1262844pgb.93.2023.10.17.01.15.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 01:15:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hCv1nSmq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C9E9580D6E61; Tue, 17 Oct 2023 01:15:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234625AbjJQIPH (ORCPT + 99 others); Tue, 17 Oct 2023 04:15:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbjJQIPG (ORCPT ); Tue, 17 Oct 2023 04:15:06 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 260CD93 for ; Tue, 17 Oct 2023 01:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697530505; x=1729066505; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=BmIoLY/o2k22RrWOitj8Qe8FW2JhcrTWbOo1QMJXiOA=; b=hCv1nSmqzJSC8YXmjQEOHtx2LaZR43uuyvfvFFxPENdYlCjiuZ7gIGsF zgbzx2ZwTBRANb7DELmWQDVatSFCLaSKgnl2eVV5dJkh5EU0Xv8MpExmG sbvs/pe8307nUmzW5kSKLSkui7APW9QmpCAEqb47ZzFcUOYYQc7gWCTRJ BntV78apa8xLqE/e2GZ8c0RU8txKPNk+5L3x/A0JkjTYGnStobQyUOFV6 T/Axh3H7avUfdsqOA3uXSI7VtZGpiPf54GNTmLxbes2MZKUkr3suxruS0 BaxZ3/vkJPQ+4sTvRfnhBMC8XRKEz51J167Oriva2RXDsOZPPiflMj5if g==; X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="388590279" X-IronPort-AV: E=Sophos;i="6.03,231,1694761200"; d="scan'208";a="388590279" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 01:15:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="846729731" X-IronPort-AV: E=Sophos;i="6.03,231,1694761200"; d="scan'208";a="846729731" Received: from fhoeg-mobl1.ger.corp.intel.com (HELO [10.249.254.103]) ([10.249.254.103]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 01:15:02 -0700 Message-ID: <05ad4ca8-be19-ce78-7e71-48a02dd265c5@linux.intel.com> Date: Tue, 17 Oct 2023 10:14:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT Content-Language: en-US To: Danilo Krummrich Cc: intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, airlied@gmail.com, daniel@ffwll.ch, linux-kernel@vger.kernel.org References: <20231010142725.8920-1-thomas.hellstrom@linux.intel.com> From: =?UTF-8?Q?Thomas_Hellstr=c3=b6m?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 17 Oct 2023 01:15:12 -0700 (PDT) On 10/17/23 09:54, Danilo Krummrich wrote: > On Tue, Oct 10, 2023 at 04:27:24PM +0200, Thomas Hellström wrote: >> Dual-licence in order to make it possible for other non-GPL os'es >> to re-implement the code. The use of EXPORT_SYMBOL_GPL() is intentionally >> left untouched to prevent use of drm_gpuvm as a proxy for non-GPL drivers >> to access GPL-only kernel symbols. >> >> Much of the ideas and algorithms used in the drm_gpuvm code is already >> present in one way or another in MIT-licensed code. >> >> Cc: Danilo Krummrich >> Cc: airlied@gmail.com >> Cc: daniel@ffwll.ch >> Cc: linux-kernel@vger.kernel.org >> Signed-off-by: Thomas Hellström > Acked-by: Danilo Krummrich Thanks, Danilo Thomas > >> --- >> drivers/gpu/drm/drm_gpuvm.c | 2 +- >> include/drm/drm_gpuvm.h | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c >> index 02ce6baacdad..08c088319652 100644 >> --- a/drivers/gpu/drm/drm_gpuvm.c >> +++ b/drivers/gpu/drm/drm_gpuvm.c >> @@ -1,4 +1,4 @@ >> -// SPDX-License-Identifier: GPL-2.0-only >> +// SPDX-License-Identifier: GPL-2.0 OR MIT >> /* >> * Copyright (c) 2022 Red Hat. >> * >> diff --git a/include/drm/drm_gpuvm.h b/include/drm/drm_gpuvm.h >> index 361fea5cb849..21bbf11415b3 100644 >> --- a/include/drm/drm_gpuvm.h >> +++ b/include/drm/drm_gpuvm.h >> @@ -1,4 +1,4 @@ >> -/* SPDX-License-Identifier: GPL-2.0-only */ >> +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ >> >> #ifndef __DRM_GPUVM_H__ >> #define __DRM_GPUVM_H__ >> -- >> 2.41.0 >>