diff for duplicates of <1467721137.3144.81.camel@synopsys.com> diff --git a/a/1.txt b/N1/1.txt index 468a833..873a9d3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,73 +5,73 @@ 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+AKA-http://thread.gmane.org/gmane.linux.usb.general/110847 +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 +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI- +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 -------------------------+AD4-8--------------------------- +------------------------>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 -+AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags) -+AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong. -+AKAAoACgAKAAoACgAKAAoACgACo-/ -+AKA- --+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/ --+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-) --+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-, --+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs- ++++ 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]); - -+AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/ -+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- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs- -------------------------+AD4-8--------------------------- +????????/* 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: -------------------------+AD4-8--------------------------- +------------------------>8--------------------------- usb 1-1: new full-speed USB device number 2 using ohci-platform -usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested -usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008 -------------+AFs- cut here +AF0------------- -WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 +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 +ACM-10 -Workqueue: events request+AF8-firmware+AF8-work+AF8-func +CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10 +Workqueue: events request_firmware_work_func Stack Trace: -+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c ----+AFs- end trace 2249b79eac9991d1 +AF0---- -------------+AFs- cut here +AF0------------- -WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 +? 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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -Workqueue: events request+AF8-firmware+AF8-work+AF8-func +CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G????????W???????4.6.3 #10 +Workqueue: events request_firmware_work_func Stack Trace: -+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c ----+AFs- end trace 2249b79eac9991d2 +AF0---- -------------+AFs- cut here +AF0------------- -WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 +? 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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -Workqueue: events request+AF8-firmware+AF8-work+AF8-func +CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G????????W???????4.6.3 #10 +Workqueue: events request_firmware_work_func Stack Trace: -+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c ----+AFs- end trace 2249b79eac9991d3 +AF0---- +? arc_unwind_core.constprop.1+0x94/0x10c +---[ end trace 2249b79eac9991d3 ]--- ... -------------------------+AD4-8--------------------------- +------------------------>8--------------------------- -Alexey diff --git a/a/content_digest b/N1/content_digest index 957bb95..69ace47 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ - "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 12:20:08 +0000\0" - "To\0ath9k-devel@lists.ath9k.org\0" + "To\0linux-snps-arc@lists.infradead.org\0" "\00:1\0" "b\0" "Hello,\n" @@ -11,75 +11,75 @@ "\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+AKA-http://thread.gmane.org/gmane.linux.usb.general/110847\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 +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI-\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" - "------------------------+AD4-8---------------------------\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" - "+AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags)\n" - "+AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong.\n" - "+AKAAoACgAKAAoACgAKAAoACgACo-/\n" - "+AKA-\n" - "-+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/\n" - "-+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-)\n" - "-+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-,\n" - "-+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs-\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" - "+AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/\n" - "+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" - "+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs-\n" - "------------------------+AD4-8---------------------------\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" - "------------------------+AD4-8---------------------------\n" + "------------------------>8---------------------------\n" "usb 1-1: new full-speed USB device number 2 using ohci-platform\n" - "usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested\n" - "usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008\n" - "------------+AFs- cut here +AF0-------------\n" - "WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\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 +ACM-10\n" - "Workqueue: events request+AF8-firmware+AF8-work+AF8-func\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" - "+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "---+AFs- end trace 2249b79eac9991d1 +AF0----\n" - "------------+AFs- cut here +AF0-------------\n" - "WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "Workqueue: events request+AF8-firmware+AF8-work+AF8-func\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" - "+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "---+AFs- end trace 2249b79eac9991d2 +AF0----\n" - "------------+AFs- cut here +AF0-------------\n" - "WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "Workqueue: events request+AF8-firmware+AF8-work+AF8-func\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" - "+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "---+AFs- end trace 2249b79eac9991d3 +AF0----\n" + "? arc_unwind_core.constprop.1+0x94/0x10c\n" + "---[ end trace 2249b79eac9991d3 ]---\n" "\n" "...\n" - "------------------------+AD4-8---------------------------\n" + "------------------------>8---------------------------\n" "\n" -Alexey -916c22e72f6b7aefc84b55f54ab196596202fc69e9ebcca6c0af9314cdf403d9 +a91365ffea57243269806c22290afc04bc492b394875cf989dd6da915a8de733
diff --git a/a/1.txt b/N2/1.txt index 468a833..ccd5b24 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -5,73 +5,73 @@ 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+AKA-http://thread.gmane.org/gmane.linux.usb.general/110847 +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 +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI- +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 -------------------------+AD4-8--------------------------- +------------------------>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 -+AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags) -+AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong. -+AKAAoACgAKAAoACgAKAAoACgACo-/ -+AKA- --+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/ --+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-) --+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-, --+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs- ++++ 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]); - -+AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/ -+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- -+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs- -------------------------+AD4-8--------------------------- + /* 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: -------------------------+AD4-8--------------------------- +------------------------>8--------------------------- usb 1-1: new full-speed USB device number 2 using ohci-platform -usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested -usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008 -------------+AFs- cut here +AF0------------- -WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 +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 +ACM-10 -Workqueue: events request+AF8-firmware+AF8-work+AF8-func +CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10 +Workqueue: events request_firmware_work_func Stack Trace: -+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c ----+AFs- end trace 2249b79eac9991d1 +AF0---- -------------+AFs- cut here +AF0------------- -WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 + 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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -Workqueue: events request+AF8-firmware+AF8-work+AF8-func +CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 +Workqueue: events request_firmware_work_func Stack Trace: -+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c ----+AFs- end trace 2249b79eac9991d2 +AF0---- -------------+AFs- cut here +AF0------------- -WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404 -usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3 + 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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10 -Workqueue: events request+AF8-firmware+AF8-work+AF8-func +CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 +Workqueue: events request_firmware_work_func Stack Trace: -+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c ----+AFs- end trace 2249b79eac9991d3 +AF0---- + arc_unwind_core.constprop.1+0x94/0x10c +---[ end trace 2249b79eac9991d3 ]--- ... -------------------------+AD4-8--------------------------- +------------------------>8--------------------------- -Alexey diff --git a/a/content_digest b/N2/content_digest index 957bb95..5652a3d 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,7 +1,13 @@ "From\0Alexey Brodkin <Alexey.Brodkin@synopsys.com>\0" - "Subject\0[ath9k-devel] ath9k-htc on OHCI -> bogus usb xfer\0" + "Subject\0ath9k-htc on OHCI -> bogus usb xfer\0" "Date\0Tue, 5 Jul 2016 12:20:08 +0000\0" - "To\0ath9k-devel@lists.ath9k.org\0" + "To\0linux-usb@vger.kernel.org <linux-usb@vger.kernel.org>\0" + "Cc\0linux-wireless@vger.kernel.org <linux-wireless@vger.kernel.org>" + linux@rempel-privat.de <linux@rempel-privat.de> + anders.darander@gmail.com <anders.darander@gmail.com> + stern@rowland.harward.edu <stern@rowland.harward.edu> + ath9k-devel@lists.ath9k.org <ath9k-devel@lists.ath9k.org> + " linux-snps-arc@lists.infradead.org <linux-snps-arc@lists.infradead.org>\0" "\00:1\0" "b\0" "Hello,\n" @@ -11,75 +17,75 @@ "\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+AKA-http://thread.gmane.org/gmane.linux.usb.general/110847\n" + "what was discussed here\302\240http://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 +ACI-ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw+ACI-\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" - "------------------------+AD4-8---------------------------\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" - "+AEAAQA- -443,11 +-443,6 +AEAAQA- int usb+AF8-submit+AF8-urb(struct urb +ACo-urb, gfp+AF8-t mem+AF8-flags)\n" - "+AKAAoACgAKAAoACgAKAAoACgACo- cause problems in HCDs if they get it wrong.\n" - "+AKAAoACgAKAAoACgAKAAoACgACo-/\n" - "+AKA-\n" - "-+AKAAoACgAKAAoACgAKA-/+ACo- Check that the pipe's type matches the endpoint's type +ACo-/\n" - "-+AKAAoACgAKAAoACgAKA-if (usb+AF8-pipetype(urb-+AD4-pipe) +ACEAPQ- pipetypes+AFs-xfertype+AF0-)\n" - "-+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-dev+AF8-WARN(+ACY-dev-+AD4-dev, +ACI-BOGUS urb xfer, pipe +ACU-x +ACEAPQ- type +ACU-x+AFw-n+ACI-,\n" - "-+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoA-usb+AF8-pipetype(urb-+AD4-pipe), pipetypes+AFs-xfertype+AF0-)+ADs-\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" - "+AKAAoACgAKAAoACgAKAAoA-/+ACo- Check against a simple/standard policy +ACo-/\n" - "+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" - "+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACg-URB+AF8-FREE+AF8-BUFFER)+ADs-\n" - "------------------------+AD4-8---------------------------\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" - "------------------------+AD4-8---------------------------\n" + "------------------------>8---------------------------\n" "usb 1-1: new full-speed USB device number 2 using ohci-platform\n" - "usb 1-1: ath9k+AF8-htc: Firmware ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw requested\n" - "usb 1-1: ath9k+AF8-htc: Transferred FW: ath9k+AF8-htc/htc+AF8-9271-1.4.0.fw, size: 51008\n" - "------------+AFs- cut here +AF0-------------\n" - "WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\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 +ACM-10\n" - "Workqueue: events request+AF8-firmware+AF8-work+AF8-func\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" - "+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "---+AFs- end trace 2249b79eac9991d1 +AF0----\n" - "------------+AFs- cut here +AF0-------------\n" - "WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "Workqueue: events request+AF8-firmware+AF8-work+AF8-func\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" - "+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "---+AFs- end trace 2249b79eac9991d2 +AF0----\n" - "------------+AFs- cut here +AF0-------------\n" - "WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb+AF8-submit+AF8-urb+-0x162/0x404\n" - "usb 1-1: BOGUS urb xfer, pipe 1 +ACEAPQ- type 3\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+AKAAoACgAKAAoACgAKAAoA-W+AKAAoACgAKAAoACgAKA-4.6.3 +ACM-10\n" - "Workqueue: events request+AF8-firmware+AF8-work+AF8-func\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" - "+AKA- arc+AF8-unwind+AF8-core.constprop.1+-0x94/0x10c\n" - "---+AFs- end trace 2249b79eac9991d3 +AF0----\n" + "\302\240 arc_unwind_core.constprop.1+0x94/0x10c\n" + "---[ end trace 2249b79eac9991d3 ]---\n" "\n" "...\n" - "------------------------+AD4-8---------------------------\n" + "------------------------>8---------------------------\n" "\n" -Alexey -916c22e72f6b7aefc84b55f54ab196596202fc69e9ebcca6c0af9314cdf403d9 +7013e24ca890c91dab0f0d123327ae4241ca3238da6e908cf8505d66f3340f4f
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.