From: Hemant Kumar
Upon usb composition switch there is possibility of ep0 file
release happening after gadget driver bind. In case of composition
switch from adb to a non-adb composition gadget will never gets
bound again resulting into failure of usb device enumeration. Fix
this issue by checki
On Fri, Jan 05, 2018 at 12:16:02PM -0800, Thinh Nguyen wrote:
> In DWC_usb31 version 1.70a-ea06 and prior needs a SW workaround for isoc
> START TRANSFER command failure. However, some affected versions may have
> RTL patches to fix this without a SW workaround. Add this quirk to
> disable the SW w
On Fri, Jan 05, 2018 at 12:14:48PM -0800, Thinh Nguyen wrote:
> DWC_usb31 periodic transfer at 48K+ bytes per interval may need
> modification to the TX/RX packet threshold to achieve optimal result.
> Add properties to make it configurable.
I tend to think these should all be implied by the SoC s
Hi,
On 1/8/2018 4:05 AM, Felipe Balbi wrote:
>
> Hi,
>
> Thinh Nguyen writes:
>> Check and configure TX/RX threshold for DWC_usb31. Update dwc3 structure
>> with new variables to store these threshold configurations.
>
> couldn't we calculate these in runtime? Then we wouldn't need new Device
Hi,
On 1/8/2018 4:08 AM, Felipe Balbi wrote:
> Thinh Nguyen writes:
>> Dump LSP and BMU debug info.
>>
>> Signed-off-by: Thinh Nguyen
>> ---
>> drivers/usb/dwc3/core.h| 5 +
>> drivers/usb/dwc3/debugfs.c | 5 +
>> 2 files changed, 10 insertions(+)
>>
>> diff --git a/drivers/usb/d
On 1/8/2018 4:02 AM, Felipe Balbi wrote:
>
> Hi,
>
> Thinh Nguyen writes:
>> Update two GTXFIFOSIZ bit fields for the DWC_usb31 controller. TXFDEP
>> is a 15-bit value instead of 16-bit value, and bit 15 is TXFRAMNUM.
>>
>> The GTXFIFOSIZ register for DWC_usb31 is as follows:
>> +---+-
On 1/8/2018 4:01 AM, Felipe Balbi wrote:
>
> Hi,
>
> Thinh Nguyen writes:
>> From DWC_usb31 databook section 1.3.2, once DWC3_DCTL_CSFTRST bit is
>> cleared, we must wait at least 50ms before accessing the PHY domain
>> (synchronization delay).
>>
>> Signed-off-by: Thinh Nguyen
>> ---
>> dri
Hi,
On 1/8/2018 4:06 AM, Felipe Balbi wrote:
>
> Hi,
>
> Thinh Nguyen writes:
>> There are 2 control endpoint structures for DWC3. However, the driver
>> only updates the OUT direction control endpoint structure during
>> ConnectDone event. DWC3 driver needs to update the endpoint max packet
>>
On Mon, 8 Jan 2018 22:44:27 +0100
Peter Zijlstra wrote:
> On Mon, Jan 08, 2018 at 10:31:09PM +0100, Jesper Dangaard Brouer wrote:
> > I did expected the issue to get worse, when you load the Pi with
> > network traffic, as now the softirq time-budget have to be shared
> > between networking and U
Automated tests triggered this by opening usbmon and accessing the
mmap while simultaneously resizing the buffers. This bug was with
us since 2006, because typically applications only size the buffers
once and thus avoid racing. Reported by Kirill A. Shutemov.
Signed-off-by: Pete Zaitcev
---
dri
On Mon, 8 Jan 2018 16:28:58 +0100 Johan Hovold wrote:
> On Mon, Jan 08, 2018 at 11:33:32AM +0100, Oliver Neukum wrote:
> > Am Samstag, den 06.01.2018, 20:14 +0300 schrieb Mikhail Zaytsev:
> > > The patch removes unused TIOCSSERIAL ioctl case and adds the default block
> > > to the switch. This
On Mon, Jan 08, 2018 at 10:31:09PM +0100, Jesper Dangaard Brouer wrote:
> I did expected the issue to get worse, when you load the Pi with
> network traffic, as now the softirq time-budget have to be shared
> between networking and USB/DVB. Thus, I guess you are running TCP and
> USB/mpeg2ts on the
On Mon, 8 Jan 2018 17:26:10 +0100
"Josef Griebichler" wrote:
> I tried your mentioned patch but unfortunately no real improvement for me.
> dmesg http://ix.io/DOg
> tvheadend service log http://ix.io/DOi
>
> Errors during recording are still there.
Are you _also_ recording the stream on the Ras
On Wed, 3 Jan 2018 12:26:04 +0300
"Kirill A. Shutemov" wrote:
> > > - unsigned long offset, chunk_idx;
> > > + unsigned long offset, chunk_idx, flags;
> > > struct page *pageptr;
> > >
> > > + mutex_lock(&rp->fetch_lock);
> > > + spin_lock_irqsave(&rp->b_lock, flags);
> > > offset = vmf->pg
On Mon, 8 Jan 2018 12:35:08 -0500 (EST) Alan Stern
wrote:
> On Mon, 8 Jan 2018, Josef Griebichler wrote:
>
> > No I can't sorry. There's no sat connection near to my workstation.
>
> Can we ask the person who made this post:
> https://forum.libreelec.tv/thread/4235-dvb-issue-since-le-switc
On Mon, Jan 8, 2018 at 11:15 AM, Alan Stern wrote:
>
> Both dwc2_hsotg and ehci-hcd use the tasklets embedded in the
> giveback_urb_bh member of struct usb_hcd. See usb_hcd_giveback_urb()
> in drivers/usb/core/hcd.c; the calls are
>
> else if (high_prio_bh)
> tasklet_hi_sc
On Mon, 8 Jan 2018, Linus Torvalds wrote:
> Can somebody tell which softirq it is that dvb/usb cares about?
I don't know about the DVB part. The USB part is a little difficult to
analyze, mostly because the bug reports I've seen are mostly from
people running non-vanilla kernels. For example, J
Thanks Johan for taking a look.
Am 08.01.2018 um 17:30 schrieb Johan Hovold:
> Adding the device ids and a quirk to cdc_acm.c
>>> .driver_info = NO_UNION_NORMAL,
>> does only suppress the "Zero length" message.
> Do you then get a ttyACMn device? Or some other error?
Nothing more. No ttyACM devic
Hi Arnd,
On Monday 08 January 2018 06:31 PM, Arnd Bergmann wrote:
> Stefan Wahren reports a problem with a warning fix that was merged
> for v4.15: we had lots of device nodes with a 'phys' property pointing
> to a device node that is not compliant with the binding documented in
> Documentation/de
On Mon, Jan 8, 2018 at 9:55 AM, Ingo Molnar wrote:
>
> as I doubt we have enough time to root-case this properly.
Well, it's not like this is a new issue, and we don't have to get it
fixed for 4.15. It's been around since 4.9, it's not a "have to
suddenly fix it this week" issue.
I just think th
* Linus Torvalds wrote:
> On Sat, Jan 6, 2018 at 11:54 AM, Mauro Carvalho Chehab
> wrote:
> >
> > Em Sat, 6 Jan 2018 16:04:16 +0100
> > "Josef Griebichler" escreveu:
> >>
> >> the causing commit has been identified.
> >> After reverting commit
> >> https://git.kernel.org/pub/scm/linux/kernel/
On Mon, 8 Jan 2018, Josef Griebichler wrote:
> No I can't sorry. There's no sat connection near to my workstation.
Can we ask the person who made this post:
https://forum.libreelec.tv/thread/4235-dvb-issue-since-le-switched-to-kernel-4-9-x/?postID=75965#post75965
to run the test? The post says
No I can't sorry. There's no sat connection near to my workstation.
Gesendet: Montag, 08. Januar 2018 um 17:31 Uhr
Von: "Alan Stern"
An: "Josef Griebichler"
Cc: "Mauro Carvalho Chehab" , "Greg Kroah-Hartman"
, linux-usb@vger.kernel.org, "Eric Dumazet"
, "Rik van Riel" , "Paolo Abeni"
, "H
On Mon, 8 Jan 2018, Josef Griebichler wrote:
> Hi Maro,
>
> I tried your mentioned patch but unfortunately no real improvement for me.
> dmesg http://ix.io/DOg
> tvheadend service log http://ix.io/DOi
> Errors during recording are still there.
> Errors increase if there is additional tcp load on
On Thu, Jan 04, 2018 at 07:38:26PM +0100, Max Schulze wrote:
> Hello,
>
> I need some advice how to debug a device, that under Windows presents 2
> virtual com ports. Windows .sys. file mentions a "Jungo CDC ACM OBEX
> Driver".
>
>
> I get the following dmesg output
>
> > [ 1700.263981] usb 1-1
Hi Maro,
I tried your mentioned patch but unfortunately no real improvement for me.
dmesg http://ix.io/DOg
tvheadend service log http://ix.io/DOi
Errors during recording are still there.
Errors increase if there is additional tcp load on raspberry.
Unfortunately there's no usbmon or tshark on lib
On Mon, 8 Jan 2018, Mauro Carvalho Chehab wrote:
> > Let find the root-cause of this before reverting, as this will hurt the
> > networking use-case.
> >
> > I want to see if the increase buffer will solve the issue (the current
> > buffer of 0.63 ms seem too small).
>
> For TV, high latency has
On Mon, 8 Jan 2018, Mauro Carvalho Chehab wrote:
> Em Sun, 7 Jan 2018 10:41:37 -0500 (EST)
> Alan Stern escreveu:
>
> > On Sun, 7 Jan 2018, Mauro Carvalho Chehab wrote:
> >
> > > > > It seems that the original patch were designed to solve some IRQ
> > > > > issues
> > > > > with network cards
On Mon, 8 Jan 2018, Felipe Balbi wrote:
>
> Hi Greg,
>
> Here are my changes for this merge window. Let me know if you want
> anything to be changed.
>
> Patches have been on linux-next for quite a while ;-)
>
> cheers
>
> The following changes since commit 50c4c4e268a2d7a3e58ebb698ac74da0de4
On Mon, Jan 08, 2018 at 11:33:32AM +0100, Oliver Neukum wrote:
> Am Samstag, den 06.01.2018, 20:14 +0300 schrieb Mikhail Zaytsev:
> > The patch removes unused TIOCSSERIAL ioctl case and adds the default block
> > to the switch. This will make the ioctl return -ENOTTY to user space (e.g.
> > setseri
Am Montag, den 01.01.2018, 23:12 +0100 schrieb Roman Gruber :
> A test kernel with the same kernel config with antique 4.1.x kernel on
> gentoo, oldest stable available kernel on gentoo, as described on kernel.org
> bugzilla, yielded in instantly working printer. But broken wifi which seems
> t
Hi Stefan,
On 12/31/2017 9:19 PM, Stefan Wahren wrote:
> Hi Grigor,
>
> sorry for misusing the cover letter for my comments, but i didn't received
> all patches.
>
>> Grigor Tovmasyan hat am 26. Dezember 2017 um
>> 12:21 geschrieben:
>>
>>
>> ...
>>
>>
>> Minas Harutyunyan (5):
>>usb: dwc
On Mon, Jan 08, 2018 at 01:48:29PM +0200, Felipe Balbi wrote:
>
> Hi Greg,
>
> Here are my changes for this merge window. Let me know if you want
> anything to be changed.
>
> Patches have been on linux-next for quite a while ;-)
>
> cheers
>
> The following changes since commit 50c4c4e268a2d7
Stefan Wahren reports a problem with a warning fix that was merged
for v4.15: we had lots of device nodes with a 'phys' property pointing
to a device node that is not compliant with the binding documented in
Documentation/devicetree/bindings/phy/phy-bindings.txt
This generally works because USB HC
Em Mon, 8 Jan 2018 12:59:10 +0100
Jesper Dangaard Brouer escreveu:
> On Mon, 8 Jan 2018 08:02:00 -0200
> Mauro Carvalho Chehab wrote:
>
> > Hi Linus,
> >
> > Em Sun, 7 Jan 2018 13:23:39 -0800
> > Linus Torvalds escreveu:
> >
> > > On Sat, Jan 6, 2018 at 11:54 AM, Mauro Carvalho Chehab
> >
On 12/31/2017 9:19 PM, Stefan Wahren wrote:
Hi Stefan,
>>
>> Razmik Karapetyan (10):
>>usb: dwc2: Set AHB burst size to INCR
>
> The usage hsotg->params.ahbcfg instead of the defines is a unintended fix for
> BCM2835. According to the BCM2835 datasheet this register have a different
> defi
This patch adds the capability to support RZ/A1 SoCs.
Signed-off-by: Chris Brandt
---
v2:
* Removed "renesas,usbhs-r7s72100"
* Changed license of rza.c
---
drivers/usb/renesas_usbhs/Makefile | 2 +-
drivers/usb/renesas_usbhs/common.c | 13 ++
drivers/usb/renesas_usbhs/common.h | 6 ++
This series adds RZ/A1 gadget support to the renesas_usbhs driver.
Basically, it's almost the same HW as the R-Car (and SH) parts.
The only real difference is the some extra registers for the PHY.
This was tested on an RSK board by connecting to a PC as an
Ethernet CDC gadget.
v4:
* Re-added "re
Add USB device support.
Signed-off-by: Chris Brandt
Reviewed-by: Geert Uytterhoeven
---
v4:
* Changed to "renesas,usbhs-r7s72100", "renesas,rza1-usbhs"
v3:
* Changed from "renesas,usbhs-r7s72100" to "renesas,rza1-usbhs"
v2:
* Node name is now generic 'usb@'
* GIC_SPI (73-32) is now just GIC_
Document support for RZ/A1 SoCs
Signed-off-by: Chris Brandt
Reviewed-by: Geert Uytterhoeven
---
v4:
* Re-added "renesas,usbhs-r7s72100"
v3:
* Removed "renesas,usbhs-r7s72100"
v2:
* Added Reviewed-by
---
Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 2 ++
1 file changed, 2 inserti
Hi Chris,
On Mon, Jan 8, 2018 at 12:59 PM, Chris Brandt wrote:
> On Monday, January 08, 2018, Geert Uytterhoeven wrote:
>> Thanks for the update, but I think there has been a misunderstanding.
>> I didn't mean to drop "renesas,usbhs-r7s72100" everywhere, only from
>> the matching in the driver.
>
On Mon, Jan 8, 2018 at 12:59 PM, Chris Brandt wrote:
> Hi Geert and Simon,
>
>
> On Monday, January 08, 2018, Geert Uytterhoeven wrote:
>> Thanks for the update, but I think there has been a misunderstanding.
>> I didn't mean to drop "renesas,usbhs-r7s72100" everywhere, only from
>> the matching i
Hi Greg k-h
On 12/29/2017 20:59, Greg KH wrote:
> On Tue, Dec 26, 2017 at 03:22:05PM +0400, Grigor Tovmasyan wrote:
>> From: Gevorg Sahakyan
>>
>> Only check the ID portion of the GSNPSID register and don’t check
>> the version. This will allow the driver to work with version 4.00a
>> and later o
Hi,
Thinh Nguyen writes:
> Dump LSP and BMU debug info.
>
> Signed-off-by: Thinh Nguyen
> ---
> drivers/usb/dwc3/core.h| 5 +
> drivers/usb/dwc3/debugfs.c | 5 +
> 2 files changed, 10 insertions(+)
>
> diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
> index 83a74d10f
Hi,
Thinh Nguyen writes:
> There are 2 control endpoint structures for DWC3. However, the driver
> only updates the OUT direction control endpoint structure during
> ConnectDone event. DWC3 driver needs to update the endpoint max packet
> size for control IN endpoint as well. If the max packet s
Hi,
Thinh Nguyen writes:
> Check and configure TX/RX threshold for DWC_usb31. Update dwc3 structure
> with new variables to store these threshold configurations.
couldn't we calculate these in runtime? Then we wouldn't need new Device
Properties.
--
balbi
signature.asc
Description: PGP sig
Hi,
Thinh Nguyen writes:
> Update two GTXFIFOSIZ bit fields for the DWC_usb31 controller. TXFDEP
> is a 15-bit value instead of 16-bit value, and bit 15 is TXFRAMNUM.
>
> The GTXFIFOSIZ register for DWC_usb31 is as follows:
> +---+---+--+
> | BITS |
Hi,
Thinh Nguyen writes:
> From DWC_usb31 databook section 1.3.2, once DWC3_DCTL_CSFTRST bit is
> cleared, we must wait at least 50ms before accessing the PHY domain
> (synchronization delay).
>
> Signed-off-by: Thinh Nguyen
> ---
> drivers/usb/dwc3/core.c | 13 -
> 1 file changed,
Hi Geert and Simon,
On Monday, January 08, 2018, Geert Uytterhoeven wrote:
> Thanks for the update, but I think there has been a misunderstanding.
> I didn't mean to drop "renesas,usbhs-r7s72100" everywhere, only from
> the matching in the driver.
Opps, I was all kinds of confused then.
So, b
On Mon, 8 Jan 2018 08:02:00 -0200
Mauro Carvalho Chehab wrote:
> Hi Linus,
>
> Em Sun, 7 Jan 2018 13:23:39 -0800
> Linus Torvalds escreveu:
>
> > On Sat, Jan 6, 2018 at 11:54 AM, Mauro Carvalho Chehab
> > wrote:
> > >
> > > Em Sat, 6 Jan 2018 16:04:16 +0100
> > > "Josef Griebichler" escrev
Hi,
Lipengcheng writes:
> The value is 4, it can cache four descriptors. When streaming_interval = 1,
> it can tolerate 500us. Some busy scenes, it may be more than 500us because
> cpu scheduling is not timely. There will have some problems. It is better
> set to eight.
>
> Signed-off-by: Pengch
Hi,
Lipengcheng writes:
> In removal requests, it is necessary to make the corresponding trb
> disable state (HWO = 1) and dep->queued_requests a corresponding reduction.
> It is better to use a alone funtion to disable trb (HWO = 0).
this shouldn't be necessary. What problem are you facing? wh
Hi,
Lipengcheng writes:
>> Lipengcheng writes:
>>
>> > Iso transmission, the current process is that all trb(HWO=1) is handled.
>> > Then core generate DWC3_DEPEVT_XFERNOTREADY event, Software begin
>> > refill trb, this will produce 0 length package, the patch is to
>> > achieve the core cons
Hi Greg,
Here are my changes for this merge window. Let me know if you want
anything to be changed.
Patches have been on linux-next for quite a while ;-)
cheers
The following changes since commit 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36:
Linux 4.15-rc3 (2017-12-10 17:56:26 -0800)
are avail
Hi,
Yu Chen writes:
> From: Yu Chen
>
> Unable to handle kernel paging request at virtual address dead0108
> pgd = fff7a3179000
> [dead0108] *pgd=230e0003, *pud=230e0003,
> *pmd=
> Internal error: Oops: 9644 [#1] PREEMPT SMP
> Modules link
On Mon, Jan 8, 2018 at 10:36 AM, Stefan Wahren wrote:
> Am 08.01.2018 um 10:27 schrieb Arnd Bergmann:
>>
>> On Mon, Jan 8, 2018 at 10:15 AM, Stefan Wahren
>> wrote:
>>>
>>> Hi Eric,
>>> Am 07.01.2018 um 23:08 schrieb Eric Anholt:
Stefan Wahren writes:
> This reverts commit 014
Am Samstag, den 06.01.2018, 20:14 +0300 schrieb Mikhail Zaytsev:
> The patch removes unused TIOCSSERIAL ioctl case and adds the default block
> to the switch. This will make the ioctl return -ENOTTY to user space (e.g.
> setserial), because TIOCSSERIAL really isn't supported for these devices
> cur
Hi Linus,
Em Sun, 7 Jan 2018 13:23:39 -0800
Linus Torvalds escreveu:
> On Sat, Jan 6, 2018 at 11:54 AM, Mauro Carvalho Chehab
> wrote:
> >
> > Em Sat, 6 Jan 2018 16:04:16 +0100
> > "Josef Griebichler" escreveu:
> >>
> >> the causing commit has been identified.
> >> After reverting commit
>
Em Sun, 7 Jan 2018 10:41:37 -0500 (EST)
Alan Stern escreveu:
> On Sun, 7 Jan 2018, Mauro Carvalho Chehab wrote:
>
> > > > It seems that the original patch were designed to solve some IRQ issues
> > > > with network cards with causes data losses on high traffic. However,
> > > > it is also causin
59 matches
Mail list logo