Linux USB
 help / color / mirror / Atom feed
* [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk
@ 2025-02-09 14:56 Marek Vasut
  2025-02-09 15:44 ` Greg Kroah-Hartman
  2025-02-10 10:32 ` Geert Uytterhoeven
  0 siblings, 2 replies; 5+ messages in thread
From: Marek Vasut @ 2025-02-09 14:56 UTC (permalink / raw)
  To: linux-usb
  Cc: Marek Vasut, Chris Brandt, Geert Uytterhoeven, Greg Kroah-Hartman,
	Oliver Neukum, linux-renesas-soc, stable

Add Renesas R-Car D3 USB Download mode quirk and update comments
on all the other Renesas R-Car USB Download mode quirks to discern
them from each other. This follows R-Car Series, 3rd Generation
reference manual Rev.2.00 chapter 19.2.8 USB download mode .

Fixes: 6d853c9e4104 ("usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Chris Brandt <chris.brandt@renesas.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Oliver Neukum <oneukum@suse.com>
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Cc: stable@vger.kernel.org
---
 drivers/usb/class/cdc-acm.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 6b37d1c47fce1..06c7d86c5449e 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1727,13 +1727,16 @@ static const struct usb_device_id acm_ids[] = {
 	{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */
 	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
 	},
-	{ USB_DEVICE(0x045b, 0x023c),	/* Renesas USB Download mode */
+	{ USB_DEVICE(0x045b, 0x023c),	/* Renesas R-Car H3 USB Download mode */
 	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
 	},
-	{ USB_DEVICE(0x045b, 0x0248),	/* Renesas USB Download mode */
+	{ USB_DEVICE(0x045b, 0x0247),	/* Renesas R-Car D3 USB Download mode */
 	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
 	},
-	{ USB_DEVICE(0x045b, 0x024D),	/* Renesas USB Download mode */
+	{ USB_DEVICE(0x045b, 0x0248),	/* Renesas R-Car M3-N USB Download mode */
+	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
+	},
+	{ USB_DEVICE(0x045b, 0x024D),	/* Renesas R-Car E3 USB Download mode */
 	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
 	},
 	{ USB_DEVICE(0x0e8d, 0x0003), /* FIREFLY, MediaTek Inc; andrey.arapov@gmail.com */
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk
  2025-02-09 14:56 [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk Marek Vasut
@ 2025-02-09 15:44 ` Greg Kroah-Hartman
  2025-02-09 18:10   ` Marek Vasut
  2025-02-10 10:32 ` Geert Uytterhoeven
  1 sibling, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2025-02-09 15:44 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-usb, Chris Brandt, Geert Uytterhoeven, Oliver Neukum,
	linux-renesas-soc, stable

On Sun, Feb 09, 2025 at 03:56:11PM +0100, Marek Vasut wrote:
> Add Renesas R-Car D3 USB Download mode quirk and update comments
> on all the other Renesas R-Car USB Download mode quirks to discern
> them from each other. This follows R-Car Series, 3rd Generation
> reference manual Rev.2.00 chapter 19.2.8 USB download mode .
> 
> Fixes: 6d853c9e4104 ("usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode")
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
> Cc: Chris Brandt <chris.brandt@renesas.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Oliver Neukum <oneukum@suse.com>
> Cc: linux-renesas-soc@vger.kernel.org
> Cc: linux-usb@vger.kernel.org
> Cc: stable@vger.kernel.org
> ---
>  drivers/usb/class/cdc-acm.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
> index 6b37d1c47fce1..06c7d86c5449e 100644
> --- a/drivers/usb/class/cdc-acm.c
> +++ b/drivers/usb/class/cdc-acm.c
> @@ -1727,13 +1727,16 @@ static const struct usb_device_id acm_ids[] = {
>  	{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */
>  	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
>  	},
> -	{ USB_DEVICE(0x045b, 0x023c),	/* Renesas USB Download mode */
> +	{ USB_DEVICE(0x045b, 0x023c),	/* Renesas R-Car H3 USB Download mode */
>  	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
>  	},
> -	{ USB_DEVICE(0x045b, 0x0248),	/* Renesas USB Download mode */
> +	{ USB_DEVICE(0x045b, 0x0247),	/* Renesas R-Car D3 USB Download mode */
>  	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
>  	},
> -	{ USB_DEVICE(0x045b, 0x024D),	/* Renesas USB Download mode */
> +	{ USB_DEVICE(0x045b, 0x0248),	/* Renesas R-Car M3-N USB Download mode */
> +	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
> +	},
> +	{ USB_DEVICE(0x045b, 0x024D),	/* Renesas R-Car E3 USB Download mode */
>  	.driver_info = DISABLE_ECHO,	/* Don't echo banner */
>  	},
>  	{ USB_DEVICE(0x0e8d, 0x0003), /* FIREFLY, MediaTek Inc; andrey.arapov@gmail.com */
> -- 
> 2.47.2
> 
> 

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- You have marked a patch with a "Fixes:" tag for a commit that is in an
  older released kernel, yet you do not have a cc: stable line in the
  signed-off-by area at all, which means that the patch will not be
  applied to any older kernel releases.  To properly fix this, please
  follow the documented rules in the
  Documentation/process/stable-kernel-rules.rst file for how to resolve
  this.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk
  2025-02-09 15:44 ` Greg Kroah-Hartman
@ 2025-02-09 18:10   ` Marek Vasut
  2025-02-10  5:37     ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Marek Vasut @ 2025-02-09 18:10 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-usb, Chris Brandt, Geert Uytterhoeven, Oliver Neukum,
	linux-renesas-soc, stable

On 2/9/25 4:44 PM, Greg Kroah-Hartman wrote:
> On Sun, Feb 09, 2025 at 03:56:11PM +0100, Marek Vasut wrote:
>> Add Renesas R-Car D3 USB Download mode quirk and update comments
>> on all the other Renesas R-Car USB Download mode quirks to discern
>> them from each other. This follows R-Car Series, 3rd Generation
>> reference manual Rev.2.00 chapter 19.2.8 USB download mode .
>>
>> Fixes: 6d853c9e4104 ("usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode")
>> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
>> ---
>> Cc: Chris Brandt <chris.brandt@renesas.com>
>> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> Cc: Oliver Neukum <oneukum@suse.com>
>> Cc: linux-renesas-soc@vger.kernel.org
>> Cc: linux-usb@vger.kernel.org
>> Cc: stable@vger.kernel.org

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[...]

> You are receiving this message because of the following common error(s)
> as indicated below:
> 
> - You have marked a patch with a "Fixes:" tag for a commit that is in an
>    older released kernel, yet you do not have a cc: stable line in the
>    signed-off-by area at all, which means that the patch will not be
>    applied to any older kernel releases.  To properly fix this, please
>    follow the documented rules in the
>    Documentation/process/stable-kernel-rules.rst file for how to resolve
>    this.

Cc: stable is right there, below --- so it wouldn't become part of the 
commit message when the patch is applied. Is that OK too ?

-- 
Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk
  2025-02-09 18:10   ` Marek Vasut
@ 2025-02-10  5:37     ` Greg Kroah-Hartman
  0 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2025-02-10  5:37 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-usb, Chris Brandt, Geert Uytterhoeven, Oliver Neukum,
	linux-renesas-soc, stable

On Sun, Feb 09, 2025 at 07:10:47PM +0100, Marek Vasut wrote:
> On 2/9/25 4:44 PM, Greg Kroah-Hartman wrote:
> > On Sun, Feb 09, 2025 at 03:56:11PM +0100, Marek Vasut wrote:
> > > Add Renesas R-Car D3 USB Download mode quirk and update comments
> > > on all the other Renesas R-Car USB Download mode quirks to discern
> > > them from each other. This follows R-Car Series, 3rd Generation
> > > reference manual Rev.2.00 chapter 19.2.8 USB download mode .
> > > 
> > > Fixes: 6d853c9e4104 ("usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode")
> > > Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> > > ---
> > > Cc: Chris Brandt <chris.brandt@renesas.com>
> > > Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> > > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > > Cc: Oliver Neukum <oneukum@suse.com>
> > > Cc: linux-renesas-soc@vger.kernel.org
> > > Cc: linux-usb@vger.kernel.org
> > > Cc: stable@vger.kernel.org
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> [...]
> 
> > You are receiving this message because of the following common error(s)
> > as indicated below:
> > 
> > - You have marked a patch with a "Fixes:" tag for a commit that is in an
> >    older released kernel, yet you do not have a cc: stable line in the
> >    signed-off-by area at all, which means that the patch will not be
> >    applied to any older kernel releases.  To properly fix this, please
> >    follow the documented rules in the
> >    Documentation/process/stable-kernel-rules.rst file for how to resolve
> >    this.
> 
> Cc: stable is right there, below --- so it wouldn't become part of the
> commit message when the patch is applied. Is that OK too ?

No that is not, it needs to become part of the commit message, as per
the kernel documentation.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk
  2025-02-09 14:56 [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk Marek Vasut
  2025-02-09 15:44 ` Greg Kroah-Hartman
@ 2025-02-10 10:32 ` Geert Uytterhoeven
  1 sibling, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2025-02-10 10:32 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-usb, Chris Brandt, Geert Uytterhoeven, Greg Kroah-Hartman,
	Oliver Neukum, linux-renesas-soc, stable

Hi Marek,

On Sun, 9 Feb 2025 at 15:57, Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
> Add Renesas R-Car D3 USB Download mode quirk and update comments
> on all the other Renesas R-Car USB Download mode quirks to discern
> them from each other. This follows R-Car Series, 3rd Generation
> reference manual Rev.2.00 chapter 19.2.8 USB download mode .
>
> Fixes: 6d853c9e4104 ("usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode")
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>

Thanks for your patch!

Still true in Rev.2.40 of the documentation ;-)

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-10 10:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-09 14:56 [PATCH] USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk Marek Vasut
2025-02-09 15:44 ` Greg Kroah-Hartman
2025-02-09 18:10   ` Marek Vasut
2025-02-10  5:37     ` Greg Kroah-Hartman
2025-02-10 10:32 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox