All of lore.kernel.org
 help / color / mirror / Atom feed
* usb-next tree has patch applied twice
@ 2024-02-20 15:29 Alexander Stein
  2024-02-22  7:47 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Stein @ 2024-02-20 15:29 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-usb

Hi Greg,

on the usb-next tree [1] the patch 'usb: phy: generic: Get the vbus supply
has been applied twice:
* 03e607cbb2931374db1825f371e9c7f28526d3f4
* 75fd6485cccef269ac9eb3b71cf56753341195ef

causing my board imx8mm-tqma8mqml-mba8mx.dts failing to probe USB phy:
[   11.006720] usb_phy_generic usbphynop1: error -EPERM: could not get vbus regulator
[   11.017817] usb_phy_generic: probe of usbphynop1 failed with error -1

Reverting/removing the patch fix my problem.

Thanks
Alexander

[1] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/log/drivers/usb/phy?h=usb-next
-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



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

* Re: usb-next tree has patch applied twice
  2024-02-20 15:29 usb-next tree has patch applied twice Alexander Stein
@ 2024-02-22  7:47 ` Greg Kroah-Hartman
  2024-02-22 10:16   ` Alexander Stein
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Kroah-Hartman @ 2024-02-22  7:47 UTC (permalink / raw)
  To: Alexander Stein; +Cc: linux-usb

On Tue, Feb 20, 2024 at 04:29:04PM +0100, Alexander Stein wrote:
> Hi Greg,
> 
> on the usb-next tree [1] the patch 'usb: phy: generic: Get the vbus supply
> has been applied twice:
> * 03e607cbb2931374db1825f371e9c7f28526d3f4

This is from the 5.18 release, from this email series:
	https://lore.kernel.org/all/20220425171412.1188485-3-sean.anderson@seco.com/
from 2022.

> * 75fd6485cccef269ac9eb3b71cf56753341195ef

This is from a newer series:
	https://lore.kernel.org/all/20240123225111.1629405-3-sean.anderson@seco.com/
that I applied from there.

So how did it apply cleanly twice?

> causing my board imx8mm-tqma8mqml-mba8mx.dts failing to probe USB phy:
> [   11.006720] usb_phy_generic usbphynop1: error -EPERM: could not get vbus regulator
> [   11.017817] usb_phy_generic: probe of usbphynop1 failed with error -1
> 
> Reverting/removing the patch fix my problem.

Which patch?  All of the ones in that last series?  If so, why did it
apply at all?

totally confused,

greg k-h

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

* Re: usb-next tree has patch applied twice
  2024-02-22  7:47 ` Greg Kroah-Hartman
@ 2024-02-22 10:16   ` Alexander Stein
  2024-02-22 13:06     ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Stein @ 2024-02-22 10:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-usb, Sean Anderson

Hi,

CC'ing Sean as well.

Am Donnerstag, 22. Februar 2024, 08:47:28 CET schrieb Greg Kroah-Hartman:
> On Tue, Feb 20, 2024 at 04:29:04PM +0100, Alexander Stein wrote:
> > Hi Greg,
> > 
> > on the usb-next tree [1] the patch 'usb: phy: generic: Get the vbus supply
> > has been applied twice:
> > * 03e607cbb2931374db1825f371e9c7f28526d3f4
> 
> This is from the 5.18 release, from this email series:
> 	https://lore.kernel.org/all/20220425171412.1188485-3-sean.anderson@seco.com/
> from 2022.
> 
> > * 75fd6485cccef269ac9eb3b71cf56753341195ef
> 
> This is from a newer series:
> 	https://lore.kernel.org/all/20240123225111.1629405-3-sean.anderson@seco.com/
> that I applied from there.
> 
> So how did it apply cleanly twice?

Apparently the series from 2024 is v3 from the older v2 one. For some reason
only patch 2/4 from v2 got applied before. v3 seems to be a rebase where the
apply went unnoticed but the patch is again part of the series :(

> > causing my board imx8mm-tqma8mqml-mba8mx.dts failing to probe USB phy:
> > [   11.006720] usb_phy_generic usbphynop1: error -EPERM: could not get vbus regulator
> > [   11.017817] usb_phy_generic: probe of usbphynop1 failed with error -1
> > 
> > Reverting/removing the patch fix my problem.
> 
> Which patch?  All of the ones in that last series?  If so, why did it
> apply at all?

In my case I reverted 75fd6485cccef269ac9eb3b71cf56753341195ef from
usb-next, because that very change has been applied with
03e607cbb2931374db1825f371e9c7f28526d3f4 already.

Best regards,
Alexander

> totally confused,
> 
> greg k-h
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



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

* Re: usb-next tree has patch applied twice
  2024-02-22 10:16   ` Alexander Stein
@ 2024-02-22 13:06     ` Greg Kroah-Hartman
  2024-02-22 13:46       ` Alexander Stein
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Kroah-Hartman @ 2024-02-22 13:06 UTC (permalink / raw)
  To: Alexander Stein; +Cc: linux-usb, Sean Anderson

On Thu, Feb 22, 2024 at 11:16:59AM +0100, Alexander Stein wrote:
> Hi,
> 
> CC'ing Sean as well.
> 
> Am Donnerstag, 22. Februar 2024, 08:47:28 CET schrieb Greg Kroah-Hartman:
> > On Tue, Feb 20, 2024 at 04:29:04PM +0100, Alexander Stein wrote:
> > > Hi Greg,
> > > 
> > > on the usb-next tree [1] the patch 'usb: phy: generic: Get the vbus supply
> > > has been applied twice:
> > > * 03e607cbb2931374db1825f371e9c7f28526d3f4
> > 
> > This is from the 5.18 release, from this email series:
> > 	https://lore.kernel.org/all/20220425171412.1188485-3-sean.anderson@seco.com/
> > from 2022.
> > 
> > > * 75fd6485cccef269ac9eb3b71cf56753341195ef
> > 
> > This is from a newer series:
> > 	https://lore.kernel.org/all/20240123225111.1629405-3-sean.anderson@seco.com/
> > that I applied from there.
> > 
> > So how did it apply cleanly twice?
> 
> Apparently the series from 2024 is v3 from the older v2 one. For some reason
> only patch 2/4 from v2 got applied before. v3 seems to be a rebase where the
> apply went unnoticed but the patch is again part of the series :(
> 
> > > causing my board imx8mm-tqma8mqml-mba8mx.dts failing to probe USB phy:
> > > [   11.006720] usb_phy_generic usbphynop1: error -EPERM: could not get vbus regulator
> > > [   11.017817] usb_phy_generic: probe of usbphynop1 failed with error -1
> > > 
> > > Reverting/removing the patch fix my problem.
> > 
> > Which patch?  All of the ones in that last series?  If so, why did it
> > apply at all?
> 
> In my case I reverted 75fd6485cccef269ac9eb3b71cf56753341195ef from
> usb-next, because that very change has been applied with
> 03e607cbb2931374db1825f371e9c7f28526d3f4 already.

Can you send a patch that resolves this all properly?

thanks,

greg k-h

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

* Re: usb-next tree has patch applied twice
  2024-02-22 13:06     ` Greg Kroah-Hartman
@ 2024-02-22 13:46       ` Alexander Stein
  2024-02-22 14:05         ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Stein @ 2024-02-22 13:46 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-usb, Sean Anderson

Am Donnerstag, 22. Februar 2024, 14:06:12 CET schrieb Greg Kroah-Hartman:
> On Thu, Feb 22, 2024 at 11:16:59AM +0100, Alexander Stein wrote:
> > Hi,
> > 
> > CC'ing Sean as well.
> > 
> > Am Donnerstag, 22. Februar 2024, 08:47:28 CET schrieb Greg Kroah-Hartman:
> > > On Tue, Feb 20, 2024 at 04:29:04PM +0100, Alexander Stein wrote:
> > > > Hi Greg,
> > > > 
> > > > on the usb-next tree [1] the patch 'usb: phy: generic: Get the vbus supply
> > > > has been applied twice:
> > > > * 03e607cbb2931374db1825f371e9c7f28526d3f4
> > > 
> > > This is from the 5.18 release, from this email series:
> > > 	https://lore.kernel.org/all/20220425171412.1188485-3-sean.anderson@seco.com/
> > > from 2022.
> > > 
> > > > * 75fd6485cccef269ac9eb3b71cf56753341195ef
> > > 
> > > This is from a newer series:
> > > 	https://lore.kernel.org/all/20240123225111.1629405-3-sean.anderson@seco.com/
> > > that I applied from there.
> > > 
> > > So how did it apply cleanly twice?
> > 
> > Apparently the series from 2024 is v3 from the older v2 one. For some reason
> > only patch 2/4 from v2 got applied before. v3 seems to be a rebase where the
> > apply went unnoticed but the patch is again part of the series :(
> > 
> > > > causing my board imx8mm-tqma8mqml-mba8mx.dts failing to probe USB phy:
> > > > [   11.006720] usb_phy_generic usbphynop1: error -EPERM: could not get vbus regulator
> > > > [   11.017817] usb_phy_generic: probe of usbphynop1 failed with error -1
> > > > 
> > > > Reverting/removing the patch fix my problem.
> > > 
> > > Which patch?  All of the ones in that last series?  If so, why did it
> > > apply at all?
> > 
> > In my case I reverted 75fd6485cccef269ac9eb3b71cf56753341195ef from
> > usb-next, because that very change has been applied with
> > 03e607cbb2931374db1825f371e9c7f28526d3f4 already.
> 
> Can you send a patch that resolves this all properly?

Which tree shall this patch apply to? usb-next?
Shall it revert 03e607cbb2931374db1825f371e9c7f28526d3f4 from v5.18
or 75fd6485cccef269ac9eb3b71cf56753341195ef from usb-next?

Thanks,
Alexander

> thanks,
> 
> greg k-h
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



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

* Re: usb-next tree has patch applied twice
  2024-02-22 13:46       ` Alexander Stein
@ 2024-02-22 14:05         ` Greg Kroah-Hartman
  2024-02-22 16:08           ` Sean Anderson
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Kroah-Hartman @ 2024-02-22 14:05 UTC (permalink / raw)
  To: Alexander Stein; +Cc: linux-usb, Sean Anderson

On Thu, Feb 22, 2024 at 02:46:46PM +0100, Alexander Stein wrote:
> Am Donnerstag, 22. Februar 2024, 14:06:12 CET schrieb Greg Kroah-Hartman:
> > On Thu, Feb 22, 2024 at 11:16:59AM +0100, Alexander Stein wrote:
> > > Hi,
> > > 
> > > CC'ing Sean as well.
> > > 
> > > Am Donnerstag, 22. Februar 2024, 08:47:28 CET schrieb Greg Kroah-Hartman:
> > > > On Tue, Feb 20, 2024 at 04:29:04PM +0100, Alexander Stein wrote:
> > > > > Hi Greg,
> > > > > 
> > > > > on the usb-next tree [1] the patch 'usb: phy: generic: Get the vbus supply
> > > > > has been applied twice:
> > > > > * 03e607cbb2931374db1825f371e9c7f28526d3f4
> > > > 
> > > > This is from the 5.18 release, from this email series:
> > > > 	https://lore.kernel.org/all/20220425171412.1188485-3-sean.anderson@seco.com/
> > > > from 2022.
> > > > 
> > > > > * 75fd6485cccef269ac9eb3b71cf56753341195ef
> > > > 
> > > > This is from a newer series:
> > > > 	https://lore.kernel.org/all/20240123225111.1629405-3-sean.anderson@seco.com/
> > > > that I applied from there.
> > > > 
> > > > So how did it apply cleanly twice?
> > > 
> > > Apparently the series from 2024 is v3 from the older v2 one. For some reason
> > > only patch 2/4 from v2 got applied before. v3 seems to be a rebase where the
> > > apply went unnoticed but the patch is again part of the series :(
> > > 
> > > > > causing my board imx8mm-tqma8mqml-mba8mx.dts failing to probe USB phy:
> > > > > [   11.006720] usb_phy_generic usbphynop1: error -EPERM: could not get vbus regulator
> > > > > [   11.017817] usb_phy_generic: probe of usbphynop1 failed with error -1
> > > > > 
> > > > > Reverting/removing the patch fix my problem.
> > > > 
> > > > Which patch?  All of the ones in that last series?  If so, why did it
> > > > apply at all?
> > > 
> > > In my case I reverted 75fd6485cccef269ac9eb3b71cf56753341195ef from
> > > usb-next, because that very change has been applied with
> > > 03e607cbb2931374db1825f371e9c7f28526d3f4 already.
> > 
> > Can you send a patch that resolves this all properly?
> 
> Which tree shall this patch apply to? usb-next?

Yes.

> Shall it revert 03e607cbb2931374db1825f371e9c7f28526d3f4 from v5.18
> or 75fd6485cccef269ac9eb3b71cf56753341195ef from usb-next?

the "unique to usb-next" one please.

Also realize that there was multiple patches in that series that were
applied, can you check the others as well?

thanks,

greg k-h

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

* Re: usb-next tree has patch applied twice
  2024-02-22 14:05         ` Greg Kroah-Hartman
@ 2024-02-22 16:08           ` Sean Anderson
  0 siblings, 0 replies; 7+ messages in thread
From: Sean Anderson @ 2024-02-22 16:08 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Alexander Stein; +Cc: linux-usb

On 2/22/24 09:05, Greg Kroah-Hartman wrote:
> On Thu, Feb 22, 2024 at 02:46:46PM +0100, Alexander Stein wrote:
>> Am Donnerstag, 22. Februar 2024, 14:06:12 CET schrieb Greg Kroah-Hartman:
>> > On Thu, Feb 22, 2024 at 11:16:59AM +0100, Alexander Stein wrote:
>> > > Hi,
>> > >
>> > > CC'ing Sean as well.
>> > >
>> > > Am Donnerstag, 22. Februar 2024, 08:47:28 CET schrieb Greg Kroah-Hartman:
>> > > > On Tue, Feb 20, 2024 at 04:29:04PM +0100, Alexander Stein wrote:
>> > > > > Hi Greg,
>> > > > >
>> > > > > on the usb-next tree [1] the patch 'usb: phy: generic: Get the vbus supply
>> > > > > has been applied twice:
>> > > > > * 03e607cbb2931374db1825f371e9c7f28526d3f4
>> > > >
>> > > > This is from the 5.18 release, from this email series:
>> > > >        https://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2flore.kernel.org%2fall%2f20220425171412.1188485%2d3%2dsean.anderson%40seco.com%2f&umid=65610ef7-cec9-4349-9da2-5479da31f7a6&auth=d807158c60b7d2502abde8a2fc01f40662980862-b44e4424759ff89719033b8aec4852f55b694453
>> > > > from 2022.
>> > > >
>> > > > > * 75fd6485cccef269ac9eb3b71cf56753341195ef
>> > > >
>> > > > This is from a newer series:
>> > > >        https://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2flore.kernel.org%2fall%2f20240123225111.1629405%2d3%2dsean.anderson%40seco.com%2f&umid=65610ef7-cec9-4349-9da2-5479da31f7a6&auth=d807158c60b7d2502abde8a2fc01f40662980862-bd5a1c24e9d7496c10f251fb9eff5b0c1af1baef
>> > > > that I applied from there.
>> > > >
>> > > > So how did it apply cleanly twice?
>> > >
>> > > Apparently the series from 2024 is v3 from the older v2 one. For some reason
>> > > only patch 2/4 from v2 got applied before. v3 seems to be a rebase where the
>> > > apply went unnoticed but the patch is again part of the series :(
>> > >
>> > > > > causing my board imx8mm-tqma8mqml-mba8mx.dts failing to probe USB phy:
>> > > > > [   11.006720] usb_phy_generic usbphynop1: error -EPERM: could not get vbus regulator
>> > > > > [   11.017817] usb_phy_generic: probe of usbphynop1 failed with error -1
>> > > > >
>> > > > > Reverting/removing the patch fix my problem.
>> > > >
>> > > > Which patch?  All of the ones in that last series?  If so, why did it
>> > > > apply at all?
>> > >
>> > > In my case I reverted 75fd6485cccef269ac9eb3b71cf56753341195ef from
>> > > usb-next, because that very change has been applied with
>> > > 03e607cbb2931374db1825f371e9c7f28526d3f4 already.
>> >
>> > Can you send a patch that resolves this all properly?
>>
>> Which tree shall this patch apply to? usb-next?
>
> Yes.
>
>> Shall it revert 03e607cbb2931374db1825f371e9c7f28526d3f4 from v5.18
>> or 75fd6485cccef269ac9eb3b71cf56753341195ef from usb-next?
>
> the "unique to usb-next" one please.
>
> Also realize that there was multiple patches in that series that were
> applied, can you check the others as well?

That should be the only one.

I replied to the original patch [1], but I guess I should have also replied to [2] ?

--Sean

[1] https://lore.kernel.org/all/39a17b10-c66a-432e-b4ed-012374dcbe20@seco.com/
[2] message id 2024012811-rounding-foam-3366@gregkh (not on lists)

[Embedded World 2024, SECO SpA]<https://www.messe-ticket.de/Nuernberg/embeddedworld2024/Register/ew24517689>

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

end of thread, other threads:[~2024-02-22 16:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-20 15:29 usb-next tree has patch applied twice Alexander Stein
2024-02-22  7:47 ` Greg Kroah-Hartman
2024-02-22 10:16   ` Alexander Stein
2024-02-22 13:06     ` Greg Kroah-Hartman
2024-02-22 13:46       ` Alexander Stein
2024-02-22 14:05         ` Greg Kroah-Hartman
2024-02-22 16:08           ` Sean Anderson

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.