diff for duplicates of <1467739821.3086.13.camel@synopsys.com> diff --git a/a/1.txt b/N1/1.txt index 79affba..d7d0d7e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,89 +1,89 @@ Hi Oleksij, -On Tue, 2016-07-05 at 19:23 +-0200, Oleksij Rempel wrote: -+AD4- Hi, -+AD4- -+AD4- Am 05.07.2016 um 14:20 schrieb Alexey Brodkin: -+AD4- +AD4- -+AD4- +AD4- Hello, -+AD4- +AD4- -+AD4- +AD4- Looks like this is another manifestation of already seen problem with ath9k-htc -+AD4- +AD4- and OHCI controller. -+AD4- +AD4- -+AD4- +AD4- I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our -+AD4- +AD4- development board (this is Synopsys AXS103) and seeing a picture very similar to -+AD4- +AD4- what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847 -+AD4- +AD4- -+AD4- +AD4- Below is what I see on insertion of the dongle. -+AD4- +AD4- Note I have the most recent ath9k-htc firmware (see +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI- -+AD4- +AD4- in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same -+AD4- +AD4- happens even on 4.4. -+AD4- +AD4- -+AD4- +AD4- Interesting enough if I simply remove or disable the warning like that -+AD4- +AD4- ------------------------+AD4-8--------------------------- -+AD4- +AD4- diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c -+AD4- +AD4- index 3d27477..a317e1e 100644 -+AD4- +AD4- --- a/drivers/usb/core/urb.c -+AD4- +AD4- +-+-+- b/drivers/usb/core/urb.c -+AD4- +AD4- +AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags) -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong. -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo-/ -+AD4- +AD4- +AKA- -+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/ -+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-) -+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-, -+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs- -+AD4- +AD4- - -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/ -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-allowed +AD0- (URB+AF8-NO+AF8-TRANSFER+AF8-DMA+AF8-MAP +AHw- URB+AF8-NO+AF8-INTERRUPT +AHw- URB+AF8-DIR+AF8-MASK +AHw- -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs- -+AD4- +AD4- ------------------------+AD4-8--------------------------- -+AD4- +AD4- everything seem to work quite nice. -+AD4- +AD4- -+AD4- +AD4- Any thoughts are much appreciated. -+AD4- +AD4- -+AD4- +AD4- That's the log itself: -+AD4- +AD4- ------------------------+AD4-8--------------------------- -+AD4- +AD4- usb 1-1: new full-speed USB device number 2 using ohci-platform -+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested -+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008 -+AD4- +AD4- ------------+AFs- cut here +AF0------------- -+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 -+AD4- +AD4- Modules linked in: -+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 +ACM-10 -+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func -+AD4- +AD4- -+AD4- +AD4- Stack Trace: -+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c -+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d1 +AF0---- -+AD4- +AD4- ------------+AFs- cut here +AF0------------- -+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 -+AD4- +AD4- Modules linked in: -+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func -+AD4- +AD4- -+AD4- +AD4- Stack Trace: -+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c -+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d2 +AF0---- -+AD4- +AD4- ------------+AFs- cut here +AF0------------- -+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 -+AD4- +AD4- Modules linked in: -+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func -+AD4- +AD4- -+AD4- +AD4- Stack Trace: -+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c -+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d3 +AF0---- -+AD4- +AD4- -+AD4- -+AD4- please send content of hif+AF8-usb+AF8-send+AF8-regout() from your source code. -+AD4- It is located in drivers/net/wireless/ath/ath9k/hif+AF8-usb.c +On Tue, 2016-07-05@19:23 +0200, Oleksij Rempel wrote: +> Hi, +> +> Am 05.07.2016 um 14:20 schrieb Alexey Brodkin: +> > +> > Hello, +> > +> > Looks like this is another manifestation of already seen problem with ath9k-htc +> > and OHCI controller. +> > +> > I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our +> > development board (this is Synopsys AXS103) and seeing a picture very similar to +> > what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847 +> > +> > Below is what I see on insertion of the dongle. +> > Note I have the most recent ath9k-htc firmware (see "ath9k_htc/htc_9271-1.4.0.fw" +> > in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same +> > happens even on 4.4. +> > +> > Interesting enough if I simply remove or disable the warning like that +> > ------------------------>8--------------------------- +> > diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c +> > index 3d27477..a317e1e 100644 +> > --- a/drivers/usb/core/urb.c +> > +++ b/drivers/usb/core/urb.c +> > @@ -443,11 +443,6 @@ int usb_submit_urb(struct urb *urb, gfp_t mem_flags) +> > ?????????* cause problems in HCDs if they get it wrong. +> > ?????????*/ +> > ? +> > -???????/* Check that the pipe's type matches the endpoint's type */ +> > -???????if (usb_pipetype(urb->pipe) != pipetypes[xfertype]) +> > -???????????????dev_WARN(&dev->dev, "BOGUS urb xfer, pipe %x != type %x\n", +> > -???????????????????????usb_pipetype(urb->pipe), pipetypes[xfertype]); +> > - +> > ????????/* Check against a simple/standard policy */ +> > ????????allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | +> > ????????????????????????URB_FREE_BUFFER); +> > ------------------------>8--------------------------- +> > everything seem to work quite nice. +> > +> > Any thoughts are much appreciated. +> > +> > That's the log itself: +> > ------------------------>8--------------------------- +> > usb 1-1: new full-speed USB device number 2 using ohci-platform +> > usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested +> > usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 +> > ------------[ cut here ]------------ +> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 +> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 +> > Modules linked in: +> > CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10 +> > Workqueue: events request_firmware_work_func +> > +> > Stack Trace: +> > ? arc_unwind_core.constprop.1+0x94/0x10c +> > ---[ end trace 2249b79eac9991d1 ]--- +> > ------------[ cut here ]------------ +> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 +> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 +> > Modules linked in: +> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G????????W???????4.6.3 #10 +> > Workqueue: events request_firmware_work_func +> > +> > Stack Trace: +> > ? arc_unwind_core.constprop.1+0x94/0x10c +> > ---[ end trace 2249b79eac9991d2 ]--- +> > ------------[ cut here ]------------ +> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 +> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 +> > Modules linked in: +> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G????????W???????4.6.3 #10 +> > Workqueue: events request_firmware_work_func +> > +> > Stack Trace: +> > ? arc_unwind_core.constprop.1+0x94/0x10c +> > ---[ end trace 2249b79eac9991d3 ]--- +> > +> +> please send content of hif_usb_send_regout() from your source code. +> It is located in drivers/net/wireless/ath/ath9k/hif_usb.c I use vanilla 4.6.3 tree so that's what I have is the same as -http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif+AF8-usb.c?h+AD0-linu -x-4.6.y+ACM-n99 +http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif_usb.c?h=linu +x-4.6.y#n99 -Alexey diff --git a/a/content_digest b/N1/content_digest index 5bfd85c..c0586d4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,99 +1,99 @@ "ref\01467721137.3144.81.camel@synopsys.com\0" "ref\0577BED2D.7070209@rempel-privat.de\0" - "From\0Alexey Brodkin <Alexey.Brodkin@synopsys.com>\0" - "Subject\0[ath9k-devel] ath9k-htc on OHCI -> bogus usb xfer\0" + "From\0Alexey.Brodkin@synopsys.com (Alexey Brodkin)\0" + "Subject\0ath9k-htc on OHCI -> bogus usb xfer\0" "Date\0Tue, 5 Jul 2016 17:31:33 +0000\0" - "To\0ath9k-devel@lists.ath9k.org\0" + "To\0linux-snps-arc@lists.infradead.org\0" "\00:1\0" "b\0" "Hi Oleksij,\n" "\n" - "On Tue, 2016-07-05 at 19:23 +-0200, Oleksij Rempel wrote:\n" - "+AD4- Hi,\n" - "+AD4- \n" - "+AD4- Am 05.07.2016 um 14:20 schrieb Alexey Brodkin:\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Hello,\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Looks like this is another manifestation of already seen problem with ath9k-htc\n" - "+AD4- +AD4- and OHCI controller.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our\n" - "+AD4- +AD4- development board (this is Synopsys AXS103) and seeing a picture very similar to\n" - "+AD4- +AD4- what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Below is what I see on insertion of the dongle.\n" - "+AD4- +AD4- Note I have the most recent ath9k-htc firmware (see +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI-\n" - "+AD4- +AD4- in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same\n" - "+AD4- +AD4- happens even on 4.4.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Interesting enough if I simply remove or disable the warning like that\n" - "+AD4- +AD4- ------------------------+AD4-8---------------------------\n" - "+AD4- +AD4- diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c\n" - "+AD4- +AD4- index 3d27477..a317e1e 100644\n" - "+AD4- +AD4- --- a/drivers/usb/core/urb.c\n" - "+AD4- +AD4- +-+-+- b/drivers/usb/core/urb.c\n" - "+AD4- +AD4- +AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags)\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong.\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo-/\n" - "+AD4- +AD4- +AKA-\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-)\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-,\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs-\n" - "+AD4- +AD4- -\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-allowed +AD0- (URB+AF8-NO+AF8-TRANSFER+AF8-DMA+AF8-MAP +AHw- URB+AF8-NO+AF8-INTERRUPT +AHw- URB+AF8-DIR+AF8-MASK +AHw-\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs-\n" - "+AD4- +AD4- ------------------------+AD4-8---------------------------\n" - "+AD4- +AD4- everything seem to work quite nice.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Any thoughts are much appreciated.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- That's the log itself:\n" - "+AD4- +AD4- ------------------------+AD4-8---------------------------\n" - "+AD4- +AD4- usb 1-1: new full-speed USB device number 2 using ohci-platform\n" - "+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested\n" - "+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008\n" - "+AD4- +AD4- ------------+AFs- cut here +AF0-------------\n" - "+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\n" - "+AD4- +AD4- Modules linked in:\n" - "+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 +ACM-10\n" - "+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Stack Trace:\n" - "+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d1 +AF0----\n" - "+AD4- +AD4- ------------+AFs- cut here +AF0-------------\n" - "+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\n" - "+AD4- +AD4- Modules linked in:\n" - "+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Stack Trace:\n" - "+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d2 +AF0----\n" - "+AD4- +AD4- ------------+AFs- cut here +AF0-------------\n" - "+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\n" - "+AD4- +AD4- Modules linked in:\n" - "+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Stack Trace:\n" - "+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d3 +AF0----\n" - "+AD4- +AD4- \n" - "+AD4- \n" - "+AD4- please send content of hif+AF8-usb+AF8-send+AF8-regout() from your source code.\n" - "+AD4- It is located in drivers/net/wireless/ath/ath9k/hif+AF8-usb.c\n" + "On Tue, 2016-07-05@19:23 +0200, Oleksij Rempel wrote:\n" + "> Hi,\n" + "> \n" + "> Am 05.07.2016 um 14:20 schrieb Alexey Brodkin:\n" + "> > \n" + "> > Hello,\n" + "> > \n" + "> > Looks like this is another manifestation of already seen problem with ath9k-htc\n" + "> > and OHCI controller.\n" + "> > \n" + "> > I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our\n" + "> > development board (this is Synopsys AXS103) and seeing a picture very similar to\n" + "> > what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847\n" + "> > \n" + "> > Below is what I see on insertion of the dongle.\n" + "> > Note I have the most recent ath9k-htc firmware (see \"ath9k_htc/htc_9271-1.4.0.fw\"\n" + "> > in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same\n" + "> > happens even on 4.4.\n" + "> > \n" + "> > Interesting enough if I simply remove or disable the warning like that\n" + "> > ------------------------>8---------------------------\n" + "> > diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c\n" + "> > index 3d27477..a317e1e 100644\n" + "> > --- a/drivers/usb/core/urb.c\n" + "> > +++ b/drivers/usb/core/urb.c\n" + "> > @@ -443,11 +443,6 @@ int usb_submit_urb(struct urb *urb, gfp_t mem_flags)\n" + "> > ?????????* cause problems in HCDs if they get it wrong.\n" + "> > ?????????*/\n" + "> > ?\n" + "> > -???????/* Check that the pipe's type matches the endpoint's type */\n" + "> > -???????if (usb_pipetype(urb->pipe) != pipetypes[xfertype])\n" + "> > -???????????????dev_WARN(&dev->dev, \"BOGUS urb xfer, pipe %x != type %x\\n\",\n" + "> > -???????????????????????usb_pipetype(urb->pipe), pipetypes[xfertype]);\n" + "> > -\n" + "> > ????????/* Check against a simple/standard policy */\n" + "> > ????????allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK |\n" + "> > ????????????????????????URB_FREE_BUFFER);\n" + "> > ------------------------>8---------------------------\n" + "> > everything seem to work quite nice.\n" + "> > \n" + "> > Any thoughts are much appreciated.\n" + "> > \n" + "> > That's the log itself:\n" + "> > ------------------------>8---------------------------\n" + "> > usb 1-1: new full-speed USB device number 2 using ohci-platform\n" + "> > usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested\n" + "> > usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008\n" + "> > ------------[ cut here ]------------\n" + "> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404\n" + "> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3\n" + "> > Modules linked in:\n" + "> > CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10\n" + "> > Workqueue: events request_firmware_work_func\n" + "> > \n" + "> > Stack Trace:\n" + "> > ? arc_unwind_core.constprop.1+0x94/0x10c\n" + "> > ---[ end trace 2249b79eac9991d1 ]---\n" + "> > ------------[ cut here ]------------\n" + "> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404\n" + "> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3\n" + "> > Modules linked in:\n" + "> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G????????W???????4.6.3 #10\n" + "> > Workqueue: events request_firmware_work_func\n" + "> > \n" + "> > Stack Trace:\n" + "> > ? arc_unwind_core.constprop.1+0x94/0x10c\n" + "> > ---[ end trace 2249b79eac9991d2 ]---\n" + "> > ------------[ cut here ]------------\n" + "> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404\n" + "> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3\n" + "> > Modules linked in:\n" + "> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G????????W???????4.6.3 #10\n" + "> > Workqueue: events request_firmware_work_func\n" + "> > \n" + "> > Stack Trace:\n" + "> > ? arc_unwind_core.constprop.1+0x94/0x10c\n" + "> > ---[ end trace 2249b79eac9991d3 ]---\n" + "> > \n" + "> \n" + "> please send content of hif_usb_send_regout() from your source code.\n" + "> It is located in drivers/net/wireless/ath/ath9k/hif_usb.c\n" "\n" "I use vanilla 4.6.3 tree so that's what I have is the same as\n" - "http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif+AF8-usb.c?h+AD0-linu\n" - "x-4.6.y+ACM-n99\n" + "http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif_usb.c?h=linu\n" + "x-4.6.y#n99\n" "\n" -Alexey -664828fa3cdf602a21ca44b39ee8887d5197657cd2ccb098e5c369399efc85f2 +13e69f39058d04f393ddde4da00c581e7e1060b8bf57dd967f4e9cae721aaa34
diff --git a/a/1.txt b/N2/1.txt index 79affba..bb32b0f 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,89 +1,89 @@ Hi Oleksij, -On Tue, 2016-07-05 at 19:23 +-0200, Oleksij Rempel wrote: -+AD4- Hi, -+AD4- -+AD4- Am 05.07.2016 um 14:20 schrieb Alexey Brodkin: -+AD4- +AD4- -+AD4- +AD4- Hello, -+AD4- +AD4- -+AD4- +AD4- Looks like this is another manifestation of already seen problem with ath9k-htc -+AD4- +AD4- and OHCI controller. -+AD4- +AD4- -+AD4- +AD4- I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our -+AD4- +AD4- development board (this is Synopsys AXS103) and seeing a picture very similar to -+AD4- +AD4- what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847 -+AD4- +AD4- -+AD4- +AD4- Below is what I see on insertion of the dongle. -+AD4- +AD4- Note I have the most recent ath9k-htc firmware (see +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI- -+AD4- +AD4- in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same -+AD4- +AD4- happens even on 4.4. -+AD4- +AD4- -+AD4- +AD4- Interesting enough if I simply remove or disable the warning like that -+AD4- +AD4- ------------------------+AD4-8--------------------------- -+AD4- +AD4- diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c -+AD4- +AD4- index 3d27477..a317e1e 100644 -+AD4- +AD4- --- a/drivers/usb/core/urb.c -+AD4- +AD4- +-+-+- b/drivers/usb/core/urb.c -+AD4- +AD4- +AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags) -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong. -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo-/ -+AD4- +AD4- +AKA- -+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/ -+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-) -+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-, -+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs- -+AD4- +AD4- - -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/ -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-allowed +AD0- (URB+AF8-NO+AF8-TRANSFER+AF8-DMA+AF8-MAP +AHw- URB+AF8-NO+AF8-INTERRUPT +AHw- URB+AF8-DIR+AF8-MASK +AHw- -+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs- -+AD4- +AD4- ------------------------+AD4-8--------------------------- -+AD4- +AD4- everything seem to work quite nice. -+AD4- +AD4- -+AD4- +AD4- Any thoughts are much appreciated. -+AD4- +AD4- -+AD4- +AD4- That's the log itself: -+AD4- +AD4- ------------------------+AD4-8--------------------------- -+AD4- +AD4- usb 1-1: new full-speed USB device number 2 using ohci-platform -+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested -+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008 -+AD4- +AD4- ------------+AFs- cut here +AF0------------- -+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 -+AD4- +AD4- Modules linked in: -+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 +ACM-10 -+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func -+AD4- +AD4- -+AD4- +AD4- Stack Trace: -+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c -+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d1 +AF0---- -+AD4- +AD4- ------------+AFs- cut here +AF0------------- -+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 -+AD4- +AD4- Modules linked in: -+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func -+AD4- +AD4- -+AD4- +AD4- Stack Trace: -+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c -+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d2 +AF0---- -+AD4- +AD4- ------------+AFs- cut here +AF0------------- -+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 -+AD4- +AD4- Modules linked in: -+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func -+AD4- +AD4- -+AD4- +AD4- Stack Trace: -+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c -+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d3 +AF0---- -+AD4- +AD4- -+AD4- -+AD4- please send content of hif+AF8-usb+AF8-send+AF8-regout() from your source code. -+AD4- It is located in drivers/net/wireless/ath/ath9k/hif+AF8-usb.c +On Tue, 2016-07-05 at 19:23 +0200, Oleksij Rempel wrote: +> Hi, +> +> Am 05.07.2016 um 14:20 schrieb Alexey Brodkin: +> > +> > Hello, +> > +> > Looks like this is another manifestation of already seen problem with ath9k-htc +> > and OHCI controller. +> > +> > I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our +> > development board (this is Synopsys AXS103) and seeing a picture very similar to +> > what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847 +> > +> > Below is what I see on insertion of the dongle. +> > Note I have the most recent ath9k-htc firmware (see "ath9k_htc/htc_9271-1.4.0.fw" +> > in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same +> > happens even on 4.4. +> > +> > Interesting enough if I simply remove or disable the warning like that +> > ------------------------>8--------------------------- +> > diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c +> > index 3d27477..a317e1e 100644 +> > --- a/drivers/usb/core/urb.c +> > +++ b/drivers/usb/core/urb.c +> > @@ -443,11 +443,6 @@ int usb_submit_urb(struct urb *urb, gfp_t mem_flags) +> > * cause problems in HCDs if they get it wrong. +> > */ +> > +> > - /* Check that the pipe's type matches the endpoint's type */ +> > - if (usb_pipetype(urb->pipe) != pipetypes[xfertype]) +> > - dev_WARN(&dev->dev, "BOGUS urb xfer, pipe %x != type %x\n", +> > - usb_pipetype(urb->pipe), pipetypes[xfertype]); +> > - +> > /* Check against a simple/standard policy */ +> > allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | +> > URB_FREE_BUFFER); +> > ------------------------>8--------------------------- +> > everything seem to work quite nice. +> > +> > Any thoughts are much appreciated. +> > +> > That's the log itself: +> > ------------------------>8--------------------------- +> > usb 1-1: new full-speed USB device number 2 using ohci-platform +> > usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested +> > usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 +> > ------------[ cut here ]------------ +> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 +> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 +> > Modules linked in: +> > CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10 +> > Workqueue: events request_firmware_work_func +> > +> > Stack Trace: +> > arc_unwind_core.constprop.1+0x94/0x10c +> > ---[ end trace 2249b79eac9991d1 ]--- +> > ------------[ cut here ]------------ +> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 +> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 +> > Modules linked in: +> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 +> > Workqueue: events request_firmware_work_func +> > +> > Stack Trace: +> > arc_unwind_core.constprop.1+0x94/0x10c +> > ---[ end trace 2249b79eac9991d2 ]--- +> > ------------[ cut here ]------------ +> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 +> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 +> > Modules linked in: +> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 +> > Workqueue: events request_firmware_work_func +> > +> > Stack Trace: +> > arc_unwind_core.constprop.1+0x94/0x10c +> > ---[ end trace 2249b79eac9991d3 ]--- +> > +> +> please send content of hif_usb_send_regout() from your source code. +> It is located in drivers/net/wireless/ath/ath9k/hif_usb.c I use vanilla 4.6.3 tree so that's what I have is the same as -http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif+AF8-usb.c?h+AD0-linu -x-4.6.y+ACM-n99 +http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif_usb.c?h=linu +x-4.6.y#n99 -Alexey diff --git a/a/content_digest b/N2/content_digest index 5bfd85c..8245798 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,99 +1,105 @@ "ref\01467721137.3144.81.camel@synopsys.com\0" "ref\0577BED2D.7070209@rempel-privat.de\0" "From\0Alexey Brodkin <Alexey.Brodkin@synopsys.com>\0" - "Subject\0[ath9k-devel] ath9k-htc on OHCI -> bogus usb xfer\0" + "Subject\0Re: ath9k-htc on OHCI -> bogus usb xfer\0" "Date\0Tue, 5 Jul 2016 17:31:33 +0000\0" - "To\0ath9k-devel@lists.ath9k.org\0" + "To\0linux@rempel-privat.de <linux@rempel-privat.de>\0" + "Cc\0linux-wireless@vger.kernel.org <linux-wireless@vger.kernel.org>" + anders.darander@gmail.com <anders.darander@gmail.com> + ath9k-devel@lists.ath9k.org <ath9k-devel@lists.ath9k.org> + fixed-term.Oleksij.Rempel@de.bosch.com <fixed-term.Oleksij.Rempel@de.bosch.com> + linux-snps-arc@lists.infradead.org <linux-snps-arc@lists.infradead.org> + " linux-usb@vger.kernel.org <linux-usb@vger.kernel.org>\0" "\00:1\0" "b\0" "Hi Oleksij,\n" "\n" - "On Tue, 2016-07-05 at 19:23 +-0200, Oleksij Rempel wrote:\n" - "+AD4- Hi,\n" - "+AD4- \n" - "+AD4- Am 05.07.2016 um 14:20 schrieb Alexey Brodkin:\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Hello,\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Looks like this is another manifestation of already seen problem with ath9k-htc\n" - "+AD4- +AD4- and OHCI controller.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our\n" - "+AD4- +AD4- development board (this is Synopsys AXS103) and seeing a picture very similar to\n" - "+AD4- +AD4- what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Below is what I see on insertion of the dongle.\n" - "+AD4- +AD4- Note I have the most recent ath9k-htc firmware (see +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI-\n" - "+AD4- +AD4- in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same\n" - "+AD4- +AD4- happens even on 4.4.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Interesting enough if I simply remove or disable the warning like that\n" - "+AD4- +AD4- ------------------------+AD4-8---------------------------\n" - "+AD4- +AD4- diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c\n" - "+AD4- +AD4- index 3d27477..a317e1e 100644\n" - "+AD4- +AD4- --- a/drivers/usb/core/urb.c\n" - "+AD4- +AD4- +-+-+- b/drivers/usb/core/urb.c\n" - "+AD4- +AD4- +AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags)\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong.\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgACo-/\n" - "+AD4- +AD4- +AKA-\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-)\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-,\n" - "+AD4- +AD4- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs-\n" - "+AD4- +AD4- -\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoA-allowed +AD0- (URB+AF8-NO+AF8-TRANSFER+AF8-DMA+AF8-MAP +AHw- URB+AF8-NO+AF8-INTERRUPT +AHw- URB+AF8-DIR+AF8-MASK +AHw-\n" - "+AD4- +AD4- +AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs-\n" - "+AD4- +AD4- ------------------------+AD4-8---------------------------\n" - "+AD4- +AD4- everything seem to work quite nice.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Any thoughts are much appreciated.\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- That's the log itself:\n" - "+AD4- +AD4- ------------------------+AD4-8---------------------------\n" - "+AD4- +AD4- usb 1-1: new full-speed USB device number 2 using ohci-platform\n" - "+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested\n" - "+AD4- +AD4- usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008\n" - "+AD4- +AD4- ------------+AFs- cut here +AF0-------------\n" - "+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\n" - "+AD4- +AD4- Modules linked in:\n" - "+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 +ACM-10\n" - "+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Stack Trace:\n" - "+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d1 +AF0----\n" - "+AD4- +AD4- ------------+AFs- cut here +AF0-------------\n" - "+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\n" - "+AD4- +AD4- Modules linked in:\n" - "+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Stack Trace:\n" - "+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d2 +AF0----\n" - "+AD4- +AD4- ------------+AFs- cut here +AF0-------------\n" - "+AD4- +AD4- WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "+AD4- +AD4- usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\n" - "+AD4- +AD4- Modules linked in:\n" - "+AD4- +AD4- CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "+AD4- +AD4- Workqueue: events request+AF8-firmware+AF8-work+AF8-func\n" - "+AD4- +AD4- \n" - "+AD4- +AD4- Stack Trace:\n" - "+AD4- +AD4- +AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "+AD4- +AD4- ---+AFs- end trace 2249b79eac9991d3 +AF0----\n" - "+AD4- +AD4- \n" - "+AD4- \n" - "+AD4- please send content of hif+AF8-usb+AF8-send+AF8-regout() from your source code.\n" - "+AD4- It is located in drivers/net/wireless/ath/ath9k/hif+AF8-usb.c\n" + "On Tue, 2016-07-05 at 19:23 +0200, Oleksij Rempel wrote:\n" + "> Hi,\n" + "> \n" + "> Am 05.07.2016 um 14:20 schrieb Alexey Brodkin:\n" + "> > \n" + "> > Hello,\n" + "> > \n" + "> > Looks like this is another manifestation of already seen problem with ath9k-htc\n" + "> > and OHCI controller.\n" + "> > \n" + "> > I'm trying to get USB Wi-Fi dongle based on Atheros AR9271 to work with our\n" + "> > development board (this is Synopsys AXS103) and seeing a picture very similar to\n" + "> > what was discussed here http://thread.gmane.org/gmane.linux.usb.general/110847\n" + "> > \n" + "> > Below is what I see on insertion of the dongle.\n" + "> > Note I have the most recent ath9k-htc firmware (see \"ath9k_htc/htc_9271-1.4.0.fw\"\n" + "> > in the log below) and Linux kernel is 4.6.3 (latest stable as of today) but the same\n" + "> > happens even on 4.4.\n" + "> > \n" + "> > Interesting enough if I simply remove or disable the warning like that\n" + "> > ------------------------>8---------------------------\n" + "> > diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c\n" + "> > index 3d27477..a317e1e 100644\n" + "> > --- a/drivers/usb/core/urb.c\n" + "> > +++ b/drivers/usb/core/urb.c\n" + "> > @@ -443,11 +443,6 @@ int usb_submit_urb(struct urb *urb, gfp_t mem_flags)\n" + "> > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240* cause problems in HCDs if they get it wrong.\n" + "> > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240*/\n" + "> > \302\240\n" + "> > -\302\240\302\240\302\240\302\240\302\240\302\240\302\240/* Check that the pipe's type matches the endpoint's type */\n" + "> > -\302\240\302\240\302\240\302\240\302\240\302\240\302\240if (usb_pipetype(urb->pipe) != pipetypes[xfertype])\n" + "> > -\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240dev_WARN(&dev->dev, \"BOGUS urb xfer, pipe %x != type %x\\n\",\n" + "> > -\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240usb_pipetype(urb->pipe), pipetypes[xfertype]);\n" + "> > -\n" + "> > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240/* Check against a simple/standard policy */\n" + "> > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK |\n" + "> > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240URB_FREE_BUFFER);\n" + "> > ------------------------>8---------------------------\n" + "> > everything seem to work quite nice.\n" + "> > \n" + "> > Any thoughts are much appreciated.\n" + "> > \n" + "> > That's the log itself:\n" + "> > ------------------------>8---------------------------\n" + "> > usb 1-1: new full-speed USB device number 2 using ohci-platform\n" + "> > usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested\n" + "> > usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008\n" + "> > ------------[ cut here ]------------\n" + "> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404\n" + "> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3\n" + "> > Modules linked in:\n" + "> > CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10\n" + "> > Workqueue: events request_firmware_work_func\n" + "> > \n" + "> > Stack Trace:\n" + "> > \302\240 arc_unwind_core.constprop.1+0x94/0x10c\n" + "> > ---[ end trace 2249b79eac9991d1 ]---\n" + "> > ------------[ cut here ]------------\n" + "> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404\n" + "> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3\n" + "> > Modules linked in:\n" + "> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240W\302\240\302\240\302\240\302\240\302\240\302\240\302\2404.6.3 #10\n" + "> > Workqueue: events request_firmware_work_func\n" + "> > \n" + "> > Stack Trace:\n" + "> > \302\240 arc_unwind_core.constprop.1+0x94/0x10c\n" + "> > ---[ end trace 2249b79eac9991d2 ]---\n" + "> > ------------[ cut here ]------------\n" + "> > WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404\n" + "> > usb 1-1: BOGUS urb xfer, pipe 1 != type 3\n" + "> > Modules linked in:\n" + "> > CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240W\302\240\302\240\302\240\302\240\302\240\302\240\302\2404.6.3 #10\n" + "> > Workqueue: events request_firmware_work_func\n" + "> > \n" + "> > Stack Trace:\n" + "> > \302\240 arc_unwind_core.constprop.1+0x94/0x10c\n" + "> > ---[ end trace 2249b79eac9991d3 ]---\n" + "> > \n" + "> \n" + "> please send content of hif_usb_send_regout() from your source code.\n" + "> It is located in drivers/net/wireless/ath/ath9k/hif_usb.c\n" "\n" "I use vanilla 4.6.3 tree so that's what I have is the same as\n" - "http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif+AF8-usb.c?h+AD0-linu\n" - "x-4.6.y+ACM-n99\n" + "http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath9k/hif_usb.c?h=linu\n" + "x-4.6.y#n99\n" "\n" -Alexey -664828fa3cdf602a21ca44b39ee8887d5197657cd2ccb098e5c369399efc85f2 +0457012a49c190f051395e0ee7471dd0d9987491af2a6004f53cde06d3d7a4fe
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.