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
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
> > +++
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
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
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
> > >
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
>>
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
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
Hello!
> I didn't get any feedback about the suggested patch.
If you talk about this one https://marc.info/?l=linux-usb=15252835690
2325=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
Hello!
> I didn't get any feedback about the suggested patch.
If you talk about this one https://marc.info/?l=linux-usb=15252835690
2325=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
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 +--
>
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
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
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
> ---
>
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
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
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 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
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
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;
>
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;
>
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
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
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
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
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
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;
>
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;
>
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
---
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
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
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
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
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"
From: Jianguo Sun
This commit adds bindings doc for HiSilicon STB xHCI host controller.
Signed-off-by: Jianguo Sun
---
.../bindings/usb/hisilicon,histb-xhci.txt | 45 ++
1 file changed, 45 insertions(+)
create mode
From: Jianguo Sun
This patch set adds bindings doc and xhci driver for xHCI host controller
on HiSilicon STB SoCs.
changes in v3:
- fix typo of "pipeE"
- remove optional property of "quirk-broken-port-ped"
changes in v2:
- add optional properties in bindings doc
From: Jianguo Sun
This commit adds support for HiSilicon STB xHCI host controller.
There are two xHCI host controllers on HiSilicon STB SoCs. Each
one requires additional configuration before exposing interface
compliant with xHCI.
Reviewed-by: Chunfeng Yun
37 matches
Mail list logo