All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien@xen.org>
To: John Ernberg <john.ernberg@actia.se>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Bertrand Marquis <bertrand.marquis@arm.com>,
	Michal Orzel <michal.orzel@amd.com>,
	Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
	"conduct@xenproject.org" <conduct@xenproject.org>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Peng Fan <peng.fan@nxp.com>, Jonas Blixt <jonas.blixt@actia.se>
Subject: Re: [PATCH v4 1/3] xen/arm: Add imx8q{m,x} platform glue
Date: Mon, 15 Apr 2024 12:48:58 +0100	[thread overview]
Message-ID: <1272bb77-8a93-4ca2-af0d-4c1c36729307@xen.org> (raw)
In-Reply-To: <e3785d8a-9b16-4b74-9453-b0166bdbb171@actia.se>

Hi John,

On 15/04/2024 12:17, John Ernberg wrote:
> Hi Julien,
> 
> On 4/15/24 1:03 PM, Julien Grall wrote:
>>
>>
>> On 15/04/2024 11:50, Andrew Cooper wrote:
>>> On 15/04/2024 11:25 am, Julien Grall wrote:
>>>> Hi John,
>>>>
>>>> I saw this patch was committed. I have one question this may require
>>>> some adjustment.
>>>>
>>>> On 08/04/2024 17:11, John Ernberg wrote:
>>>>> ---
>>>>>     xen/arch/arm/platforms/Makefile |   1 +
>>>>>     xen/arch/arm/platforms/imx8qm.c | 139
>>>>> ++++++++++++++++++++++++++++++++
>>>>>     2 files changed, 140 insertions(+)
>>>>>     create mode 100644 xen/arch/arm/platforms/imx8qm.c
>>>>>
>>>>> diff --git a/xen/arch/arm/platforms/Makefile
>>>>> b/xen/arch/arm/platforms/Makefile
>>>>> index 8632f4115f..bec6e55d1f 100644
>>>>> --- a/xen/arch/arm/platforms/Makefile
>>>>> +++ b/xen/arch/arm/platforms/Makefile
>>>>> @@ -9,5 +9,6 @@ obj-$(CONFIG_ALL_PLAT)   += sunxi.o
>>>>>     obj-$(CONFIG_ALL64_PLAT) += thunderx.o
>>>>>     obj-$(CONFIG_ALL64_PLAT) += xgene-storm.o
>>>>>     obj-$(CONFIG_ALL64_PLAT) += brcm-raspberry-pi.o
>>>>> +obj-$(CONFIG_ALL64_PLAT) += imx8qm.o
>>>>>     obj-$(CONFIG_MPSOC_PLATFORM)  += xilinx-zynqmp.o
>>>>>     obj-$(CONFIG_MPSOC_PLATFORM)  += xilinx-zynqmp-eemi.o
>>>>> diff --git a/xen/arch/arm/platforms/imx8qm.c
>>>>> b/xen/arch/arm/platforms/imx8qm.c
>>>>> new file mode 100644
>>>>> index 0000000000..3600a073e8
>>>>> --- /dev/null
>>>>> +++ b/xen/arch/arm/platforms/imx8qm.c
>>>>> @@ -0,0 +1,139 @@
>>>>> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>>>>
>>>> The majority of Xen code is using GPL-2.0-only. In the early days for
>>>> Xen on Arm we started to use GPLv2+ which I consider it was a mistake.
>>>> Unfortunately this started to spread as people copied/pasted the same
>>>> copyright headers.
>>>>
>>>> So can you confirm whether you intended to use GPL-2.0+? If not would
>>>> you be able to send a patch to adjust it? (Better to it before there
>>>> are more modifications).
>>>
>>> Julien: I've called you out multiple times before.
>>
>> And there are multiple thread explaining why I am requesting if we can
>> use GPLv2-only. In fact from CONTRIBUTING:
>>
>> The recommended license of a directory will depend on the COPYING file.
>> If the new file is using a different license, this should be highlighted
>> and discussed in the commit message or cover letter introducing the
>> file.
>>
> 
> Since part of the code was not written by me, but by Peng, I think both
> of us need to agree to a license change if one is to be made.

Ah I didn't realize that Peng also contributed. Let's wait if he is 
happy with the change.

Also, offline, I was pointed out that I could explain a little bit more 
why I asked if this could be changed. From [1]:

"IIRC from past discussion there are two broads concern with GPLv2+:
    - We are leaving the choice of which license applies to the person
copying the code. So if a new version is released that is less favorable
to the initial contributor, then we have no leverage.
    - Some companies are rather cautious to contribute code that may be
licensed under GPLv3 (would be allowed with GPLv2+).

The later is particularly a problem because not many people realize that
a fair part of Xen on Arm is GPLv2+. I never really understood why we
chose that (this was before my time) but this got spread as the existing
copyright was added to a new file. Admittely, the contributor should be
more cautious. But I would not say this is trivial to spot the difference."

Cheers,

[1] 
https://lore.kernel.org/xen-devel/f235f6f8-d585-4e24-7fc8-3f2df9240c9d@xen.org/

-- 
Julien Grall


  reply	other threads:[~2024-04-15 11:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 16:11 [PATCH v4 0/3] Xen: ARM: Improved NXP iMX8 platform support John Ernberg
2024-04-08 16:11 ` [PATCH v4 1/3] xen/arm: Add imx8q{m,x} platform glue John Ernberg
2024-04-08 23:40   ` Peng Fan
2024-04-09  6:47   ` Michal Orzel
2024-04-10  6:53     ` John Ernberg
2024-04-10  7:05       ` Michal Orzel
2024-04-15 10:25   ` Julien Grall
2024-04-15 10:50     ` Andrew Cooper
2024-04-15 11:03       ` Julien Grall
2024-04-15 11:17         ` John Ernberg
2024-04-15 11:48           ` Julien Grall [this message]
2024-04-16  6:48             ` Peng Fan
2024-04-15 11:19         ` Kelly Choi
2024-04-08 16:11 ` [PATCH v4 3/3] MAINTAINERS: Become a reviewer of iMX8Q{M,XP} related patches John Ernberg
2024-04-08 23:41   ` Peng Fan
2024-04-08 16:11 ` [PATCH v4 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP John Ernberg
2024-04-08 23:38   ` Peng Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1272bb77-8a93-4ca2-af0d-4c1c36729307@xen.org \
    --to=julien@xen.org \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=bertrand.marquis@arm.com \
    --cc=conduct@xenproject.org \
    --cc=john.ernberg@actia.se \
    --cc=jonas.blixt@actia.se \
    --cc=michal.orzel@amd.com \
    --cc=peng.fan@nxp.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.