[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.18] docs: Delete kconfig docs to fix licensing violation


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Sat, 11 Nov 2023 01:21:31 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p2sXg86LCr1N2uB6pq8vzT/TSqAl0SEi1JT9W4fYWOs=; b=BmB7Ug3jPhZVm9LU+/qqVsJ7lT9INqN0PBoSpGOZDKZNUU6OzCdEckv6lzwuurSaE3pxiOVR/zyd0L8lI0mtc28UzuPhxvcjWBCfQTRV8WZc8bCLmFEl7PfG30RMZJusoAQWsEfLK8oiAiK1p/oOpc6+uLRFqkxqcOBKKwxbgG4LgeeLrFlLFtUzV4LkbRPHvlxA05wpQMeZ+a7iEFeaZHThhxA1cYDLgWi0RD11xKcgqYu0SsTAGFHiypsyeN9ZJ8AQTy2EqnykNA7T8EM/S8oAEqupd8E3wfwCBFzqj4ePHxWE+Rq/KY1wZqqHAP8qKvSczAdpKKqETo4VkYvtHA==
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p2sXg86LCr1N2uB6pq8vzT/TSqAl0SEi1JT9W4fYWOs=; b=TzzpFy+OhQC6OUZuznKaYwKHu5Wzitm7fBUeJmlyrKAGC9CnB7HlahKzeEFexCLzJLevSrXvxNyBdrPjm+1myRpp8glJm+KVC1z8gjD3ixa9JBh3JRzfETkwPXV7exWKE4OelnfFM1FJtKH8qZ5UbL+7jSf/z5eGqxzT3+MnDmqjlvFFUw40IP0lP2EoDFak3+NNtt9XJYofjP2V+h7KzLo27vNNjtASLyyOAMdzi+kfSwxdpoNpoB2E4JmRpy9PwGJQtXidhutkonU8uF23mEEbQgnK46Ki5WrFAUUSzP1+tTdT/OFeYobCoRKtXp1J9xxkiHit/e9i679t1CY+Yw==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=lCshI0Mkr9LonEB6JxkW2XnE3zpuaZUUHduOLyjaot/qe2sYlKIahasP4rmmDumWPVtI9l3kESxkJ5jy7IYg9LfMmA+ypAvcfhFIl7JagU2uV0AEOmhxxEEjxj9vCl0gZVQ1geir9v+uXWas4ffcFHKAfIvCpslzSdGOlQlC+j4xYF2gmpQJqg1g89rmiBf+KOpP+D/n733KjA73lI17po5xFO/1GErqhIHC7n1XGrnx+7Q48hLxARvGAz0T2uVkaPhyu/GzACMs3IEDUMIUAFXyxqiPIv0nwOfMlIEdJBmRO/F6Jyojmww8h6KguNA+lKZEwvIHHyY64CttPCeUPA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jj9Ht1IHnsgoHYXbSM+l/6GQLBChCGHlk4Cvcx8WGlMzNyfn98tv2XMUlxrbigx/1R4TMwhKYCxU7qCJhuxpOOFmEWXGTIARPC4v53+Vs4b+cAGQggdlUFq9t6zj54KJ1DsRami8CspRUCcnkTkhLd48ot2zsmGK7fHbDR+yPp1+7HA464vaom6wUFEXPSuNkc1q0SeZGLdJSuQE/EMY+84CQrc1fVNe4VBx/BNjwJSiHzN5pcDFsCmcGIbXZGk16OCKBFswqCTDlkd3P2tsZdW/fGEbKTSFeQVpiyqMYlIBu+bPS+nuIc/VUzrf12ERIQPybdX1rZF/WzbQ1zMlFA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 11 Nov 2023 01:21:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHaElHr9CpuYdM9HkyTsf3tvq3kirBx21iAgADRkYCAAXSpgIAAGY8AgAAa+wA=
  • Thread-topic: [PATCH for-4.18] docs: Delete kconfig docs to fix licensing violation

Hi,

> On Nov 11, 2023, at 07:44, Stefano Stabellini <sstabellini@xxxxxxxxxx> wrote:
> 
> On Fri, 10 Nov 2023, Andrew Cooper wrote:
>> On 09/11/2023 11:59 pm, Stefano Stabellini wrote:
>>> On Thu, 9 Nov 2023, Jan Beulich wrote:
>>>> On 08.11.2023 15:37, Andrew Cooper wrote:
>>>>> These 3 Kconfig docs were imported from Linux erroneously.  They are
>>>>> GPL-2.0-only in Linux, but have no SPDX tag and were placed in such a way 
>>>>> to
>>>>> be included by the blanket statement saying that all RST files are 
>>>>> CC-BY-4.0.
>>>>> 
>>>>> We should not be carrying a shadow copy of these docs.  They aren't even 
>>>>> wired
>>>>> into our Sphinx docs, and anyone wanting to refer to Kconfig docs is 
>>>>> going to
>>>>> look at the Linux docs anyway.  These, and more docs can be found at:
>>>>> 
>>>>>  https://www.kernel.org/doc/html/latest/kbuild/
>>>>> 
>>>>> which also have corrections vs the snapshot we took.
>>>> Imo this reference ...
>>>> 
>>>>> Fixes: f80fe2b34f08 ("xen: Update Kconfig to Linux v5.4")
>>>>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>>>>> ---
>>>>> CC: George Dunlap <George.Dunlap@xxxxxxxxxx>
>>>>> CC: Jan Beulich <JBeulich@xxxxxxxx>
>>>>> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx>
>>>>> CC: Wei Liu <wl@xxxxxxx>
>>>>> CC: Julien Grall <julien@xxxxxxx>
>>>>> CC: Henry Wang <Henry.Wang@xxxxxxx>
>>>>> ---
>>>>> docs/misc/kconfig-language.rst       | 701 ---------------------------
>>>>> docs/misc/kconfig-macro-language.rst | 247 ----------
>>>>> docs/misc/kconfig.rst                | 304 ------------
>>>>> 3 files changed, 1252 deletions(-)
>>>>> delete mode 100644 docs/misc/kconfig-language.rst
>>>>> delete mode 100644 docs/misc/kconfig-macro-language.rst
>>>>> delete mode 100644 docs/misc/kconfig.rst
>>>> ... wants putting into, say, the last of these three files you delete, as
>>>> a replacement. I can't spot any other place where we would have such a
>>>> reference.
>>>> 
>>>> One problem I see with deleting our shadow copy is that by referring to
>>>> Linux'es doc, the wrong impression may arise that whatever new features
>>>> they invent we also support. Thoughts? (If nothing else, I'd expect this
>>>> aspect to be mentioned / justified in the description.)
>>> I think the ideal solution would be to replace the shadow copies with a
>>> link to the Linux docs of a specific Linux tag (v5.4), instead of
>>> generic Linux master. I am not sure where to place the links though.
>> 
>> I don't personally think we need to keep any other reference around. 
>> They're not interesting, because they're not going to be found by anyone
>> except those who already know they're there, and won't need to refer to
>> them for the kind of content they provide.
>> 
>> Kconfig isn't a fast-moving target, and there's nothing new in Linux vs
>> what we've got here.  The only interesting difference between us and
>> Linux is the fact we don't use modules, and we didn't even strip that
>> out of the shadow copy.
>> 
>> We do have xen/tools/kconfig/README.source which states where it came from.
>> 
>> I could be persuaded to add the following hunk.  What we have isn't
>> precisely v5.4 anyway - we've got some reasonable differences in the
>> makefile side of things.
> 
> The below is good enough in my opinion. Ack.
> 
> 
>> diff --git a/xen/tools/kconfig/README.source
>> b/xen/tools/kconfig/README.source
>> index 44631f68e8..ac394106b9 100644
>> --- a/xen/tools/kconfig/README.source
>> +++ b/xen/tools/kconfig/README.source
>> @@ -5,5 +5,7 @@ in this part of the Xen source tree.
>>  
>>  xen/tools/kconfig
>>  -----------------
>> -The kconfig directory was originally imported from the linux kernel
>> -git tree at kernel/git/torvalds/linux.git, path: scripts/kconfig
>> +The kconfig directory was originally imported from the Linux kernel
>> +git tree at kernel/git/torvalds/linux.git, path: scripts/kconfig of
>> +roughly v5.4.  Linux's documentation can be found at:
>> +https://www.kernel.org/doc/html/latest/kbuild/

Release-acked-by: Henry Wang <Henry.Wang@xxxxxxx>

Kind regards,
Henry




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.