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.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 6572BC4332F for ; Fri, 10 Nov 2023 22:13:45 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.630821.983958 (Exim 4.92) (envelope-from ) id 1r1Zkg-0002Sz-2G; Fri, 10 Nov 2023 22:13:22 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 630821.983958; Fri, 10 Nov 2023 22:13:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1Zkf-0002Ss-Vi; Fri, 10 Nov 2023 22:13:21 +0000 Received: by outflank-mailman (input) for mailman id 630821; Fri, 10 Nov 2023 22:13:21 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1Zkf-0002Sm-HH for xen-devel@lists.xenproject.org; Fri, 10 Nov 2023 22:13:21 +0000 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [2a00:1450:4864:20::32c]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 5a48c3e6-8016-11ee-9b0e-b553b5be7939; Fri, 10 Nov 2023 23:13:19 +0100 (CET) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40a4859b231so5323315e9.0 for ; Fri, 10 Nov 2023 14:13:19 -0800 (PST) Received: from [192.168.1.10] (host-92-26-107-252.as13285.net. [92.26.107.252]) by smtp.gmail.com with ESMTPSA id h9-20020a05600c350900b004094d4292aesm530809wmq.18.2023.11.10.14.13.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Nov 2023 14:13:18 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 5a48c3e6-8016-11ee-9b0e-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1699654398; x=1700259198; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EM6gouvi/9+cJS403KfZBLMwqeRdBs6ofp44nFKKCp0=; b=NghGfwlC0QirMnglk5b+CjWFaWJvSLwnYAMoJnSBqfrA9uFjNLZSbK99Na32nNeLGS FFZtgylgGQgaGtzht4xnzD27eldvZ4YyaXKTAY/lQ70nv4bcBSFUw8UCXefIb3SlfTus ozqMlwLuCnd81Ve4apb86viMSSvGsquCHM0s4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699654398; x=1700259198; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EM6gouvi/9+cJS403KfZBLMwqeRdBs6ofp44nFKKCp0=; b=vbjhWL+kB3gE8MwUSl0ZzehooGtExRzTixFFV89ukQLPkf//g7q3nFp+ffuIS3v/md jhyNlrr8he+CxzLPnAhwECyljXO9F5ppMs2CZ8PYnY2asBDRXc+o2eVNCPBqhmtgma1z /WRUIw7N+n+J6LThZ2777o/1WcfcxdV+1+2mV/gBQdjKwBJX27+NSlqxeFpDWd+kArXy YwRPnxeZJXxcoXyOU1a1xbwZB4Q8wCZM7OaJUnPY91bxUf2edSHBJeYT79BB4VO+VmPA xU4LgjObSN8CPvR7hbtwNNTbWW75Vnaj9s16i7GVwSx5v2BtROlNS8DcUJ/XBtHdCB+4 q9xQ== X-Gm-Message-State: AOJu0YwuJ5NG32sCr+Q4o3OQ47+DfCgAwIpPfZoPVecnpVVK2PZNnOOw r6+KW3hN506viO0zYg08GQeyiw== X-Google-Smtp-Source: AGHT+IHao1u+iWBG6kN+o2PKMIdg6mpEQFFYuzL7X+93GHzjXP64yJ0JBt4E8JWqLPCP88lC4eLGRg== X-Received: by 2002:a05:600c:4715:b0:405:1ba2:4fcb with SMTP id v21-20020a05600c471500b004051ba24fcbmr472911wmo.16.1699654398261; Fri, 10 Nov 2023 14:13:18 -0800 (PST) Message-ID: Date: Fri, 10 Nov 2023 22:13:17 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH for-4.18] docs: Delete kconfig docs to fix licensing violation Content-Language: en-GB To: Stefano Stabellini , Jan Beulich Cc: George Dunlap , Wei Liu , Julien Grall , Henry Wang , Xen-devel References: <20231108143751.49309-1-andrew.cooper3@citrix.com> From: Andrew Cooper Autocrypt: addr=andrew.cooper3@citrix.com; keydata= xsFNBFLhNn8BEADVhE+Hb8i0GV6mihnnr/uiQQdPF8kUoFzCOPXkf7jQ5sLYeJa0cQi6Penp VtiFYznTairnVsN5J+ujSTIb+OlMSJUWV4opS7WVNnxHbFTPYZVQ3erv7NKc2iVizCRZ2Kxn srM1oPXWRic8BIAdYOKOloF2300SL/bIpeD+x7h3w9B/qez7nOin5NzkxgFoaUeIal12pXSR Q354FKFoy6Vh96gc4VRqte3jw8mPuJQpfws+Pb+swvSf/i1q1+1I4jsRQQh2m6OTADHIqg2E ofTYAEh7R5HfPx0EXoEDMdRjOeKn8+vvkAwhviWXTHlG3R1QkbE5M/oywnZ83udJmi+lxjJ5 YhQ5IzomvJ16H0Bq+TLyVLO/VRksp1VR9HxCzItLNCS8PdpYYz5TC204ViycobYU65WMpzWe LFAGn8jSS25XIpqv0Y9k87dLbctKKA14Ifw2kq5OIVu2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wK+C4UePdFLfhKyRdSXuvY3AHJd4CP 4JzW0Bzq/WXY3XMOzUTYApGQpnUpdOmuQSfpV9MQO+/jo7r6yPbxT7CwRS5dcQPzUiuHLK9i nvjREdh84qycnx0/6dDroYhp0DFv4udxuAvt1h4wGwTPRQZerSm4xaYegEFusyhbZrI0U9tJ B8WrhBLXDiYlyJT6zOV2yZFuW47VrLsjYnHwn27hmxTC/7tvG3euCklmkn9Sl9IAKFu29RSo d5bD8kMSCYsTqtTfT6W4A3qHGvIDta3ptLYpIAOD2sY3GYq2nf3Bbzx81wZK14JdDDHUX2Rs 6+ahAA== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 >>> --- >>> CC: George Dunlap >>> CC: Jan Beulich >>> CC: Stefano Stabellini >>> CC: Wei Liu >>> CC: Julien Grall >>> CC: Henry Wang >>> --- >>> 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. ~Andrew 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/