lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 19 Nov 2013 23:18:19 +0100
From:	Apelete Seketeli <apelete@...eteli.net>
To:	linux-usb@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, Felipe Balbi <balbi@...com>,
	Lars-Peter Clausen <lars@...afoo.de>
Subject: [PATCH v2 0/1] usb: fix musb gadget to enable OTG mode conditionally

Hello,

While working on an musb glue layer for an embedded USB device
controller, I encountered the following issue.

The aforementioned UDC is not OTG capable, so I built the musb driver
as gadget only and noticed that the musb_gadget code was trying to
enable the OTG side of the controller, which does exist in
silicon. While testing the glue layer code, the musb core was then
trying to use Host Negotiation Protocol, which induces a panic.

The patch that comes as a follow-up of this message is an attempt to
fix the issue before submitting the glue layer code which is still in
progress; v2 only fixes the Cc: list which wasn't picked up at first
by git-send-email, sorry for the inconvenience.

Changes were rebased on top of Felipe Balbi's USB Subsystem master
branch, built successfully and tested on device without reproducing
the issue.

The following changes since commit 3fc848d423216db97a4db9b4b9633561244e100a:

  usb: fix musb gadget to enable OTG mode conditionally

are available in the git repository at:

  git://seketeli.fr/~apelete/linux-usb.git musb-hnp-fix

Apelete Seketeli (1):
  usb: fix musb gadget to enable OTG mode conditionally

 drivers/usb/musb/musb_gadget.c |    4 ++++
 1 file changed, 4 insertions(+)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ