stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: usb: dwc3: some USB devices not working after 6.4.8
       [not found] <CAF1eZtsBzGb_UxOqZpNiEsk8Uk7DkqPh5AnYRRNc_kkr-tFasQ@mail.gmail.com>
@ 2023-09-03 23:53 ` Bagas Sanjaya
  2023-09-06  1:32   ` Thinh Nguyen
  2023-10-20 10:39   ` Linux regression tracking #update (Thorsten Leemhuis)
  0 siblings, 2 replies; 7+ messages in thread
From: Bagas Sanjaya @ 2023-09-03 23:53 UTC (permalink / raw)
  To: Kenta Sato, Linux Kernel Mailing List
  Cc: Jisheng Zhang, Thinh Nguyen, Greg Kroah-Hartman,
	Linux Regressions, Linux USB, Linux Stable

[-- Attachment #1: Type: text/plain, Size: 2695 bytes --]

On Sun, Sep 03, 2023 at 09:19:13PM +0900, Kenta Sato wrote:
> Hi,
> 
> I am using the FriendlyElec NanoPi R4S board.
> When I update the kernel from 6.4.7 to 6.4.11, 6.4.13, and 6.5.1, it
> doesn't recognize some USB devices.
> 
> The board has two USB 3.0 ports. I connected 1) BUFFALO USB Flash Disk
> (high-speed) and 2) NETGEAR A6210 (SuperSpeed) to each port.
> 1) is often not recognized. On the other hand, 2) was working while I
> was testing.
> Regardless of whether a USB device is connected, I could see the below
> message on dmesg:
> 
> [    0.740993] phy phy-ff7c0000.phy.8: phy poweron failed --> -110
> [    0.741585] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
> [    0.742334] dwc3: probe of fe800000.usb failed with error -110
> [    0.751635] rockchip-usb2phy ff770000.syscon:usb2phy@e460:
> Requested PHY is disabled
> 
> Is there any idea on this?
> 
> The cause seems to be related to this commit. I tried reverting this
> change and the issue seemed to be solved.
> 
> >From 317d6e4c12b46bde61248ea4ab5e19f68cbd1c57 Mon Sep 17 00:00:00 2001
> From: Jisheng Zhang <jszhang@kernel.org>
> Date: Wed, 28 Jun 2023 00:20:18 +0800
> Subject: usb: dwc3: don't reset device side if dwc3 was configured as
>  host-only
> 
> commit e835c0a4e23c38531dcee5ef77e8d1cf462658c7 upstream.
> 
> Commit c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> system_suspend in host mode") replaces check for HOST only dr_mode with
> current_dr_role. But during booting, the current_dr_role isn't
> initialized, thus the device side reset is always issued even if dwc3
> was configured as host-only. What's more, on some platforms with host
> only dwc3, aways issuing device side reset by accessing device register
> block can cause kernel panic.
> 
> Fixes: c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> system_suspend in host mode")
> Cc: stable <stable@kernel.org>
> Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
> Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
> Link: https://lore.kernel.org/r/20230627162018.739-1-jszhang@kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---
>  drivers/usb/dwc3/core.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.4.8&id=317d6e4c12b46bde61248ea4ab5e19f68cbd1c57
> 

Thanks for the regression report. I'm adding it to regzbot:

#regzbot ^introduced: e835c0a4e23c38
#regzbot title: some USB devices unrecognized caused by not resetting dwc3 device if it is host-only

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: usb: dwc3: some USB devices not working after 6.4.8
  2023-09-03 23:53 ` usb: dwc3: some USB devices not working after 6.4.8 Bagas Sanjaya
@ 2023-09-06  1:32   ` Thinh Nguyen
  2023-09-06 16:29     ` Jisheng Zhang
  2023-09-07 17:47     ` Kenta Sato
  2023-10-20 10:39   ` Linux regression tracking #update (Thorsten Leemhuis)
  1 sibling, 2 replies; 7+ messages in thread
From: Thinh Nguyen @ 2023-09-06  1:32 UTC (permalink / raw)
  To: Kenta Sato, Bagas Sanjaya
  Cc: Linux Kernel Mailing List, Jisheng Zhang, Thinh Nguyen,
	Greg Kroah-Hartman, Linux Regressions, Linux USB, Linux Stable

On Mon, Sep 04, 2023, Bagas Sanjaya wrote:
> On Sun, Sep 03, 2023 at 09:19:13PM +0900, Kenta Sato wrote:
> > Hi,
> > 
> > I am using the FriendlyElec NanoPi R4S board.
> > When I update the kernel from 6.4.7 to 6.4.11, 6.4.13, and 6.5.1, it
> > doesn't recognize some USB devices.
> > 
> > The board has two USB 3.0 ports. I connected 1) BUFFALO USB Flash Disk
> > (high-speed) and 2) NETGEAR A6210 (SuperSpeed) to each port.
> > 1) is often not recognized. On the other hand, 2) was working while I
> > was testing.
> > Regardless of whether a USB device is connected, I could see the below
> > message on dmesg:
> > 
> > [    0.740993] phy phy-ff7c0000.phy.8: phy poweron failed --> -110
> > [    0.741585] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
> > [    0.742334] dwc3: probe of fe800000.usb failed with error -110
> > [    0.751635] rockchip-usb2phy ff770000.syscon:usb2phy@e460:
> > Requested PHY is disabled
> > 
> > Is there any idea on this?
> > 
> > The cause seems to be related to this commit. I tried reverting this
> > change and the issue seemed to be solved.
> > 
> > >From 317d6e4c12b46bde61248ea4ab5e19f68cbd1c57 Mon Sep 17 00:00:00 2001
> > From: Jisheng Zhang <jszhang@kernel.org>
> > Date: Wed, 28 Jun 2023 00:20:18 +0800
> > Subject: usb: dwc3: don't reset device side if dwc3 was configured as
> >  host-only
> > 
> > commit e835c0a4e23c38531dcee5ef77e8d1cf462658c7 upstream.
> > 
> > Commit c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > system_suspend in host mode") replaces check for HOST only dr_mode with
> > current_dr_role. But during booting, the current_dr_role isn't
> > initialized, thus the device side reset is always issued even if dwc3
> > was configured as host-only. What's more, on some platforms with host
> > only dwc3, aways issuing device side reset by accessing device register
> > block can cause kernel panic.
> > 
> > Fixes: c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > system_suspend in host mode")
> > Cc: stable <stable@kernel.org>
> > Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
> > Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
> > Link: https://lore.kernel.org/r/20230627162018.739-1-jszhang@kernel.org
> > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > ---
> >  drivers/usb/dwc3/core.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.4.8&id=317d6e4c12b46bde61248ea4ab5e19f68cbd1c57
> > 
> 
> Thanks for the regression report. I'm adding it to regzbot:
> 
> #regzbot ^introduced: e835c0a4e23c38
> #regzbot title: some USB devices unrecognized caused by not resetting dwc3 device if it is host-only
> 

When there's phy reconfiguration, we need follow through a soft reset
sequence. It may be done when we pass to xHCI driver through its
initialization of USBCMD.HCRST. However, looks like we need to do a
soft reset before setting more core parameters in dwc3.

Can we try to just reset the phy instead to see if it helps? If not, we
may have to teach dwc3 about xHCI's USBCMD.HCRST.

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 9c6bf054f15d..66186ef34c6d 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -1104,9 +1104,42 @@ static int dwc3_core_init(struct dwc3 *dwc)
 	if (ret)
 		goto err_exit_ulpi;
 
-	ret = dwc3_core_soft_reset(dwc);
-	if (ret)
-		goto err_exit_phy;
+	/*
+	 * Note: GUSB3PIPECTL[n] and GUSB2PHYCFG[n] are port settings where n
+	 * is port index. If this is a multiport host, then we need to reset
+	 * all active ports.
+	 */
+	reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0));
+	reg |= DWC3_GUSB3PIPECTL_PHYSOFTRST;
+	dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
+
+	/*
+	 * Must meet usb3 phy reset assertion timing,
+	 * should be much less than 20ms.
+	 */
+	msleep(20);
+
+	reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
+	dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
+
+	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
+	reg |= DWC3_GUSB2PHYCFG_PHYSOFTRST;
+	dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
+
+	/*
+	 * Must meet usb2 phy reset assertion timing,
+	 * should be much less than 20ms.
+	 */
+	msleep(20);
+
+	reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
+	dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
+
+	/*
+	 * Some platforms may need more time to synchronize the clocks,
+	 * 100ms should be enough for all.
+	 */
+	msleep(100);
 
 	if (hw_mode == DWC3_GHWPARAMS0_MODE_DRD &&
 	    !DWC3_VER_IS_WITHIN(DWC3, ANY, 194A)) {


--

Thanks,
Thinh

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

* Re: usb: dwc3: some USB devices not working after 6.4.8
  2023-09-06  1:32   ` Thinh Nguyen
@ 2023-09-06 16:29     ` Jisheng Zhang
  2023-09-07 12:34       ` Kenta Sato
  2023-09-07 17:47     ` Kenta Sato
  1 sibling, 1 reply; 7+ messages in thread
From: Jisheng Zhang @ 2023-09-06 16:29 UTC (permalink / raw)
  To: Thinh Nguyen
  Cc: Kenta Sato, Bagas Sanjaya, Linux Kernel Mailing List,
	Greg Kroah-Hartman, Linux Regressions, Linux USB, Linux Stable

On Wed, Sep 06, 2023 at 01:32:22AM +0000, Thinh Nguyen wrote:
> On Mon, Sep 04, 2023, Bagas Sanjaya wrote:
> > On Sun, Sep 03, 2023 at 09:19:13PM +0900, Kenta Sato wrote:
> > > Hi,
> > > 
> > > I am using the FriendlyElec NanoPi R4S board.
> > > When I update the kernel from 6.4.7 to 6.4.11, 6.4.13, and 6.5.1, it
> > > doesn't recognize some USB devices.
> > > 
> > > The board has two USB 3.0 ports. I connected 1) BUFFALO USB Flash Disk
> > > (high-speed) and 2) NETGEAR A6210 (SuperSpeed) to each port.
> > > 1) is often not recognized. On the other hand, 2) was working while I
> > > was testing.
> > > Regardless of whether a USB device is connected, I could see the below
> > > message on dmesg:

Hi Kenta,


Besides the comments and patch from Thinh, may I know some details of 
your HW and SW env? Such as

From HW support points of view, is the usb3.0 ports dual mode or host only?

From SW side, how do you configure the host controller? I.E set dual
mode or host only?

Lastly, did you have modifications or local patches to dwc3 driver?

Thanks in advance

> > > 
> > > [    0.740993] phy phy-ff7c0000.phy.8: phy poweron failed --> -110
> > > [    0.741585] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
> > > [    0.742334] dwc3: probe of fe800000.usb failed with error -110
> > > [    0.751635] rockchip-usb2phy ff770000.syscon:usb2phy@e460:
> > > Requested PHY is disabled
> > > 
> > > Is there any idea on this?
> > > 
> > > The cause seems to be related to this commit. I tried reverting this
> > > change and the issue seemed to be solved.
> > > 
> > > >From 317d6e4c12b46bde61248ea4ab5e19f68cbd1c57 Mon Sep 17 00:00:00 2001
> > > From: Jisheng Zhang <jszhang@kernel.org>
> > > Date: Wed, 28 Jun 2023 00:20:18 +0800
> > > Subject: usb: dwc3: don't reset device side if dwc3 was configured as
> > >  host-only
> > > 
> > > commit e835c0a4e23c38531dcee5ef77e8d1cf462658c7 upstream.
> > > 
> > > Commit c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > > system_suspend in host mode") replaces check for HOST only dr_mode with
> > > current_dr_role. But during booting, the current_dr_role isn't
> > > initialized, thus the device side reset is always issued even if dwc3
> > > was configured as host-only. What's more, on some platforms with host
> > > only dwc3, aways issuing device side reset by accessing device register
> > > block can cause kernel panic.
> > > 
> > > Fixes: c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > > system_suspend in host mode")
> > > Cc: stable <stable@kernel.org>
> > > Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
> > > Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
> > > Link: https://lore.kernel.org/r/20230627162018.739-1-jszhang@kernel.org
> > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > > ---
> > >  drivers/usb/dwc3/core.c | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.4.8&id=317d6e4c12b46bde61248ea4ab5e19f68cbd1c57
> > > 
> > 
> > Thanks for the regression report. I'm adding it to regzbot:
> > 
> > #regzbot ^introduced: e835c0a4e23c38
> > #regzbot title: some USB devices unrecognized caused by not resetting dwc3 device if it is host-only
> > 
> 
> When there's phy reconfiguration, we need follow through a soft reset
> sequence. It may be done when we pass to xHCI driver through its
> initialization of USBCMD.HCRST. However, looks like we need to do a
> soft reset before setting more core parameters in dwc3.
> 
> Can we try to just reset the phy instead to see if it helps? If not, we
> may have to teach dwc3 about xHCI's USBCMD.HCRST.
> 
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index 9c6bf054f15d..66186ef34c6d 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -1104,9 +1104,42 @@ static int dwc3_core_init(struct dwc3 *dwc)
>  	if (ret)
>  		goto err_exit_ulpi;
>  
> -	ret = dwc3_core_soft_reset(dwc);
> -	if (ret)
> -		goto err_exit_phy;
> +	/*
> +	 * Note: GUSB3PIPECTL[n] and GUSB2PHYCFG[n] are port settings where n
> +	 * is port index. If this is a multiport host, then we need to reset
> +	 * all active ports.
> +	 */
> +	reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0));
> +	reg |= DWC3_GUSB3PIPECTL_PHYSOFTRST;
> +	dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
> +
> +	/*
> +	 * Must meet usb3 phy reset assertion timing,
> +	 * should be much less than 20ms.
> +	 */
> +	msleep(20);
> +
> +	reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
> +	dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
> +
> +	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
> +	reg |= DWC3_GUSB2PHYCFG_PHYSOFTRST;
> +	dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
> +
> +	/*
> +	 * Must meet usb2 phy reset assertion timing,
> +	 * should be much less than 20ms.
> +	 */
> +	msleep(20);
> +
> +	reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
> +	dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
> +
> +	/*
> +	 * Some platforms may need more time to synchronize the clocks,
> +	 * 100ms should be enough for all.
> +	 */
> +	msleep(100);
>  
>  	if (hw_mode == DWC3_GHWPARAMS0_MODE_DRD &&
>  	    !DWC3_VER_IS_WITHIN(DWC3, ANY, 194A)) {
> 
> 
> --
> 
> Thanks,
> Thinh

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

* Re: usb: dwc3: some USB devices not working after 6.4.8
  2023-09-06 16:29     ` Jisheng Zhang
@ 2023-09-07 12:34       ` Kenta Sato
  0 siblings, 0 replies; 7+ messages in thread
From: Kenta Sato @ 2023-09-07 12:34 UTC (permalink / raw)
  To: Jisheng Zhang
  Cc: Thinh Nguyen, Bagas Sanjaya, Linux Kernel Mailing List,
	Greg Kroah-Hartman, Linux Regressions, Linux USB, Linux Stable

Hi,

On Thu, Sep 7, 2023 at 1:41 AM Jisheng Zhang <jszhang@kernel.org> wrote:
>
> On Wed, Sep 06, 2023 at 01:32:22AM +0000, Thinh Nguyen wrote:
> > On Mon, Sep 04, 2023, Bagas Sanjaya wrote:
> > > On Sun, Sep 03, 2023 at 09:19:13PM +0900, Kenta Sato wrote:
> > > > Hi,
> > > >
> > > > I am using the FriendlyElec NanoPi R4S board.
> > > > When I update the kernel from 6.4.7 to 6.4.11, 6.4.13, and 6.5.1, it
> > > > doesn't recognize some USB devices.
> > > >
> > > > The board has two USB 3.0 ports. I connected 1) BUFFALO USB Flash Disk
> > > > (high-speed) and 2) NETGEAR A6210 (SuperSpeed) to each port.
> > > > 1) is often not recognized. On the other hand, 2) was working while I
> > > > was testing.
> > > > Regardless of whether a USB device is connected, I could see the below
> > > > message on dmesg:
>
> Hi Kenta,
>
>
> Besides the comments and patch from Thinh, may I know some details of
> your HW and SW env? Such as
>
> From HW support points of view, is the usb3.0 ports dual mode or host only?
The board should be designed for host-only as it has two USB 3.0 Type-A ports.

>
> From SW side, how do you configure the host controller? I.E set dual
> mode or host only?
According to the device tree file in the kernel source tree
(arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi), it is configured
as host only.
&usbdrd_dwc3_1 {
  dr_mode = "host";
  status = "okay";
};

>
> Lastly, did you have modifications or local patches to dwc3 driver?
No, except for reverting the commit I mentioned in the first post.

Right now I am using the tag 6.5.1 with a few small patches. You can
find them and config in the link below.
https://github.com/Tosainu/PKGBUILDs/tree/a460f4826e44d666661f3049413628f3064a2751/core/linux-aarch64

>
> Thanks in advance
>
> > > >
> > > > [    0.740993] phy phy-ff7c0000.phy.8: phy poweron failed --> -110
> > > > [    0.741585] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
> > > > [    0.742334] dwc3: probe of fe800000.usb failed with error -110
> > > > [    0.751635] rockchip-usb2phy ff770000.syscon:usb2phy@e460:
> > > > Requested PHY is disabled
> > > >
> > > > Is there any idea on this?
> > > >
> > > > The cause seems to be related to this commit. I tried reverting this
> > > > change and the issue seemed to be solved.
> > > >
> > > > >From 317d6e4c12b46bde61248ea4ab5e19f68cbd1c57 Mon Sep 17 00:00:00 2001
> > > > From: Jisheng Zhang <jszhang@kernel.org>
> > > > Date: Wed, 28 Jun 2023 00:20:18 +0800
> > > > Subject: usb: dwc3: don't reset device side if dwc3 was configured as
> > > >  host-only
> > > >
> > > > commit e835c0a4e23c38531dcee5ef77e8d1cf462658c7 upstream.
> > > >
> > > > Commit c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > > > system_suspend in host mode") replaces check for HOST only dr_mode with
> > > > current_dr_role. But during booting, the current_dr_role isn't
> > > > initialized, thus the device side reset is always issued even if dwc3
> > > > was configured as host-only. What's more, on some platforms with host
> > > > only dwc3, aways issuing device side reset by accessing device register
> > > > block can cause kernel panic.
> > > >
> > > > Fixes: c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > > > system_suspend in host mode")
> > > > Cc: stable <stable@kernel.org>
> > > > Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
> > > > Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
> > > > Link: https://lore.kernel.org/r/20230627162018.739-1-jszhang@kernel.org
> > > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > > > ---
> > > >  drivers/usb/dwc3/core.c | 4 ++--
> > > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > >
> > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.4.8&id=317d6e4c12b46bde61248ea4ab5e19f68cbd1c57
> > > >
> > >
> > > Thanks for the regression report. I'm adding it to regzbot:
> > >
> > > #regzbot ^introduced: e835c0a4e23c38
> > > #regzbot title: some USB devices unrecognized caused by not resetting dwc3 device if it is host-only
> > >
> >
> > When there's phy reconfiguration, we need follow through a soft reset
> > sequence. It may be done when we pass to xHCI driver through its
> > initialization of USBCMD.HCRST. However, looks like we need to do a
> > soft reset before setting more core parameters in dwc3.
> >
> > Can we try to just reset the phy instead to see if it helps? If not, we
> > may have to teach dwc3 about xHCI's USBCMD.HCRST.
> >
> > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> > index 9c6bf054f15d..66186ef34c6d 100644
> > --- a/drivers/usb/dwc3/core.c
> > +++ b/drivers/usb/dwc3/core.c
> > @@ -1104,9 +1104,42 @@ static int dwc3_core_init(struct dwc3 *dwc)
> >       if (ret)
> >               goto err_exit_ulpi;
> >
> > -     ret = dwc3_core_soft_reset(dwc);
> > -     if (ret)
> > -             goto err_exit_phy;
> > +     /*
> > +      * Note: GUSB3PIPECTL[n] and GUSB2PHYCFG[n] are port settings where n
> > +      * is port index. If this is a multiport host, then we need to reset
> > +      * all active ports.
> > +      */
> > +     reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0));
> > +     reg |= DWC3_GUSB3PIPECTL_PHYSOFTRST;
> > +     dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
> > +
> > +     /*
> > +      * Must meet usb3 phy reset assertion timing,
> > +      * should be much less than 20ms.
> > +      */
> > +     msleep(20);
> > +
> > +     reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
> > +     dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
> > +
> > +     reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
> > +     reg |= DWC3_GUSB2PHYCFG_PHYSOFTRST;
> > +     dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
> > +
> > +     /*
> > +      * Must meet usb2 phy reset assertion timing,
> > +      * should be much less than 20ms.
> > +      */
> > +     msleep(20);
> > +
> > +     reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
> > +     dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
> > +
> > +     /*
> > +      * Some platforms may need more time to synchronize the clocks,
> > +      * 100ms should be enough for all.
> > +      */
> > +     msleep(100);
> >
> >       if (hw_mode == DWC3_GHWPARAMS0_MODE_DRD &&
> >           !DWC3_VER_IS_WITHIN(DWC3, ANY, 194A)) {
> >
> >
> > --
> >
> > Thanks,
> > Thinh

Thank you,
kenta

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

* Re: usb: dwc3: some USB devices not working after 6.4.8
  2023-09-06  1:32   ` Thinh Nguyen
  2023-09-06 16:29     ` Jisheng Zhang
@ 2023-09-07 17:47     ` Kenta Sato
  2023-09-07 23:55       ` Thinh Nguyen
  1 sibling, 1 reply; 7+ messages in thread
From: Kenta Sato @ 2023-09-07 17:47 UTC (permalink / raw)
  To: Thinh Nguyen
  Cc: Bagas Sanjaya, Linux Kernel Mailing List, Jisheng Zhang,
	Greg Kroah-Hartman, Linux Regressions, Linux USB, Linux Stable

[-- Attachment #1: Type: text/plain, Size: 5967 bytes --]

On Wed, Sep 6, 2023 at 10:32 AM Thinh Nguyen <Thinh.Nguyen@synopsys.com> wrote:
>
> On Mon, Sep 04, 2023, Bagas Sanjaya wrote:
> > On Sun, Sep 03, 2023 at 09:19:13PM +0900, Kenta Sato wrote:
> > > Hi,
> > >
> > > I am using the FriendlyElec NanoPi R4S board.
> > > When I update the kernel from 6.4.7 to 6.4.11, 6.4.13, and 6.5.1, it
> > > doesn't recognize some USB devices.
> > >
> > > The board has two USB 3.0 ports. I connected 1) BUFFALO USB Flash Disk
> > > (high-speed) and 2) NETGEAR A6210 (SuperSpeed) to each port.
> > > 1) is often not recognized. On the other hand, 2) was working while I
> > > was testing.
> > > Regardless of whether a USB device is connected, I could see the below
> > > message on dmesg:
> > >
> > > [    0.740993] phy phy-ff7c0000.phy.8: phy poweron failed --> -110
> > > [    0.741585] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
> > > [    0.742334] dwc3: probe of fe800000.usb failed with error -110
> > > [    0.751635] rockchip-usb2phy ff770000.syscon:usb2phy@e460:
> > > Requested PHY is disabled
> > >
> > > Is there any idea on this?
> > >
> > > The cause seems to be related to this commit. I tried reverting this
> > > change and the issue seemed to be solved.
> > >
> > > >From 317d6e4c12b46bde61248ea4ab5e19f68cbd1c57 Mon Sep 17 00:00:00 2001
> > > From: Jisheng Zhang <jszhang@kernel.org>
> > > Date: Wed, 28 Jun 2023 00:20:18 +0800
> > > Subject: usb: dwc3: don't reset device side if dwc3 was configured as
> > >  host-only
> > >
> > > commit e835c0a4e23c38531dcee5ef77e8d1cf462658c7 upstream.
> > >
> > > Commit c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > > system_suspend in host mode") replaces check for HOST only dr_mode with
> > > current_dr_role. But during booting, the current_dr_role isn't
> > > initialized, thus the device side reset is always issued even if dwc3
> > > was configured as host-only. What's more, on some platforms with host
> > > only dwc3, aways issuing device side reset by accessing device register
> > > block can cause kernel panic.
> > >
> > > Fixes: c4a5153e87fd ("usb: dwc3: core: Power-off core/PHYs on
> > > system_suspend in host mode")
> > > Cc: stable <stable@kernel.org>
> > > Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
> > > Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
> > > Link: https://lore.kernel.org/r/20230627162018.739-1-jszhang@kernel.org
> > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > > ---
> > >  drivers/usb/dwc3/core.c | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.4.8&id=317d6e4c12b46bde61248ea4ab5e19f68cbd1c57
> > >
> >
> > Thanks for the regression report. I'm adding it to regzbot:
> >
> > #regzbot ^introduced: e835c0a4e23c38
> > #regzbot title: some USB devices unrecognized caused by not resetting dwc3 device if it is host-only
> >
>
> When there's phy reconfiguration, we need follow through a soft reset
> sequence. It may be done when we pass to xHCI driver through its
> initialization of USBCMD.HCRST. However, looks like we need to do a
> soft reset before setting more core parameters in dwc3.
>
> Can we try to just reset the phy instead to see if it helps? If not, we
> may have to teach dwc3 about xHCI's USBCMD.HCRST.
>
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index 9c6bf054f15d..66186ef34c6d 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -1104,9 +1104,42 @@ static int dwc3_core_init(struct dwc3 *dwc)
>         if (ret)
>                 goto err_exit_ulpi;
>
> -       ret = dwc3_core_soft_reset(dwc);
> -       if (ret)
> -               goto err_exit_phy;
> +       /*
> +        * Note: GUSB3PIPECTL[n] and GUSB2PHYCFG[n] are port settings where n
> +        * is port index. If this is a multiport host, then we need to reset
> +        * all active ports.
> +        */
> +       reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0));
> +       reg |= DWC3_GUSB3PIPECTL_PHYSOFTRST;
> +       dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
> +
> +       /*
> +        * Must meet usb3 phy reset assertion timing,
> +        * should be much less than 20ms.
> +        */
> +       msleep(20);
> +
> +       reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
> +       dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
> +
> +       reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
> +       reg |= DWC3_GUSB2PHYCFG_PHYSOFTRST;
> +       dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
> +
> +       /*
> +        * Must meet usb2 phy reset assertion timing,
> +        * should be much less than 20ms.
> +        */
> +       msleep(20);
> +
> +       reg &= ~DWC3_GUSB3PIPECTL_PHYSOFTRST;
> +       dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
> +
> +       /*
> +        * Some platforms may need more time to synchronize the clocks,
> +        * 100ms should be enough for all.
> +        */
> +       msleep(100);
>
>         if (hw_mode == DWC3_GHWPARAMS0_MODE_DRD &&
>             !DWC3_VER_IS_WITHIN(DWC3, ANY, 194A)) {
>
>
> --

Hi Thinh,

I tested your patch with 6.5.1. It seems to solve the issue and the
kernel worked the same as 6.4.7.

I attached three log (dmesg) files:
- withpatch.log --- 6.5.1 + patch
  The kernel could detect both USB devices. No "-ETIMEDOUT: failed to
initialize core" message.
- nopatch.log --- 6.5.1 without any patches (case 1)
  The kernel could detect  NETGEAR A6210 but not BUFFALO USB Flash Disk.
  That was happening less often (about 1 time per 5 boots).
- nopatch-succ.log --- 6.5.1 without any patches (case 2)
  The kernel could detect both USB devices even if it showed
"-ETIMEDOUT: failed to initialize core".

Please let me know if you need anything else.

Thank you.
Kenta

>
> Thanks,
> Thinh

[-- Attachment #2: nopatch-succ.log --]
[-- Type: text/x-log, Size: 22524 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.5.1-nopatch (cocoa@cumin) (aarch64-linux-gnu-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 SMP Fri Sep  8 01:57:22 JST 2023
[    0.000000] Machine model: FriendlyElec NanoPi R4S
[    0.000000] earlycon: uart0 at MMIO32 0x00000000ff1a0000 (options '1500000n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 17 pages/cpu s38176 r0 d31456 u69632
[    0.000000] pcpu-alloc: s38176 r0 d31456 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: earlycon console=ttyS2,1500000n8 rdinit=/sbin/init
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000ede00000-0x00000000f1e00000] (64MB)
[    0.000000] Memory: 3897700K/4061184K available (8512K kernel code, 1560K rwdata, 2892K rodata, 2112K init, 514K bss, 163484K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @480000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000000450000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000460000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002580] Console: colour dummy device 80x25
[    0.003054] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.004025] pid_max: default: 32768 minimum: 301
[    0.009998] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.010721] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.015364] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.017090] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.018174] rcu: Hierarchical SRCU implementation.
[    0.018622] rcu: 	Max phase no-delay instances is 400.
[    0.019950] Platform MSI: msi-controller@fee20000 domain created
[    0.021029] PCI/MSI: /interrupt-controller@fee00000/msi-controller@fee20000 domain created
[    0.023445] smp: Bringing up secondary CPUs ...
[    0.024795] Detected VIPT I-cache on CPU1
[    0.024886] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.024910] GICv3: CPU1: using allocated LPI pending table @0x0000000000470000
[    0.024974] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.025908] Detected VIPT I-cache on CPU2
[    0.025978] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.025996] GICv3: CPU2: using allocated LPI pending table @0x0000000000500000
[    0.026037] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.026998] Detected VIPT I-cache on CPU3
[    0.027065] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.027083] GICv3: CPU3: using allocated LPI pending table @0x0000000000510000
[    0.027121] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.028015] CPU features: detected: Spectre-v2
[    0.028031] CPU features: detected: Spectre-BHB
[    0.028040] Detected PIPT I-cache on CPU4
[    0.028120] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.028138] GICv3: CPU4: using allocated LPI pending table @0x0000000000520000
[    0.028182] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.029112] Detected PIPT I-cache on CPU5
[    0.029177] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.029195] GICv3: CPU5: using allocated LPI pending table @0x0000000000530000
[    0.029230] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.029361] smp: Brought up 1 node, 6 CPUs
[    0.041994] SMP: Total of 6 processors activated.
[    0.042434] CPU features: detected: 32-bit EL0 Support
[    0.042925] CPU features: detected: CRC32 instructions
[    0.043545] CPU: All CPU(s) started at EL2
[    0.043945] alternatives: applying system-wide alternatives
[    0.048394] devtmpfs: initialized
[    0.062332] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.063310] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.066472] pinctrl core: initialized pinctrl subsystem
[    0.068747] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.069691] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.070691] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.072551] thermal_sys: Registered thermal governor 'fair_share'
[    0.072561] thermal_sys: Registered thermal governor 'bang_bang'
[    0.073136] thermal_sys: Registered thermal governor 'step_wise'
[    0.073710] thermal_sys: Registered thermal governor 'user_space'
[    0.074277] thermal_sys: Registered thermal governor 'power_allocator'
[    0.075063] cpuidle: using governor ladder
[    0.076335] cpuidle: using governor menu
[    0.076851] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.077683] ASID allocator initialised with 65536 entries
[    0.079056] Serial: AMBA PL011 UART driver
[    0.104019] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff8f0000/port/endpoint@2
[    0.104889] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000/port/endpoint@2
[    0.112689] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.114142] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[    0.115279] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.116388] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[    0.117362] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.118456] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[    0.119469] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.120556] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[    0.121514] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.122601] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[    0.129101] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.129765] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.130359] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.131005] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.131597] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.132240] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.132832] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.133475] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.135418] cryptd: max_cpu_qlen set to 1000
[    0.137868] iommu: Default domain type: Translated
[    0.138327] iommu: DMA domain TLB invalidation policy: strict mode
[    0.139699] SCSI subsystem initialized
[    0.140292] libata version 3.00 loaded.
[    0.140450] usbcore: registered new interface driver usbfs
[    0.141025] usbcore: registered new interface driver hub
[    0.141561] usbcore: registered new device driver usb
[    0.142437] EDAC MC: Ver: 3.0.0
[    0.143345] scmi_core: SCMI protocol bus registered
[    0.144403] clocksource: Switched to clocksource arch_sys_counter
[    0.158667] PCI: CLS 0 bytes, default 64
[    0.159469] Unpacking initramfs...
[    0.170614] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    0.171294] zbud: loaded
[    0.230835] xor: measuring software checksum speed
[    0.234705]    8regs           :  2906 MB/sec
[    0.238276]    32regs          :  3124 MB/sec
[    0.242587]    arm64_neon      :  2536 MB/sec
[    0.243006] xor: using function: 32regs (3124 MB/sec)
[    0.243509] async_tx: api initialized (async)
[    0.244046] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.244769] io scheduler mq-deadline registered
[    0.245201] io scheduler kyber registered
[    0.245838] io scheduler bfq registered
[    0.266753] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.267503] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.270100] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.270854] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.273973] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.277868] printk: console [ttyS2] disabled
[    0.278689] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 36, base_baud = 1500000) is a 16550A
[    0.279736] printk: console [ttyS2] enabled
[    0.280518] printk: bootconsole [uart0] disabled
[    0.302589] phy phy-ff800000.phy.10: phy poweron failed --> -110
[    0.303166] dwc3 fe900000.usb: error -ETIMEDOUT: failed to initialize core
[    0.303884] dwc3: probe of fe900000.usb failed with error -110
[    0.307836] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.308209] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[    0.308599] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    0.309050] ehci-platform fe3c0000.usb: EHCI Host Controller
[    0.309050] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[    0.309064] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    0.309306] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 2
[    0.309522] ohci-platform fe3e0000.usb: irq 47, io mem 0xfe3e0000
[    0.309853] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002000010
[    0.310209] ehci-platform fe380000.usb: EHCI Host Controller
[    0.310231] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    0.310461] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 3
[    0.310583] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 4
[    0.310625] ehci-platform fe3c0000.usb: irq 45, io mem 0xfe3c0000
[    0.310710] ohci-platform fe3a0000.usb: irq 46, io mem 0xfe3a0000
[    0.310961] xhci-hcd xhci-hcd.0.auto: irq 43, io mem 0xfe800000
[    0.311770] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 5
[    0.312398] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.312867] ehci-platform fe380000.usb: irq 44, io mem 0xfe380000
[    0.313757] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    0.318416] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    0.318829] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    0.319749] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.321879] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.322542] usb usb3: Product: EHCI Host Controller
[    0.322981] usb usb3: Manufacturer: Linux 6.5.1-nopatch ehci_hcd
[    0.323529] usb usb3: SerialNumber: fe3c0000.usb
[    0.324652] hub 3-0:1.0: USB hub found
[    0.325049] hub 3-0:1.0: 1 port detected
[    0.325410] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    0.326888] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.327646] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.328291] usb usb1: Product: xHCI Host Controller
[    0.328742] usb usb1: Manufacturer: Linux 6.5.1-nopatch xhci-hcd
[    0.329280] usb usb1: SerialNumber: xhci-hcd.0.auto
[    0.330443] hub 1-0:1.0: USB hub found
[    0.330854] hub 1-0:1.0: 1 port detected
[    0.331867] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.332904] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    0.333657] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.334297] usb usb6: Product: xHCI Host Controller
[    0.334745] usb usb6: Manufacturer: Linux 6.5.1-nopatch xhci-hcd
[    0.335278] usb usb6: SerialNumber: xhci-hcd.0.auto
[    0.336312] hub 6-0:1.0: USB hub found
[    0.336731] hub 6-0:1.0: 1 port detected
[    0.337762] usbcore: registered new interface driver cdc_wdm
[    0.337965] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.338305] usbcore: registered new interface driver usbtmc
[    0.338484] Freeing initrd memory: 2828K
[    0.339024] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.339804] usbcore: registered new interface driver uas
[    0.339870] usb usb5: Product: EHCI Host Controller
[    0.340572] usbcore: registered new interface driver usb-storage
[    0.340983] usb usb5: Manufacturer: Linux 6.5.1-nopatch ehci_hcd
[    0.341446] usbcore: registered new interface driver ums-realtek
[    0.341950] usb usb5: SerialNumber: fe380000.usb
[    0.344089] hub 5-0:1.0: USB hub found
[    0.344505] hub 5-0:1.0: 1 port detected
[    0.347005] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/LDO_REG8
[    0.349860] device-mapper: uevent: version 1.0.3
[    0.350625] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    0.353576] sdhci: Secure Digital Host Controller Interface driver
[    0.354128] sdhci: Copyright(c) Pierre Ossman
[    0.354764] Synopsys Designware Multimedia Card Interface Driver
[    0.355860] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.358577] ledtrig-cpu: registered to indicate activity on CPUs
[    0.361957] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.366262] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.05
[    0.366790] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.367056] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.368393] usb usb2: Product: Generic Platform OHCI controller
[    0.368925] usb usb2: Manufacturer: Linux 6.5.1-nopatch ohci_hcd
[    0.369475] usb usb2: SerialNumber: fe3e0000.usb
[    0.369958] watchdog: Delayed init of the lockup detector failed: -19
[    0.370547] watchdog: Hard watchdog permanently disabled
[    0.371179] hub 2-0:1.0: USB hub found
[    0.371676] hub 2-0:1.0: 1 port detected
[    0.373501] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.05
[    0.374242] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.374910] usb usb4: Product: Generic Platform OHCI controller
[    0.375459] usb usb4: Manufacturer: Linux 6.5.1-nopatch ohci_hcd
[    0.375997] usb usb4: SerialNumber: fe3a0000.usb
[    0.377249] hub 4-0:1.0: USB hub found
[    0.377681] hub 4-0:1.0: 1 port detected
[    0.379955] zswap: loaded using pool lz4/z3fold
[    0.745294] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    0.876643] usb 1-1: New USB device found, idVendor=0411, idProduct=0111, bcdDevice= 1.00
[    0.877430] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    0.878067] usb 1-1: Product: USB Flash Disk
[    0.878467] usb 1-1: Manufacturer: BUFFALO
[    0.878838] usb 1-1: SerialNumber: 07B31F089445408A
[    0.881538] usb-storage 1-1:1.0: USB Mass Storage device detected
[    0.883168] scsi host0: usb-storage 1-1:1.0
[    1.676527] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.677126] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.707794] clk: Disabling unused clocks
[    1.707875] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.708863] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.709498] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.709958] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    1.710063] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo
[    1.710662] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    1.711965] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    1.712340] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    1.713816] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    1.714270] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    1.717081] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    1.717719] pci_bus 0000:00: root bus resource [bus 00-1f]
[    1.718218] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    1.718856] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    1.719763] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    1.720430] pci 0000:00:00.0: supports D1
[    1.720797] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.725923] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.727832] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.728820] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    1.729441] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.730072] pci 0000:01:00.0: reg 0x10: [io  size 0x0100]
[    1.730644] pci 0000:01:00.0: reg 0x18: [mem 0xfa004000-0xfa004fff 64bit]
[    1.731298] pci 0000:01:00.0: reg 0x20: [mem 0xfa000000-0xfa003fff 64bit]
[    1.731966] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
[    1.732755] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
[    1.733739] pci 0000:01:00.0: supports D1 D2
[    1.734126] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.738467] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    1.739091] pci 0000:00:00.0: BAR 14: assigned [mem 0xfa000000-0xfa0fffff]
[    1.739740] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
[    1.740454] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
[    1.741145] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0100]
[    1.741734] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0100]
[    1.742121] Freeing unused kernel memory: 2112K
[    1.742328] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.743188] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    1.744100] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.745022] pcieport 0000:00:00.0: PME: Signaling with IRQ 70
[    1.746151] pcieport 0000:00:00.0: AER: enabled with IRQ 70
[    1.777245] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    1.778212] mmc1: new high speed SDHC card at address b368
[    1.780857] mmcblk1: mmc1:b368 USD   7.47 GiB
[    1.792239]  mmcblk1: p1
[    1.808245] Checked W+X mappings: passed, no W+X pages found
[    1.808779] rodata_test: all tests were successful
[    1.809213] Run /sbin/init as init process
[    1.809591]   with arguments:
[    1.809599]     /sbin/init
[    1.809607]   with environment:
[    1.809613]     HOME=/
[    1.809620]     TERM=linux
[    1.897484] scsi 0:0:0:0: Direct-Access     BUFFALO  USB Flash Disk   3.10 PQ: 0 ANSI: 0 CCS
[    1.899573] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.901140] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
[    1.903450] sd 0:0:0:0: [sda] Write Protect is off
[    1.903891] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    1.905776] sd 0:0:0:0: [sda] No Caching mode page found
[    1.906259] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    1.931561]  sda: sda1
[    1.932572] sd 0:0:0:0: [sda] Attached SCSI removable disk

[-- Attachment #3: nopatch.log --]
[-- Type: text/x-log, Size: 21816 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.5.1-nopatch (cocoa@cumin) (aarch64-linux-gnu-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 SMP Fri Sep  8 01:57:22 JST 2023
[    0.000000] Machine model: FriendlyElec NanoPi R4S
[    0.000000] earlycon: uart0 at MMIO32 0x00000000ff1a0000 (options '1500000n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 17 pages/cpu s38176 r0 d31456 u69632
[    0.000000] pcpu-alloc: s38176 r0 d31456 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: earlycon console=ttyS2,1500000n8 rdinit=/sbin/init
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000ede00000-0x00000000f1e00000] (64MB)
[    0.000000] Memory: 3897700K/4061184K available (8512K kernel code, 1560K rwdata, 2892K rodata, 2112K init, 514K bss, 163484K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @480000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000000450000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000460000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002580] Console: colour dummy device 80x25
[    0.003054] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.004027] pid_max: default: 32768 minimum: 301
[    0.009996] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.010717] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.015376] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.017105] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.018190] rcu: Hierarchical SRCU implementation.
[    0.018641] rcu: 	Max phase no-delay instances is 400.
[    0.019970] Platform MSI: msi-controller@fee20000 domain created
[    0.021051] PCI/MSI: /interrupt-controller@fee00000/msi-controller@fee20000 domain created
[    0.023467] smp: Bringing up secondary CPUs ...
[    0.024819] Detected VIPT I-cache on CPU1
[    0.024912] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.024935] GICv3: CPU1: using allocated LPI pending table @0x0000000000470000
[    0.025000] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.025933] Detected VIPT I-cache on CPU2
[    0.025999] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.026018] GICv3: CPU2: using allocated LPI pending table @0x0000000000500000
[    0.026058] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.027021] Detected VIPT I-cache on CPU3
[    0.027086] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.027105] GICv3: CPU3: using allocated LPI pending table @0x0000000000510000
[    0.027143] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.028038] CPU features: detected: Spectre-v2
[    0.028054] CPU features: detected: Spectre-BHB
[    0.028062] Detected PIPT I-cache on CPU4
[    0.028142] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.028161] GICv3: CPU4: using allocated LPI pending table @0x0000000000520000
[    0.028205] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.029153] Detected PIPT I-cache on CPU5
[    0.029219] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.029237] GICv3: CPU5: using allocated LPI pending table @0x0000000000530000
[    0.029272] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.029403] smp: Brought up 1 node, 6 CPUs
[    0.042051] SMP: Total of 6 processors activated.
[    0.042490] CPU features: detected: 32-bit EL0 Support
[    0.042980] CPU features: detected: CRC32 instructions
[    0.043602] CPU: All CPU(s) started at EL2
[    0.044003] alternatives: applying system-wide alternatives
[    0.048444] devtmpfs: initialized
[    0.062382] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.063354] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.066527] pinctrl core: initialized pinctrl subsystem
[    0.068811] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.069762] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.070769] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.072632] thermal_sys: Registered thermal governor 'fair_share'
[    0.072641] thermal_sys: Registered thermal governor 'bang_bang'
[    0.073217] thermal_sys: Registered thermal governor 'step_wise'
[    0.073793] thermal_sys: Registered thermal governor 'user_space'
[    0.074364] thermal_sys: Registered thermal governor 'power_allocator'
[    0.075158] cpuidle: using governor ladder
[    0.076485] cpuidle: using governor menu
[    0.077148] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.077977] ASID allocator initialised with 65536 entries
[    0.079421] Serial: AMBA PL011 UART driver
[    0.104377] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff8f0000/port/endpoint@2
[    0.105249] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000/port/endpoint@2
[    0.113042] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.114323] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[    0.115404] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.116531] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[    0.117481] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.118583] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[    0.119656] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.120762] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[    0.121753] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.122852] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[    0.129383] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.130050] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.130648] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.131296] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.131892] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.132535] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.133132] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.133778] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.135651] cryptd: max_cpu_qlen set to 1000
[    0.137982] iommu: Default domain type: Translated
[    0.138454] iommu: DMA domain TLB invalidation policy: strict mode
[    0.139835] SCSI subsystem initialized
[    0.140372] libata version 3.00 loaded.
[    0.140561] usbcore: registered new interface driver usbfs
[    0.141110] usbcore: registered new interface driver hub
[    0.141656] usbcore: registered new device driver usb
[    0.142538] EDAC MC: Ver: 3.0.0
[    0.143473] scmi_core: SCMI protocol bus registered
[    0.144562] clocksource: Switched to clocksource arch_sys_counter
[    0.158756] PCI: CLS 0 bytes, default 64
[    0.159513] Unpacking initramfs...
[    0.170852] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    0.171564] zbud: loaded
[    0.231136] xor: measuring software checksum speed
[    0.235017]    8regs           :  2901 MB/sec
[    0.238606]    32regs          :  3112 MB/sec
[    0.242923]    arm64_neon      :  2537 MB/sec
[    0.243349] xor: using function: 32regs (3112 MB/sec)
[    0.243857] async_tx: api initialized (async)
[    0.244392] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.245122] io scheduler mq-deadline registered
[    0.245565] io scheduler kyber registered
[    0.246195] io scheduler bfq registered
[    0.269505] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.270250] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.273226] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.273960] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.277861] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.281049] printk: console [ttyS2] disabled
[    0.281790] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 36, base_baud = 1500000) is a 16550A
[    0.282833] printk: console [ttyS2] enabled
[    0.283618] printk: bootconsole [uart0] disabled
[    0.299774] phy phy-ff7c0000.phy.8: phy poweron failed --> -110
[    0.300337] dwc3 fe800000.usb: error -ETIMEDOUT: failed to initialize core
[    0.301043] dwc3: probe of fe800000.usb failed with error -110
[    0.311360] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.311830] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[    0.312156] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    0.312579] ehci-platform fe3c0000.usb: EHCI Host Controller
[    0.312581] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[    0.312594] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    0.312833] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 2
[    0.313027] ohci-platform fe3e0000.usb: irq 47, io mem 0xfe3e0000
[    0.313377] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002000010
[    0.313572] ehci-platform fe380000.usb: EHCI Host Controller
[    0.313590] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    0.313855] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 4
[    0.313920] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 3
[    0.313980] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 5
[    0.314115] ehci-platform fe380000.usb: irq 44, io mem 0xfe380000
[    0.314158] ehci-platform fe3c0000.usb: irq 45, io mem 0xfe3c0000
[    0.314515] xhci-hcd xhci-hcd.0.auto: irq 43, io mem 0xfe900000
[    0.315161] ohci-platform fe3a0000.usb: irq 46, io mem 0xfe3a0000
[    0.315930] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.320564] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    0.321027] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    0.321743] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.321871] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    0.322381] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.326051] usb usb3: Product: EHCI Host Controller
[    0.326491] usb usb3: Manufacturer: Linux 6.5.1-nopatch ehci_hcd
[    0.327046] usb usb3: SerialNumber: fe380000.usb
[    0.327570] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    0.328180] hub 3-0:1.0: USB hub found
[    0.328592] hub 3-0:1.0: 1 port detected
[    0.329893] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.330649] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.331290] usb usb1: Product: xHCI Host Controller
[    0.331735] usb usb1: Manufacturer: Linux 6.5.1-nopatch xhci-hcd
[    0.332269] usb usb1: SerialNumber: xhci-hcd.0.auto
[    0.333305] hub 1-0:1.0: USB hub found
[    0.333721] hub 1-0:1.0: 1 port detected
[    0.334796] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.335565] Freeing initrd memory: 2828K
[    0.335799] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    0.336684] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.337330] usb usb6: Product: xHCI Host Controller
[    0.337781] usb usb6: Manufacturer: Linux 6.5.1-nopatch xhci-hcd
[    0.338317] usb usb6: SerialNumber: xhci-hcd.0.auto
[    0.339366] hub 6-0:1.0: USB hub found
[    0.339764] hub 6-0:1.0: 1 port detected
[    0.340645] usbcore: registered new interface driver cdc_wdm
[    0.340865] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.341180] usbcore: registered new interface driver usbtmc
[    0.341896] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.342652] usbcore: registered new interface driver uas
[    0.343030] usb usb5: Product: EHCI Host Controller
[    0.343525] usbcore: registered new interface driver usb-storage
[    0.343923] usb usb5: Manufacturer: Linux 6.5.1-nopatch ehci_hcd
[    0.344472] usbcore: registered new interface driver ums-realtek
[    0.344989] usb usb5: SerialNumber: fe3c0000.usb
[    0.346625] hub 5-0:1.0: USB hub found
[    0.347022] hub 5-0:1.0: 1 port detected
[    0.349929] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/LDO_REG8
[    0.352765] device-mapper: uevent: version 1.0.3
[    0.353499] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    0.356456] sdhci: Secure Digital Host Controller Interface driver
[    0.357020] sdhci: Copyright(c) Pierre Ossman
[    0.357643] Synopsys Designware Multimedia Card Interface Driver
[    0.358761] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.361482] ledtrig-cpu: registered to indicate activity on CPUs
[    0.364804] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.369326] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.05
[    0.370100] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.370757] usb usb2: Product: Generic Platform OHCI controller
[    0.371287] usb usb2: Manufacturer: Linux 6.5.1-nopatch ohci_hcd
[    0.371854] usb usb2: SerialNumber: fe3e0000.usb
[    0.372830] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.373178] hub 2-0:1.0: USB hub found
[    0.373969] hub 2-0:1.0: 1 port detected
[    0.375856] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.05
[    0.376620] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.377266] usb usb4: Product: Generic Platform OHCI controller
[    0.377806] usb usb4: Manufacturer: Linux 6.5.1-nopatch ohci_hcd
[    0.378342] usb usb4: SerialNumber: fe3a0000.usb
[    0.378804] watchdog: Delayed init of the lockup detector failed: -19
[    0.379381] watchdog: Hard watchdog permanently disabled
[    0.379794] hub 4-0:1.0: USB hub found
[    0.380243] hub 4-0:1.0: 1 port detected
[    0.385289] zswap: loaded using pool lz4/z3fold
[    1.313850] usb 6-1: new SuperSpeed USB device number 2 using xhci-hcd
[    1.328334] usb 6-1: New USB device found, idVendor=0846, idProduct=9053, bcdDevice= 1.00
[    1.329079] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.329723] usb 6-1: Product: A6210
[    1.330040] usb 6-1: Manufacturer: NETGEAR
[    1.330407] usb 6-1: SerialNumber: 100
[    1.621597] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.622198] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.649753] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    1.650448] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    1.651081] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.651234] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    1.651887] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.653183] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.653353] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    1.653756] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo
[    1.655552] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    1.656278] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    1.656902] pci_bus 0000:00: root bus resource [bus 00-1f]
[    1.657399] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    1.658030] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    1.658938] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    1.659606] pci 0000:00:00.0: supports D1
[    1.659972] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.667115] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.668104] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    1.668683] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.668729] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.670139] pci 0000:01:00.0: reg 0x10: [io  size 0x0100]
[    1.670713] pci 0000:01:00.0: reg 0x18: [mem 0xfa004000-0xfa004fff 64bit]
[    1.671367] pci 0000:01:00.0: reg 0x20: [mem 0xfa000000-0xfa003fff 64bit]
[    1.672033] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
[    1.672822] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
[    1.673807] pci 0000:01:00.0: supports D1 D2
[    1.674196] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.678726] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    1.679353] pci 0000:00:00.0: BAR 14: assigned [mem 0xfa000000-0xfa0fffff]
[    1.680009] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
[    1.680725] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
[    1.681417] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0100]
[    1.681993] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0100]
[    1.682601] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.683053] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    1.683961] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.684884] pcieport 0000:00:00.0: PME: Signaling with IRQ 70
[    1.686056] pcieport 0000:00:00.0: AER: enabled with IRQ 70
[    1.690498] clk: Disabling unused clocks
[    1.691969] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    1.693913] Freeing unused kernel memory: 2112K
[    1.722793] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    1.724313] mmc1: new high speed SDHC card at address b368
[    1.727457] mmcblk1: mmc1:b368 USD   7.47 GiB
[    1.739880]  mmcblk1: p1
[    1.761695] Checked W+X mappings: passed, no W+X pages found
[    1.762218] rodata_test: all tests were successful
[    1.762663] Run /sbin/init as init process
[    1.763031]   with arguments:
[    1.763038]     /sbin/init
[    1.763046]   with environment:
[    1.763052]     HOME=/
[    1.763059]     TERM=linux

[-- Attachment #4: withpatch.log --]
[-- Type: text/x-log, Size: 24214 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.5.1-dwc3test (cocoa@cumin) (aarch64-linux-gnu-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #7 SMP Fri Sep  8 01:54:18 JST 2023
[    0.000000] Machine model: FriendlyElec NanoPi R4S
[    0.000000] earlycon: uart0 at MMIO32 0x00000000ff1a0000 (options '1500000n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 17 pages/cpu s38176 r0 d31456 u69632
[    0.000000] pcpu-alloc: s38176 r0 d31456 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: earlycon console=ttyS2,1500000n8 rdinit=/sbin/init
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000ede00000-0x00000000f1e00000] (64MB)
[    0.000000] Memory: 3897700K/4061184K available (8512K kernel code, 1560K rwdata, 2892K rodata, 2112K init, 514K bss, 163484K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @480000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000000450000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000460000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002575] Console: colour dummy device 80x25
[    0.003050] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.004017] pid_max: default: 32768 minimum: 301
[    0.010072] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.010796] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.015475] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.017208] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.018294] rcu: Hierarchical SRCU implementation.
[    0.018743] rcu: 	Max phase no-delay instances is 400.
[    0.020074] Platform MSI: msi-controller@fee20000 domain created
[    0.021150] PCI/MSI: /interrupt-controller@fee00000/msi-controller@fee20000 domain created
[    0.023552] smp: Bringing up secondary CPUs ...
[    0.024900] Detected VIPT I-cache on CPU1
[    0.024994] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.025017] GICv3: CPU1: using allocated LPI pending table @0x0000000000470000
[    0.025080] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.026007] Detected VIPT I-cache on CPU2
[    0.026074] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.026093] GICv3: CPU2: using allocated LPI pending table @0x0000000000500000
[    0.026135] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.027098] Detected VIPT I-cache on CPU3
[    0.027163] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.027181] GICv3: CPU3: using allocated LPI pending table @0x0000000000510000
[    0.027220] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.028108] CPU features: detected: Spectre-v2
[    0.028123] CPU features: detected: Spectre-BHB
[    0.028132] Detected PIPT I-cache on CPU4
[    0.028211] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.028230] GICv3: CPU4: using allocated LPI pending table @0x0000000000520000
[    0.028275] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.029197] Detected PIPT I-cache on CPU5
[    0.029263] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.029282] GICv3: CPU5: using allocated LPI pending table @0x0000000000530000
[    0.029316] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.029449] smp: Brought up 1 node, 6 CPUs
[    0.042089] SMP: Total of 6 processors activated.
[    0.042531] CPU features: detected: 32-bit EL0 Support
[    0.043017] CPU features: detected: CRC32 instructions
[    0.043635] CPU: All CPU(s) started at EL2
[    0.044036] alternatives: applying system-wide alternatives
[    0.048499] devtmpfs: initialized
[    0.062491] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.063467] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.066663] pinctrl core: initialized pinctrl subsystem
[    0.068935] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.069879] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.070881] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.072746] thermal_sys: Registered thermal governor 'fair_share'
[    0.072755] thermal_sys: Registered thermal governor 'bang_bang'
[    0.073331] thermal_sys: Registered thermal governor 'step_wise'
[    0.073905] thermal_sys: Registered thermal governor 'user_space'
[    0.074472] thermal_sys: Registered thermal governor 'power_allocator'
[    0.075258] cpuidle: using governor ladder
[    0.076568] cpuidle: using governor menu
[    0.077229] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.078052] ASID allocator initialised with 65536 entries
[    0.079490] Serial: AMBA PL011 UART driver
[    0.104440] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff8f0000/port/endpoint@2
[    0.105310] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000/port/endpoint@2
[    0.113000] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.114283] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[    0.115356] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.116477] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[    0.117427] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.118521] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[    0.119596] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.120681] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[    0.121667] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.122757] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[    0.129306] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.129968] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.130562] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.131208] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.131800] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.132443] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.133035] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.133678] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.135542] cryptd: max_cpu_qlen set to 1000
[    0.137874] iommu: Default domain type: Translated
[    0.138346] iommu: DMA domain TLB invalidation policy: strict mode
[    0.139746] SCSI subsystem initialized
[    0.140286] libata version 3.00 loaded.
[    0.140438] usbcore: registered new interface driver usbfs
[    0.141002] usbcore: registered new interface driver hub
[    0.141537] usbcore: registered new device driver usb
[    0.142449] EDAC MC: Ver: 3.0.0
[    0.143323] scmi_core: SCMI protocol bus registered
[    0.144412] clocksource: Switched to clocksource arch_sys_counter
[    0.159026] PCI: CLS 0 bytes, default 64
[    0.159805] Unpacking initramfs...
[    0.170742] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    0.171485] zbud: loaded
[    0.230931] xor: measuring software checksum speed
[    0.234799]    8regs           :  2904 MB/sec
[    0.238369]    32regs          :  3124 MB/sec
[    0.242674]    arm64_neon      :  2544 MB/sec
[    0.243093] xor: using function: 32regs (3124 MB/sec)
[    0.243595] async_tx: api initialized (async)
[    0.244131] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.244850] io scheduler mq-deadline registered
[    0.245283] io scheduler kyber registered
[    0.245921] io scheduler bfq registered
[    0.269923] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.270664] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.273694] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.274420] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.278343] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.281579] printk: console [ttyS2] disabled
[    0.282310] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 36, base_baud = 1500000) is a 16550A
[    0.283351] printk: console [ttyS2] enabled
[    0.284135] printk: bootconsole [uart0] disabled
[    0.335193] Freeing initrd memory: 2828K
[    0.605965] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[    0.606719] ehci-platform fe3c0000.usb: EHCI Host Controller
[    0.606903] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[    0.607501] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 1
[    0.607938] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    0.607960] ehci-platform fe380000.usb: EHCI Host Controller
[    0.607977] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.607982] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    0.608190] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 2
[    0.608296] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 4
[    0.608321] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
[    0.608325] ehci-platform fe380000.usb: irq 45, io mem 0xfe380000
[    0.608479] ohci-platform fe3a0000.usb: irq 47, io mem 0xfe3a0000
[    0.608508] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002000010
[    0.608584] xhci-hcd xhci-hcd.0.auto: irq 43, io mem 0xfe800000
[    0.608768] ehci-platform fe3c0000.usb: irq 46, io mem 0xfe3c0000
[    0.608818] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.609000] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    0.609020] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    0.609454] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.614420] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    0.614753] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.619461] usb usb3: Product: xHCI Host Controller
[    0.619899] usb usb3: Manufacturer: Linux 6.5.1-dwc3test xhci-hcd
[    0.620454] usb usb3: SerialNumber: xhci-hcd.0.auto
[    0.621562] hub 3-0:1.0: USB hub found
[    0.621961] hub 3-0:1.0: 1 port detected
[    0.622415] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    0.623007] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.624029] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    0.624791] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.625452] usb usb5: Product: xHCI Host Controller
[    0.625890] usb usb5: Manufacturer: Linux 6.5.1-dwc3test xhci-hcd
[    0.626447] usb usb5: SerialNumber: xhci-hcd.0.auto
[    0.627511] hub 5-0:1.0: USB hub found
[    0.627907] hub 5-0:1.0: 1 port detected
[    0.628986] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    0.629084] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.629118] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 6
[    0.629244] ohci-platform fe3e0000.usb: irq 48, io mem 0xfe3e0000
[    0.631461] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.632104] usb usb2: Product: EHCI Host Controller
[    0.632553] usb usb2: Manufacturer: Linux 6.5.1-dwc3test ehci_hcd
[    0.633094] usb usb2: SerialNumber: fe380000.usb
[    0.634033] hub 2-0:1.0: USB hub found
[    0.634411] hub 2-0:1.0: 1 port detected
[    0.635520] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.636263] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.636927] usb usb1: Product: EHCI Host Controller
[    0.637367] usb usb1: Manufacturer: Linux 6.5.1-dwc3test ehci_hcd
[    0.637932] usb usb1: SerialNumber: fe3c0000.usb
[    0.638971] hub 1-0:1.0: USB hub found
[    0.639369] hub 1-0:1.0: 1 port detected
[    0.640532] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    0.641413] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002000010
[    0.642300] xhci-hcd xhci-hcd.1.auto: irq 44, io mem 0xfe900000
[    0.643084] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    0.643836] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    0.644548] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    0.645500] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    0.646240] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.646907] usb usb7: Product: xHCI Host Controller
[    0.647346] usb usb7: Manufacturer: Linux 6.5.1-dwc3test xhci-hcd
[    0.647906] usb usb7: SerialNumber: xhci-hcd.1.auto
[    0.648992] hub 7-0:1.0: USB hub found
[    0.649433] hub 7-0:1.0: 1 port detected
[    0.650405] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.651405] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    0.652144] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.652811] usb usb8: Product: xHCI Host Controller
[    0.653250] usb usb8: Manufacturer: Linux 6.5.1-dwc3test xhci-hcd
[    0.653806] usb usb8: SerialNumber: xhci-hcd.1.auto
[    0.654876] hub 8-0:1.0: USB hub found
[    0.655271] hub 8-0:1.0: 1 port detected
[    0.656231] usbcore: registered new interface driver cdc_wdm
[    0.656833] usbcore: registered new interface driver usbtmc
[    0.657584] usbcore: registered new interface driver uas
[    0.658180] usbcore: registered new interface driver usb-storage
[    0.658773] usbcore: registered new interface driver ums-realtek
[    0.664839] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.05
[    0.665096] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/LDO_REG8
[    0.665616] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.667039] usb usb4: Product: Generic Platform OHCI controller
[    0.667582] usb usb4: Manufacturer: Linux 6.5.1-dwc3test ohci_hcd
[    0.668126] usb usb4: SerialNumber: fe3a0000.usb
[    0.669023] device-mapper: uevent: version 1.0.3
[    0.669297] hub 4-0:1.0: USB hub found
[    0.669774] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    0.669856] hub 4-0:1.0: 1 port detected
[    0.672818] sdhci: Secure Digital Host Controller Interface driver
[    0.673370] sdhci: Copyright(c) Pierre Ossman
[    0.673996] Synopsys Designware Multimedia Card Interface Driver
[    0.675096] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.677609] ledtrig-cpu: registered to indicate activity on CPUs
[    0.685028] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.685053] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.05
[    0.686515] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.687155] usb usb6: Product: Generic Platform OHCI controller
[    0.687697] usb usb6: Manufacturer: Linux 6.5.1-dwc3test ohci_hcd
[    0.688238] usb usb6: SerialNumber: fe3e0000.usb
[    0.689039] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.689463] hub 6-0:1.0: USB hub found
[    0.690160] hub 6-0:1.0: 1 port detected
[    0.697369] watchdog: Delayed init of the lockup detector failed: -19
[    0.697968] watchdog: Hard watchdog permanently disabled
[    0.701713] zswap: loaded using pool lz4/z3fold
[    0.867444] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[    1.062616] usb 3-1: New USB device found, idVendor=0411, idProduct=0111, bcdDevice= 1.00
[    1.063371] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.064037] usb 3-1: Product: USB Flash Disk
[    1.064436] usb 3-1: Manufacturer: BUFFALO
[    1.064808] usb 3-1: SerialNumber: 07B31F089445408A
[    1.067940] usb-storage 3-1:1.0: USB Mass Storage device detected
[    1.069907] scsi host0: usb-storage 3-1:1.0
[    1.634865] usb 8-1: new SuperSpeed USB device number 2 using xhci-hcd
[    1.651380] usb 8-1: New USB device found, idVendor=0846, idProduct=9053, bcdDevice= 1.00
[    1.652163] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.652814] usb 8-1: Product: A6210
[    1.653133] usb 8-1: Manufacturer: NETGEAR
[    1.653514] usb 8-1: SerialNumber: 100
[    1.928402] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.929003] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.959582] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    1.960282] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    1.960923] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.961073] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    1.961711] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.963007] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.963189] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    1.963606] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 65,32 bit host data width,256 deep fifo
[    1.965433] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    1.965946] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    1.966558] pci_bus 0000:00: root bus resource [bus 00-1f]
[    1.967051] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    1.967672] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    1.968558] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    1.969205] pci 0000:00:00.0: supports D1
[    1.969576] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.974928] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.975847] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    1.976458] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.977085] pci 0000:01:00.0: reg 0x10: [io  size 0x0100]
[    1.977650] pci 0000:01:00.0: reg 0x18: [mem 0xfa004000-0xfa004fff 64bit]
[    1.978301] pci 0000:01:00.0: reg 0x20: [mem 0xfa000000-0xfa003fff 64bit]
[    1.978627] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.978956] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
[    1.980485] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
[    1.981463] pci 0000:01:00.0: supports D1 D2
[    1.981847] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.986549] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    1.987164] pci 0000:00:00.0: BAR 14: assigned [mem 0xfa000000-0xfa0fffff]
[    1.987807] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
[    1.988514] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
[    1.989200] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0100]
[    1.989767] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0100]
[    1.990355] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.990810] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    1.991634] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.992478] pcieport 0000:00:00.0: PME: Signaling with IRQ 70
[    1.993350] pcieport 0000:00:00.0: AER: enabled with IRQ 70
[    1.997069] clk: Disabling unused clocks
[    1.998377] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    2.000301] Freeing unused kernel memory: 2112K
[    2.035157] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    2.036599] mmc1: new high speed SDHC card at address b368
[    2.039702] mmcblk1: mmc1:b368 USD   7.47 GiB
[    2.052557]  mmcblk1: p1
[    2.063325] Checked W+X mappings: passed, no W+X pages found
[    2.063855] rodata_test: all tests were successful
[    2.064288] Run /sbin/init as init process
[    2.064666]   with arguments:
[    2.064674]     /sbin/init
[    2.064681]   with environment:
[    2.064687]     HOME=/
[    2.064694]     TERM=linux
[    2.089057] scsi 0:0:0:0: Direct-Access     BUFFALO  USB Flash Disk   3.10 PQ: 0 ANSI: 0 CCS
[    2.090804] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.091915] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
[    2.093361] sd 0:0:0:0: [sda] Write Protect is off
[    2.093374] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    2.094811] sd 0:0:0:0: [sda] No Caching mode page found
[    2.095294] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    2.112099]  sda: sda1
[    2.112890] sd 0:0:0:0: [sda] Attached SCSI removable disk

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

* Re: usb: dwc3: some USB devices not working after 6.4.8
  2023-09-07 17:47     ` Kenta Sato
@ 2023-09-07 23:55       ` Thinh Nguyen
  0 siblings, 0 replies; 7+ messages in thread
From: Thinh Nguyen @ 2023-09-07 23:55 UTC (permalink / raw)
  To: Kenta Sato
  Cc: Thinh Nguyen, Bagas Sanjaya, Linux Kernel Mailing List,
	Jisheng Zhang, Greg Kroah-Hartman, Linux Regressions, Linux USB,
	Linux Stable

On Fri, Sep 08, 2023, Kenta Sato wrote:
> On Wed, Sep 6, 2023 at 10:32 AM Thinh Nguyen <Thinh.Nguyen@synopsys.com> wrote:
> Hi Thinh,
> 
> I tested your patch with 6.5.1. It seems to solve the issue and the
> kernel worked the same as 6.4.7.
> 
> I attached three log (dmesg) files:
> - withpatch.log --- 6.5.1 + patch
>   The kernel could detect both USB devices. No "-ETIMEDOUT: failed to
> initialize core" message.
> - nopatch.log --- 6.5.1 without any patches (case 1)
>   The kernel could detect  NETGEAR A6210 but not BUFFALO USB Flash Disk.
>   That was happening less often (about 1 time per 5 boots).
> - nopatch-succ.log --- 6.5.1 without any patches (case 2)
>   The kernel could detect both USB devices even if it showed
> "-ETIMEDOUT: failed to initialize core".
> 
> Please let me know if you need anything else.
> 
> Thank you.
> Kenta
> 

Thanks for the report and the test!

I'll prepare a proper patch when v6.6 rc-1 is released. I need to
cleanup and reduce some of the delays in this experiment.

BR,
Thinh

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

* Re: usb: dwc3: some USB devices not working after 6.4.8
  2023-09-03 23:53 ` usb: dwc3: some USB devices not working after 6.4.8 Bagas Sanjaya
  2023-09-06  1:32   ` Thinh Nguyen
@ 2023-10-20 10:39   ` Linux regression tracking #update (Thorsten Leemhuis)
  1 sibling, 0 replies; 7+ messages in thread
From: Linux regression tracking #update (Thorsten Leemhuis) @ 2023-10-20 10:39 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Linux Regressions, Linux USB, Linux Stable

[TLDR: This mail in primarily relevant for Linux kernel regression
tracking. See link in footer if these mails annoy you.]

On 04.09.23 01:53, Bagas Sanjaya wrote:
> On Sun, Sep 03, 2023 at 09:19:13PM +0900, Kenta Sato wrote:
>>
>> I am using the FriendlyElec NanoPi R4S board.
>> When I update the kernel from 6.4.7 to 6.4.11, 6.4.13, and 6.5.1, it
>> doesn't recognize some USB devices.
>>
>> The board has two USB 3.0 ports. I connected 1) BUFFALO USB Flash Disk
>> (high-speed) and 2) NETGEAR A6210 (SuperSpeed) to each port.
>> 1) is often not recognized. On the other hand, 2) was working while I
>> was testing.
>> Regardless of whether a USB device is connected, I could see the below
>> message on dmesg:
> [...]
> Thanks for the regression report. I'm adding it to regzbot:
> 
> #regzbot ^introduced: e835c0a4e23c38
> #regzbot title: some USB devices unrecognized caused by not resetting dwc3 device if it is host-only

#regzbot fix: 8bea147dfdf823ea
#regzbot ignore-activity

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.


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

end of thread, other threads:[~2023-10-20 10:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAF1eZtsBzGb_UxOqZpNiEsk8Uk7DkqPh5AnYRRNc_kkr-tFasQ@mail.gmail.com>
2023-09-03 23:53 ` usb: dwc3: some USB devices not working after 6.4.8 Bagas Sanjaya
2023-09-06  1:32   ` Thinh Nguyen
2023-09-06 16:29     ` Jisheng Zhang
2023-09-07 12:34       ` Kenta Sato
2023-09-07 17:47     ` Kenta Sato
2023-09-07 23:55       ` Thinh Nguyen
2023-10-20 10:39   ` Linux regression tracking #update (Thorsten Leemhuis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).