On 2018-04-18 07:48, yos...@codeaurora.org wrote:
> On 2018-04-17 17:11, Peter Rosin wrote:
>> On 2018-04-17 15:52, Yossi Mansharoff wrote:
>>> On the db410c 96boards platform we have a TC7USB40MU on the board
>>> to mux the D+/D- lines coming from the controller between a micro
>>> usb "device" po
On 12.05.2018 04:21, Jacob Saunders wrote:
On Linux kernel 4.16.8 (using Arch Linux) if I eject a USB 3.0 device from my system
(unplug or "udisksctl power-off --block-device /dev/sde), it freezes instantly
with a null pointer error in XHCI. I've been unable to successfully capture a kernel
lo
On 31.01.2018 16:57, Andrzej Hajda wrote:
> extcon device is used to detect host/device connection. Since extcon
> OF property is deprecated, alternative method should be added.
> This method uses OF graph bindings to locate extcon.
>
> Signed-off-by: Andrzej Hajda
Ping, 3.5 months passed.
Regar
Hub driver will try to disable a USB3 device twice at logical disconnect,
racing with xhci_free_dev() callback from the first port disable.
This can be triggered with "udisksctl power-off --block-device "
or by writing "1" to the "remove" sysfs file for a USB3 device
in 4.17-rc4.
USB3 devices don
Hi Greg
One more xhci fix for 4.17.
Commit: 44a182b9d177 ("xhci: Fix use-after-free in xhci_free_virt_device")
Revealed a race by causing a NULL pointer dereference regression in
4.17-rc4 and stable. Fix it.
-Mathias
Mathias Nyman (1):
xhci: Fix USB3 NULL pointer dereference at logical disconn
On 11.05.2018 23:06, Jordan Glover wrote:
On May 11, 2018 6:14 PM, Mathias Nyman wrote:
I think that just adding the below code should be enough for 4.17
diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
index 72ebbc9..32cd52c 100644
--- a/drivers/usb/host/xhci-hub.c
+
Hi
> -Original Message-
> From: Mats Karrman [mailto:mats.dev.l...@gmail.com]
> Sent: 2018年5月12日 3:49
> To: Jun Li ; robh...@kernel.org; gre...@linuxfoundation.org;
> heikki.kroge...@linux.intel.com; li...@roeck-us.net
> Cc: a.ha...@samsung.com; cw00.c...@samsung.com;
> shufan_...@richtek.c
Hi
> -Original Message-
> From: Mats Karrman [mailto:mats.dev.l...@gmail.com]
> Sent: 2018年5月12日 3:52
> To: Jun Li ; robh...@kernel.org; gre...@linuxfoundation.org;
> heikki.kroge...@linux.intel.com; li...@roeck-us.net
> Cc: a.ha...@samsung.com; cw00.c...@samsung.com;
> shufan_...@richtek.c
This patch uses usb role switch API if the register suceeeded.
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/gadget/udc/renesas_usb3.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/renesas_usb3.c
b/drivers/usb/gadget/udc/renesas_usb3.c
ind
This patch adds role switch support for R-Car SoCs into the USB
3.0 peripheral driver. Some R-Car SoCs (e.g. R-Car H3) have USB
3.0 dual-role device controller which has the USB 3.0 xHCI host
and Renesas USB 3.0 peripheral.
Unfortunately, the mode change register contains the USB 3.0 peripheral
co
This patch set is based on Felipe's usb.git / testing/next branch
(commit id = 5d1332a8eabd8bd5b8c322d45542968ee6f113be).
I still marked this patch set as "RFC". I would like to know whether
this way is good or not.
Changes from RFC v2:
- Add registering usb role switch into drivers/usb/gadget/u
This patch adds a new API "device_connection_find_by_graph()" to
find device connection by using graph.
Signed-off-by: Yoshihiro Shimoda
---
Documentation/driver-api/device_connection.rst | 4 +--
drivers/base/devcon.c | 43 ++
include/linux/devi
This patch adds OF graph properties for usb role switch in r8a7795
into USB3.0 host/peripheral nodes.
TODO:
- need patches for other SoCs.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/
Hi
> -Original Message-
> From: Mats Karrman [mailto:mats.dev.l...@gmail.com]
> Sent: 2018年5月12日 3:56
> To: Jun Li ; robh...@kernel.org; gre...@linuxfoundation.org;
> heikki.kroge...@linux.intel.com; li...@roeck-us.net
> Cc: a.ha...@samsung.com; cw00.c...@samsung.com;
> shufan_...@richtek.c
Hi
> -Original Message-
> From: Mats Karrman [mailto:mats.dev.l...@gmail.com]
> Sent: 2018年5月12日 5:37
> To: Jun Li ; robh...@kernel.org; gre...@linuxfoundation.org;
> heikki.kroge...@linux.intel.com; li...@roeck-us.net
> Cc: a.ha...@samsung.com; cw00.c...@samsung.com;
> shufan_...@richtek.c
Hi Heiner,
On Fri, May 11, 2018 at 12:11 AM, Heiner Kallweit wrote:
> Due to some other issue with one devices supported by hid-led I figured
> out that it's no longer needed to list devices with own driver in
> hid_have_special_driver[].
>
> So I removed the entries for the hid-led devices and g
On Sun, May 13, 2018 at 12:30:51AM +0300, Andy Shevchenko wrote:
> On Fri, May 11, 2018 at 4:18 PM, Heikki Krogerus
> wrote:
> > This adds more complete handling of VDMs and registration of
> > partner alternate modes, and introduces callbacks for
> > alternate mode operations.
> >
> > Only DFP ro
On Sat, May 12, 2018 at 06:25:09PM -0700, Randy Dunlap wrote:
> On 05/11/2018 06:18 AM, Heikki Krogerus wrote:
> > Introducing a simple bus for the alternate modes. Bus allows
> > binding drivers to the discovered alternate modes the
> > partners support.
> >
> > Signed-off-by: Heikki Krogerus
>
On Sat, May 12, 2018 at 02:42:47PM -0700, Guenter Roeck wrote:
> On 05/11/2018 06:18 AM, Heikki Krogerus wrote:
> > Hi,
> >
> > This is the third version of my proposal for more complete alternate
> > mode support. In this version I'm including a proposal for the mux
> > handling. Basically, I'm p
On 11.05.2018 19:37, gert wrote:
Since the upgrade to Linux 4.15 (and also in 4.16), I'm experiencing an issue
where all my USB devices just die seemingly without any cause. Both my laptop's
internal (attached) keyboard as well as my external keyboard die.
Replugging the external keyboard unf
On Mon, May 14, 2018 at 06:15:57PM +0900, Yoshihiro Shimoda wrote:
> This patch adds a new API "device_connection_find_by_graph()" to
> find device connection by using graph.
>
> Signed-off-by: Yoshihiro Shimoda
> ---
> Documentation/driver-api/device_connection.rst | 4 +--
> drivers/base/devc
From: Daniel Glöckner
It has been observed that writing 0xF2 to the power register while it
reads as 0xF4 results in the register having the value 0xF0, i.e. clearing
RESUME and setting SUSPENDM in one go does not work. It might also violate
the USB spec to transition directly from resume to susp
Hi Greg,
Here is one musb fix for v4.17-rc6, which fixes a race condition in musb
transitioning from resume to suspend. Please let me know if any change is
needed.
Regards,
-Bin.
Daniel Glöckner (1):
usb: musb: fix remote wakeup racing with suspend
drivers/usb/musb/musb_host.c| 5 +
On 05/14/2018 02:15 AM, Yoshihiro Shimoda wrote:
> This patch adds a new API "device_connection_find_by_graph()" to
> find device connection by using graph.
>
> Signed-off-by: Yoshihiro Shimoda
> ---
> Documentation/driver-api/device_connection.rst | 4 +--
> drivers/base/devcon.c
Hello!
> I didn't get any feedback about the suggested patch.
If you talk about this one https://marc.info/?l=linux-usb&m=15252835690
2325&w=2 then unfortunately I missed it.
Mathias, please confirm, is this patch I need to check on Dell 5855?
14/05/2018 в 16:27 +0300, Mathias Nyman:
> On 11.05
Hello!
> I didn't get any feedback about the suggested patch.
If you talk about this one https://marc.info/?l=linux-usb&m=15252835690
2325&w=2 then unfortunately I missed it.
Mathias, please confirm, is this patch I need to check on Dell 5855?
14/05/2018 в 16:27 +0300, Mathias Nyman:
> On 11.05
On Thu, May 10, 2018 at 09:41:53AM -0500, David R. Bild wrote:
> 3) Allow the driver to register the TPM with TPM driver, but not yet
> expose the TPM to userspace. Let the driver do some additional work
> (like set the platform hierarchy password) and then explicitly inform
> the TPM driver that
On Mon, May 14, 2018 at 2:31 PM, Jason Gunthorpe wrote:
>
> On Thu, May 10, 2018 at 09:41:53AM -0500, David R. Bild wrote:
>
> > 3) Allow the driver to register the TPM with TPM driver, but not yet
> > expose the TPM to userspace. Let the driver do some additional work
> > (like set the platform
Am 14.05.2018 um 11:58 schrieb Benjamin Tissoires:
> Hi Heiner,
>
> On Fri, May 11, 2018 at 12:11 AM, Heiner Kallweit
> wrote:
>> Due to some other issue with one devices supported by hid-led I figured
>> out that it's no longer needed to list devices with own driver in
>> hid_have_special_drive
On Mon, May 14, 2018 at 02:59:36PM -0500, David R. Bild wrote:
> On Mon, May 14, 2018 at 2:31 PM, Jason Gunthorpe wrote:
> >
> > On Thu, May 10, 2018 at 09:41:53AM -0500, David R. Bild wrote:
> >
> > > 3) Allow the driver to register the TPM with TPM driver, but not yet
> > > expose the TPM to use
On Mon, May 14, 2018 at 3:08 PM, Jason Gunthorpe wrote:
> On Mon, May 14, 2018 at 02:59:36PM -0500, David R. Bild wrote:
>> On Mon, May 14, 2018 at 2:31 PM, Jason Gunthorpe wrote:
The driver can setup enough to use the TPM
>> > framework to send commands before completing registration. We use it
On 05/14/2018 05:51 PM, Joshua Hudson wrote:
> Has anybody tried the USB floppy disk driver in awhile? I just did to
> read an old disk, and I couldn't read a single byte.
>
> I started thinking maybe the hardware's bad, but dd didn't raise en
> error even after I pulled it out and got "USB Discon
Hi Heikki,
> From: Heikki Krogerus, Sent: Monday, May 14, 2018 10:28 PM
>
> On Mon, May 14, 2018 at 06:15:57PM +0900, Yoshihiro Shimoda wrote:
> > diff --git a/drivers/base/devcon.c b/drivers/base/devcon.c
> > index d427e80..5a0da33 100644
> > --- a/drivers/base/devcon.c
> > +++ b/drivers/base/d
usbip_host updates device status without holding lock from stub probe,
disconnect and rebind code paths. When multiple requests to import a
device are received, these unprotected code paths step all over each
other and drive fails with NULL-ptr deref and use-after-free errors.
The driver uses a ta
34 matches
Mail list logo