All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@kernel.org>
To: Carlo Caione <ccaione@baylibre.com>
Cc: u-boot@lists.u-boot-project.org,
	GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	"Suhrid Subramaniam" <Suhrid.Subramaniam@mediatek.com>,
	"Macpaul Lin (林智斌)" <Macpaul.Lin@mediatek.com>,
	"Pablo Sun (孫毓翔)" <pablo.sun@mediatek.com>,
	"Arnaud Ferraris" <arnaud.ferraris@collabora.com>,
	"Tom Rini" <trini@konsulko.com>, "Simon Glass" <sjg@chromium.org>,
	"Sam Day" <me@samcday.com>,
	"Quentin Schulz" <quentin.schulz@cherry.de>,
	"David Lechner" <dlechner@baylibre.com>,
	"Vitor Sato Eschholz" <vsatoes@baylibre.com>,
	"Lukasz Majewski" <lukma@denx.de>,
	"Marek Vasut" <marek.vasut+usb@mailbox.org>,
	"Peng Fan" <peng.fan@nxp.com>,
	"Jaehoon Chung" <jh80.chung@samsung.com>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Julien Masson" <jmasson@baylibre.com>,
	"Alexey Charkov" <alchark@gmail.com>,
	"Adrian Freihofer" <adrian.freihofer@siemens.com>,
	"Francois Berder" <fberder@outlook.fr>,
	"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"Marek Vasut" <marek.vasut+renesas@mailbox.org>,
	"Vincent Jardin" <vjardin@free.fr>,
	"Peter Robinson" <pbrobinson@gmail.com>
Subject: Re: [PATCH v5 1/5] fastboot: factor out the USB session runner
Date: Fri, 11 Sep 2026 16:49:06 +0200	[thread overview]
Message-ID: <xhkdb5x0b4zdp.fsf@mkorpers-koolstof.csb> (raw)
In-Reply-To: <aqQCQWUtmHiW-Ifs@macbook.homenet.telecomitalia.it>

On Fri, Sep 11, 2026 at 15:33, Carlo Caione <ccaione@baylibre.com> wrote:

> On Fri, Sep 11, 2026 at 14:34:47 +0100, Mattijs Korpershoek wrote:
>> Hi Carlo,
>> 
>> Thank you for the patch.
>> 
>> compared with v3, v5 introduced some new changes which I don't
>> understand.
>> 
>> Please see below.
>
> Yeah, sorry about that. I received an off-list review so the changes are
> probably result of fixing those comments.

When possible, can we please try to avoid off-list reviews (or do them before
sending things out publicly) ?
It makes following along various versions for series harder (at least to
me)

>
> [...]
>> > --- /dev/null
>> > +++ b/drivers/fastboot/fb_usb.c
>> > @@ -0,0 +1,66 @@
>> > +// SPDX-License-Identifier: GPL-2.0-or-later
>> 
>> Why is this GPL-2.0-or-later? In v3 it was GPL-2.0+ which is what's
>> present in cmd/fastboot.c
>
> There was a suggestion to move to GPL-2.0-or-later because GPL-2.0+ is
> currently deprecated see https://spdx.org/licenses/GPL-2.0+.html

Ah, I was not aware that GPL-2.0+ was deprecated. Thanks for letting me know.

I see it's still widely used in the U-Boot sources:

$ git grep --count GPL-2.0+ | wc -l
14298

$ git grep --count GPL-2.0-or-later | wc -l
2315

I agree that we should migrate to GPL-2.0-or-later but that's not in
scope for this series, in my opinion.
Therefore, can we please keep the (deprecated) GPL-2.0+ instead since we
are literally copying it over from cmd/fastboot.c ?

Thanks
Mattijs

>
>> > +/*
>> > + * Copyright 2026 BayLibre SAS
>> 
>> This was also not present in v3 and does not seem an appropriate
>> addition to me since we are just copying code around. Why should it have
>> a new copyright?
>
> Totally fair point, I'll remove this.
>
> Thanks!
>
> --
> Carlo Caione

  reply	other threads:[~2026-09-11 14:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-06 20:01 [PATCH v5 0/5] Add fastboot to SPL Carlo Caione
2026-09-06 20:01 ` [PATCH v5 1/5] fastboot: factor out the USB session runner Carlo Caione
2026-09-09 20:31   ` David Lechner
2026-09-11 12:34   ` Mattijs Korpershoek
2026-09-11 13:33     ` Carlo Caione
2026-09-11 14:49       ` Mattijs Korpershoek [this message]
2026-09-06 20:02 ` [PATCH v5 2/5] fastboot: use the common handler for USB reboot Carlo Caione
2026-09-06 20:02 ` [PATCH v5 3/5] fastboot: make shared configuration checks phase-aware Carlo Caione
2026-09-11 12:38   ` Mattijs Korpershoek
2026-09-06 20:02 ` [PATCH v5 4/5] image: sparse: add phase-aware SPL support Carlo Caione
2026-09-06 20:02 ` [PATCH v5 5/5] fastboot: add " Carlo Caione
2026-09-09 21:16   ` David Lechner
2026-09-09 21:23     ` Carlo Caione
2026-09-09 21:57       ` David Lechner
2026-09-11 12:26         ` Mattijs Korpershoek
2026-09-11 13:30   ` Mattijs Korpershoek

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=xhkdb5x0b4zdp.fsf@mkorpers-koolstof.csb \
    --to=mkorpershoek@kernel.org \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=Macpaul.Lin@mediatek.com \
    --cc=Suhrid.Subramaniam@mediatek.com \
    --cc=adrian.freihofer@siemens.com \
    --cc=alchark@gmail.com \
    --cc=arnaud.ferraris@collabora.com \
    --cc=ccaione@baylibre.com \
    --cc=dlechner@baylibre.com \
    --cc=fberder@outlook.fr \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jh80.chung@samsung.com \
    --cc=jmasson@baylibre.com \
    --cc=lukma@denx.de \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=marek.vasut+usb@mailbox.org \
    --cc=me@samcday.com \
    --cc=neil.armstrong@linaro.org \
    --cc=pablo.sun@mediatek.com \
    --cc=pbrobinson@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=quentin.schulz@cherry.de \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=vjardin@free.fr \
    --cc=vsatoes@baylibre.com \
    /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.