On Wed, Apr 19 2017, Jerry Zhang wrote:
> This allows users to make an ioctl call as the first action on a
> connection. Ex, some functions might want to get endpoint size
> before making any i/os.
>
> Previously, calling ioctls before read/write would depending on the
> timing of endpoints being e
This allows users to make an ioctl call as the first action on a
connection. Ex, some functions might want to get endpoint size
before making any i/os.
Previously, calling ioctls before read/write would depending on the
timing of endpoints being enabled.
ESHUTDOWN is now a possible return value a
On Wed, Apr 19 2017, Jerry Zhang wrote:
> Also change the docs to reflect that ENODEV is no longer returned.
>
> This allows users to make an ioctl call as the first action on a
> connection. Ex, some functions might want to get endpoint size
> before making any i/os.
>
> Previously, calling ioctls
On Wed, 2017-04-19 at 15:16 +0400, Razmik Karapetyan wrote:
> Removed unnecessary debug prints about DMA mode for host side
> from dwc2_gahbcfg_init() function.
Why are these unnecessary? Are these emitted elsewhere?
and...
> diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
[]
> @@
Hi,
On Wed, Apr 19, 2017 at 1:25 PM, Stefan Wahren wrote:
> Hi,
>
>> Doug Anderson hat am 18. April 2017 um 22:41
>> geschrieben:
>>
>>
>> It's hard to know for sure that all of this time is really in
>> urb_enqueue(). Possible we could have task switched out and been
>> blocked elsewhere. Us
Also change the docs to reflect that ENODEV is no longer returned.
This allows users to make an ioctl call as the first action on a
connection. Ex, some functions might want to get endpoint size
before making any i/os.
Previously, calling ioctls before read/write would depending on the
timing of
On Wed, 19 Apr 2017, Andreas Hartmann wrote:
> Am 19.04.2017 um 17:49 schrieb Alan Stern:
> > On Tue, 18 Apr 2017, Andreas Hartmann wrote:
> >
> >> Am 18.04.2017 um 21:31 schrieb Alan Stern:
> >>> On Mon, 17 Apr 2017, Andreas Hartmann wrote:
> >>>
> > Good start, but there are five (!) other p
I have no clue how I missed that. We can drop this patch.
On Tue, Apr 18, 2017 at 6:38 PM, Michal Nazarewicz wrote:
> On Tue, Apr 18 2017, Jerry Zhang wrote:
>> The comment for this states that it returns -ENODEV
>> when the function is inactive. Really, an inactive
>> function is treated as havi
Hi,
> Doug Anderson hat am 18. April 2017 um 22:41
> geschrieben:
>
>
> It's hard to know for sure that all of this time is really in
> urb_enqueue(). Possible we could have task switched out and been
> blocked elsewhere. Using ftrace to get more fine-grained timings
> would be useful. ktim
On Wed, Apr 19, 2017 at 5:11 AM, William Wu wrote:
> This patch adds a quirk to disable USB 2.0 MAC linestate check
> during HS transmit. Refer the dwc3 databook, we can use it for
> some special platforms if the linestate not reflect the expected
> line state(J) during transmission.
>
> When use
Aleksander Morgado writes:
> On Wed, Apr 19, 2017 at 7:28 PM, Bjørn Mork wrote:
>>> as a side note in latest kernels I had troubles with qmi devices
>>> (e.g. I/O error when using qmicli).
>>>
>>> I found your suggestion in libqmi mailing list to revert commit
>>>
>>> 833415a3e781a26fe480a34d450
On Wed, Apr 19, 2017 at 10:22:47AM -0700, Badhri Jagan Sridharan wrote:
> On Wed, Apr 19, 2017 at 8:14 AM, Guenter Roeck wrote:
> > On Wed, Apr 19, 2017 at 07:45:00AM -0700, Badhri Jagan Sridharan wrote:
> >> On Wed, Apr 19, 2017 at 4:23 AM, Heikki Krogerus
> >> wrote:
> >> > Hi,
> >> >
> >> > On
Hi,
On 4/13/2017 1:37 PM, Alan Stern wrote:
> This patch reworks the way f_mass_storage.c handles memory barriers
> and synchronization:
>
> The driver now uses a wait_queue instead of doing its own
> task-state manipulations (even though only one task will ever
> use the wait_q
On Mon, Apr 03, 2017 at 09:51:32AM +0200, Zoltan Boszormenyi wrote:
> Use the common mutex from driver/usb/host/pci-quirks.c in the
> i2c-piix4 driver to synchronize access to the I/O port pair
> 0xcd6 / 0xcd7.
>
> At the same time, remove the request_region() call to reserve
> these I/O ports, so
On Wed, Apr 19, 2017 at 7:28 PM, Bjørn Mork wrote:
>> as a side note in latest kernels I had troubles with qmi devices
>> (e.g. I/O error when using qmicli).
>>
>> I found your suggestion in libqmi mailing list to revert commit
>>
>> 833415a3e781a26fe480a34d45086bdb4fe1e4c0
>> cdc-wdm: fix "out-of
Am 19.04.2017 um 17:49 schrieb Alan Stern:
On Tue, 18 Apr 2017, Andreas Hartmann wrote:
Am 18.04.2017 um 21:31 schrieb Alan Stern:
On Mon, 17 Apr 2017, Andreas Hartmann wrote:
Good start, but there are five (!) other places in this driver where
the same bug occurs, at lines 904, 1350, 1577,
Daniele Palmas writes:
> as a side note in latest kernels I had troubles with qmi devices
> (e.g. I/O error when using qmicli).
>
> I found your suggestion in libqmi mailing list to revert commit
>
> 833415a3e781a26fe480a34d45086bdb4fe1e4c0
> cdc-wdm: fix "out-of-sync" due to missing notification
On 04/19/2017 01:24 PM, Peter Senna Tschudin wrote:
We need the SMSC USB3315 clock and regulator to always be initialized.
We also need the PHY driver to take the PHY out of reset. This patch
extends the existing USB generic nop phy driver to include a new
initialization path.
A new compatible
On Wed, Apr 19, 2017 at 8:14 AM, Guenter Roeck wrote:
> On Wed, Apr 19, 2017 at 07:45:00AM -0700, Badhri Jagan Sridharan wrote:
>> On Wed, Apr 19, 2017 at 4:23 AM, Heikki Krogerus
>> wrote:
>> > Hi,
>> >
>> > On Tue, Apr 18, 2017 at 11:52:33AM -0700, Badhri Jagan Sridharan wrote:
>> >> Hi Heikki,
On Tue, 18 Apr 2017, Andreas Hartmann wrote:
> Am 18.04.2017 um 21:31 schrieb Alan Stern:
> > On Mon, 17 Apr 2017, Andreas Hartmann wrote:
> >
> >>> Good start, but there are five (!) other places in this driver where
> >>> the same bug occurs, at lines 904, 1350, 1577, 2088, and 2157. Would
> >>
From: Peter Chen
> Print correct command ring address using 'val_64'.
>
> Cc: stable
> Signed-off-by: Peter Chen
> ---
> drivers/usb/host/xhci-mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
> index de1503
On Wed, Apr 19, 2017 at 07:45:00AM -0700, Badhri Jagan Sridharan wrote:
> On Wed, Apr 19, 2017 at 4:23 AM, Heikki Krogerus
> wrote:
> > Hi,
> >
> > On Tue, Apr 18, 2017 at 11:52:33AM -0700, Badhri Jagan Sridharan wrote:
> >> Hi Heikki,
> >>
> >> I have a question regarding the preferred_role node.
On Wed, Apr 19, 2017 at 4:23 AM, Heikki Krogerus
wrote:
> Hi,
>
> On Tue, Apr 18, 2017 at 11:52:33AM -0700, Badhri Jagan Sridharan wrote:
>> Hi Heikki,
>>
>> I have a question regarding the preferred_role node.
>>
>> +What: /sys/class/typec//preferred_role
>> +Date: March 2017
>>
Changes in version 2:
Added cover letter for patch set
Done small,but significant changes in interrupt handlers, which will allow
to minimize incomplete ISOC IN/OUT, GOUTNAKEFF interrupt handling.
Razmik Karapetyan (3):
usb: dwc2: Update dwc2_handle_incomplete_isoc_in() function
usb:
In 'for' loop skipped masked and non-ISOC EPs. Also breaked 'for' loop
after setting SGOUTNAK in DCTL,when one enabled EP was detected.
This will allow to minimize incomplete ISOC OUT interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 14 --
1 file
Disabled only that ISOC endpoints,for which interrupt bit was set
in the DAINTMSK register. This will allow to minimize incomplete
ISOC IN interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
Disabled only unmasked endpoints based on DAINTMSK register.
This will allow to minimize GINTSTS_GOUTNAKEFF interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/gadget.c b/d
From: Peter Chen
Print correct command ring address using 'val_64'.
Cc: stable
Signed-off-by: Peter Chen
Signed-off-by: Mathias Nyman
---
drivers/usb/host/xhci-mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
From: Peter Chen
We already have sp_array to store each scratch buffer address for xHC,
it doesn't need another sp_dma_buffers array to store it.
Signed-off-by: Peter Chen
Signed-off-by: Mathias Nyman
---
drivers/usb/host/xhci-mem.c | 18 --
drivers/usb/host/xhci.h | 1 -
From: Christoph Hellwig
Use the modern API to request MSI or MSI-X interrupts, which allows us to
get rid of the msix_entries array, as well as cleaning up the cleanup
code.
Signed-off-by: Christoph Hellwig
Signed-off-by: Mathias Nyman
---
drivers/usb/host/xhci.c | 100 ++-
From: Yoshihiro Shimoda
This patch sets resume_quirk() for R-Car controllers to re-download
the firmware in resume timing. Otherwise, if the controller's power
is down in suspend timing, the firmware in the controller goes away,
and then the controller doesn't work after resume.
Signed-off-by: Y
From: Peter Chen
Using correct specification chapter reference for DCBAAP
(Device Context Base Address Array Pointer).
Signed-off-by: Peter Chen
Signed-off-by: Mathias Nyman
---
drivers/usb/host/xhci-mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/xh
From: Yoshihiro Shimoda
This patch enables the clk in resume timing when device_may_wakeup()
is false. Otherwise, kernel panic happens when R-Car resumes the system
from Suspend-to-RAM because the clk is disabled.
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Mathias Nyman
---
drivers/usb/h
From: Baolin Wang
Enable the xHCI plat runtime PM for parent device to suspend/resume
xHCI. Also call pm_runtime_forbid() in probe() function to force users
to explicitly enable runtime pm using power/control in sysfs, in case
some parent devices didn't implement runtime PM callbacks.
[set do_wa
Hi Greg
This series for usb-next contains Christoph Hellwigs msi/msix xhci updates,
better suspend and resume support for R-Car controllers, runtime pm for
xhci platform devices, and a few other cleanups.
-Mathias
Baolin Wang (1):
usb: host: plat: Enable xHCI plat runtime PM
Christoph Hellwig
From: Yoshihiro Shimoda
This patch adds resume_quirk() to do platform specific process in
resume timing.
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Mathias Nyman
---
drivers/usb/host/xhci-plat.c | 15 +++
drivers/usb/host/xhci-plat.h | 1 +
2 files changed, 16 insertions(+)
Added function for supporting Active Clock Gating functionality.
This function checks GHWCFG4 register and if ACG supported,
it sets GATEEN bit in PCGCCTL1 register and enables ACG.
According to ACG functional specification, enabling of ACG feature
in host mode done in host initialization, before
The previously reserved 12th bit in GHWCFG4 now indicates that the
controller supports the Dynamic Power Reduction (Active Clock Gating)
during no traffic scenarios such as L0, idle, resume and suspend
states.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 1 +
1 file changed, 1 in
PCGCCTL1 (Power and Clock Control) register will be used
for controlling the core`s active clock gating feature.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index 4592012..b726701
Patches related to implementation of ACG functionality in dwc2 driver.
In short this feature specifies, that controller supports Dynamic Power
Reduction
during no traffic scenarios.
Razmik Karapetyan (3):
usb: dwc2: Define PCGCCTL1 register in hw.h
usb: dwc2: Define Active Clock Gating sup
This patch adds a quirk to disable USB 2.0 MAC linestate check
during HS transmit. Refer the dwc3 databook, we can use it for
some special platforms if the linestate not reflect the expected
line state(J) during transmission.
When use this quirk, the controller implements a fixed 40-bit
TxEndDelay
On 04/19/2017 04:02 PM, Philipp Zabel wrote:
On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote:
Add support to get a list of resets available for the device.
These resets must be kept de-asserted until the device is
in use.
Cc: Felipe Balbi
Cc: Philipp Zabel
Signed-off-by: Vivek Gautam
Hi Philipp,
On 04/19/2017 04:01 PM, Philipp Zabel wrote:
On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote:
Many devices may want to request a bunch of resets
and control them. So it's better to manage them as an
array. Add APIs to _get(), _assert(), and _deassert()
an array of reset_contr
On 04/19/2017 03:55 PM, Philipp Zabel wrote:
On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote:
Count number of reset phandles available with the device node
to know the resets a given device has.
Cc: Philipp Zabel
Signed-off-by: Vivek Gautam
---
drivers/reset/core.c | 23 +++
Renamed __orr32 and __bic32 function names to more descriptive
dwc2_set_bit and dwc2_clear_bit respectively.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/drivers/usb
Dear Guenter,
在 2017年04月19日 13:15, Guenter Roeck 写道:
On Tue, Apr 18, 2017 at 8:59 PM, wlf wrote:
Dear Guenter,
在 2017年04月18日 21:18, Guenter Roeck 写道:
On Mon, Apr 17, 2017 at 10:17 PM, William Wu
wrote:
This patch adds a quirk to disable USB 2.0 MAC linestate check
during HS transmit. Ref
Hi,
On Tue, Apr 18, 2017 at 11:52:33AM -0700, Badhri Jagan Sridharan wrote:
> Hi Heikki,
>
> I have a question regarding the preferred_role node.
>
> +What: /sys/class/typec//preferred_role
> +Date: March 2017
> +Contact: Heikki Krogerus
> +Description:
> +
Removed unnecessary debug prints about DMA mode for host side
from dwc2_gahbcfg_init() function.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hcd.c | 16 ++--
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index
Changed AHB burst size from INCR4 to INCR by default.
With this value driver show excellent DMA performance.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 2 +-
drivers/usb/dwc2/params.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/ga
Disabled only that ISOC endpoints,for which interrupt bit was set
in the DAINTMSK register. This will allow to minimize incomplete
ISOC IN interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
In 'for' loop skipped masked and non-ISOC EPs. Also breaked 'for' loop
after setting SGOUTNAK in DCTL,when one enabled EP was detected.
This will allow to minimize incomplete ISOC OUT interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 14 --
1 file
Disabled only unmasked endpoints based on DAINTMSK register.
This will allow to minimize GINTSTS_GOUTNAKEFF interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/gadget.c b/d
The previously reserved 12th bit in GHWCFG4 now indicates that the
controller supports the Dynamic Power Reduction (Active Clock Gating)
during no traffic scenarios such as L0, idle, resume and suspend
states.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 1 +
1 file changed, 1 in
Added function for supporting Active Clock Gating functionality.
This function checks GHWCFG4 register and if ACG supported,
it sets GATEEN bit in PCGCCTL1 register and enables ACG.
According to ACG functional specification, enabling of ACG feature
in host mode done in host initialization, before
PCGCCTL1 (Power and Clock Control) register will be used
for controlling the core`s active clock gating feature.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index 4592012..b726701
On 18.04.2017 17:47, Greg KH wrote:
On Wed, Apr 12, 2017 at 08:32:20PM +0200, Christoph Hellwig wrote:
Use the modern API to request MSI or MSI-X interrupts, which allows us to
get rid of the msix_entries array, as well as cleaning up the cleanup
code.
Signed-off-by: Christoph Hellwig
---
dr
On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote:
> Make use of reset_control_array_*() set of APIs to manage
> an array of reset controllers available with the device.
>
> Cc: Thierry Reding
> Cc: Philipp Zabel
> Signed-off-by: Vivek Gautam
> ---
> drivers/soc/tegra/pmc.c | 99
> +++
On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote:
> Add support to get a list of resets available for the device.
> These resets must be kept de-asserted until the device is
> in use.
>
> Cc: Felipe Balbi
> Cc: Philipp Zabel
> Signed-off-by: Vivek Gautam
> ---
> drivers/usb/dwc3/dwc3-of-s
On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote:
> Many devices may want to request a bunch of resets
> and control them. So it's better to manage them as an
> array. Add APIs to _get(), _assert(), and _deassert()
> an array of reset_control.
Thanks! This looks good to me, one small issue be
On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote:
> Count number of reset phandles available with the device node
> to know the resets a given device has.
>
> Cc: Philipp Zabel
> Signed-off-by: Vivek Gautam
> ---
> drivers/reset/core.c | 23 +++
> include/linux/reset.h
On Wed, Apr 19, 2017 at 01:03:23PM +0300, Sergei Shtylyov wrote:
> Hello!
>
> On 4/19/2017 9:14 AM, Peter Senna Tschudin wrote:
>
> > We need the SMSC USB3315 clock and regulator to always be initialized.
> > We also need the PHY driver to take the PHY out of reset. This patch
> > extends the exi
Hello!
On 4/19/2017 9:14 AM, Peter Senna Tschudin wrote:
We need the SMSC USB3315 clock and regulator to always be initialized.
We also need the PHY driver to take the PHY out of reset. This patch
extends the existing USB generic nop phy driver to include a new
initialization path.
A new compa
On Wed, Apr 19, 2017 at 11:12:17AM +0200, Stefan Wahren wrote:
> Am 19.04.2017 um 10:56 schrieb Johan Hovold:
> > On Tue, Apr 18, 2017 at 10:25:06PM +0200, Stefan Wahren wrote:
> >> Hi,
> >>
> >> [add Johan]
> >>
> >>> Stefan Wahren hat am 18. April 2017 um 10:07
> >>> geschrieben:
> >>>
> >>>
>
Am 19.04.2017 um 10:56 schrieb Johan Hovold:
> On Tue, Apr 18, 2017 at 10:25:06PM +0200, Stefan Wahren wrote:
>> Hi,
>>
>> [add Johan]
>>
>>> Stefan Wahren hat am 18. April 2017 um 10:07
>>> geschrieben:
>>>
>>>
>>> Am 18.04.2017 um 00:37 schrieb Doug Anderson:
Hi,
On Mon, Apr 17,
On 04/17/2017 05:12 AM, Stefan Agner wrote:
The assignment ret = ret is redundant and can be removed.
Signed-off-by: Stefan Agner
---
A very similar patch has been applied already last year, but there is
a second such assignment...
--
Stefan
drivers/usb/gadget/udc/core.c | 4 +---
1 file c
On Tue, Apr 18, 2017 at 10:25:06PM +0200, Stefan Wahren wrote:
> Hi,
>
> [add Johan]
>
> > Stefan Wahren hat am 18. April 2017 um 10:07
> > geschrieben:
> >
> >
> > Am 18.04.2017 um 00:37 schrieb Doug Anderson:
> > > Hi,
> > >
> > > On Mon, Apr 17, 2017 at 4:05 AM, Stefan Wahren
> > > wrote
On 04/15/2017 03:35 AM, Stefan Agner wrote:
Currently qw_sign requires UTF-8 character to set, but returns UTF-16
when read. This isn't obvious when simply using cat since the null
characters are not visible, but hexdump unveils the true string:
# echo MSFT100 > os_desc/qw_sign
# hexdump -
On 04/15/2017 03:35 AM, Stefan Agner wrote:
Other unsigned properties return hexadecimal values, follow this
convention when printing b_vendor_code too. Also add newlines to
the OS Descriptor support related properties, like other sysfs
files use.
Signed-off-by: Stefan Agner
---
drivers/usb/
On 04/19/2017 10:00 AM, Johan Hovold wrote:
> On Tue, Apr 18, 2017 at 08:07:56PM +0200, Marek Vasut wrote:
>> This development kit has an FT4232 on it with a custom USB VID/PID.
>> The FT4232 provides four UARTs, but only two are used. The UART 0
>> is used by the FlashPro5 programmer and UART 2 is
On 2017-04-07 17:35, Tony Lindgren wrote:
Commit d8e5f0eca1e8 ("usb: musb: Fix hardirq-safe hardirq-unsafe
lock order error") caused a regression where musb keeps trying to
enable host mode with no cable connected. This seems to be caused
by the fact that now phy is enabled earlier, and we are
On Tue, Apr 18, 2017 at 08:07:56PM +0200, Marek Vasut wrote:
> This development kit has an FT4232 on it with a custom USB VID/PID.
> The FT4232 provides four UARTs, but only two are used. The UART 0
> is used by the FlashPro5 programmer and UART 2 is connected to the
> SmartFusion2 CortexM3 SoC UAR
71 matches
Mail list logo