On Wed, Mar 30, 2016 at 12:56:27PM +0300, Roger Quadros wrote:
> Hi,
>
> Add documentation for struct otg_fsm with some trivial cleanups.
> All patches have been Acked by otg-fsm maintainer (Peter Chen).
>
I will queue them, thanks.
--
Best Regards,
Peter Chen
--
To unsubscribe from this list:
On 31/03/16 01:16, Ruslan Bilovol wrote:
> Hi,
>
> On Thu, Mar 31, 2016 at 1:08 AM, Bin Liu wrote:
>> Hi,
>>
>> On Fri, Aug 15, 2014 at 2:37 AM, Dirk Gouders wrote:
>>> Bin Liu writes:
>>>
Dirk,
On Thu, Aug 14, 2014 at 1:52 AM, Dirk Gouders wrote:
> Bin Liu writes:
>
>>
Hi Balbi,
If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen
when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and
we need this code to check if dma mask should be manually set to 32 or
64.
Thang
On Wed, Mar 30, 2016 at 8:09 PM, Felipe Balbi
wrote:
>
> Hi,
Thanks Grygorii for information.
I checked but do not see dma_init_dev_from_parent is used in
linux-next repository. Can you give me more information for what
branch I can checkout to use it for USB DWC3?
Thanks,
Thang --
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
t
Hi,
do I need to resubmit the serial fixes I submitted for
the issues with the forged device descriptors leading
to crashes?
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More
On 31 March 2016 at 14:42, Felipe Balbi wrote:
+#define DEFAULT_CUR_PROTECT (50)
>>>
>>> Where is this coming from ? Also, () are not necessary.
>>
>> Just want to protect the default current limitation. If that does not
>> need, I'll remove it.
>
> It's your HW :-) You tell me if it's reall
Hi,
(please don't top-post)
"Thang Q. Nguyen" writes:
> Hi Balbi,
> If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen
> when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and
> we need this code to check if dma mask should be manually set to 32 or
> 64.
Can yo
"Thang Q. Nguyen" writes:
> [ text/plain ]
> Thanks Grygorii for information.
> I checked but do not see dma_init_dev_from_parent is used in
> linux-next repository. Can you give me more information for what
> branch I can checkout to use it for USB DWC3?
dma_init_dev_from_parent() is still a pro
Hi Heiner,
On 03/30/2016 03:59 PM, Heiner Kallweit wrote:
On Wed, Mar 30, 2016 at 3:03 PM, Pavel Machek wrote:
Hi!
Ok, so:
a) Do we want RGB leds to be handled by existing subsystem, or do we
need separate layer on top of that?
b) Does RGB make sense, or HSV? RGB is quite widely used in gr
Hi Baolin,
Baolin Wang writes:
>>> >> Make sense. In our company's solution, charger detection can be done
>>> >> by hardware from PMIC at first, then it will not affect the DP/DM
>>> >> line when gadget starts to enumeration.
>>> >
>>> > I see, charger type detection is done automatically by PM
Hi,
Baolin Wang writes:
> +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT)
According to the spec we should always be talking about unit loads (1
unit load is 100mA for HS/FS/LS and 150mA for SS). Also, this will not
work for SS capable ports and SS gadget
On 31 March 2016 at 16:15, Felipe Balbi wrote:
>
> Hi Baolin,
>
> Baolin Wang writes:
>> Make sense. In our company's solution, charger detection can be done
>> by hardware from PMIC at first, then it will not affect the DP/DM
>> line when gadget starts to enumeration.
>
On 31 March 2016 at 16:18, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
>> +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT)
>
> According to the spec we should always be talking about unit loads (1
> unit load is 100mA for HS/FS/LS and 150mA for SS). Also,
Hi John,
Am 29.03.2016 um 04:36 schrieb John Youn:
> Hi,
>
> The following patch series addresses the core reset and force mode
> delay problems we have been seeing on dwc2 for some platforms.
>
> I think I have identified the source of the inconsistencies between
> platforms and this series attem
Peter,
On 31/03/16 10:08, Peter Chen wrote:
> On Wed, Mar 30, 2016 at 12:56:27PM +0300, Roger Quadros wrote:
>> Hi,
>>
>> Add documentation for struct otg_fsm with some trivial cleanups.
>> All patches have been Acked by otg-fsm maintainer (Peter Chen).
>>
>
> I will queue them, thanks.
>
Patch
If usb/otg-fsm.h and usb/composite.h are included together
then it results in the build warning [1].
Prevent that by using dev_vdbg() instead.
Also get rid of MPC_LOC which doesn't seem to be used
by anyone.
[1] - warning fixed by this patch:
In file included from drivers/usb/dwc3/core.h:33,
Dirk Gouders writes:
> Roger Quadros writes:
>
>> On 31/03/16 01:16, Ruslan Bilovol wrote:
>>> Hi,
>>>
>>> On Thu, Mar 31, 2016 at 1:08 AM, Bin Liu wrote:
Hi,
On Fri, Aug 15, 2014 at 2:37 AM, Dirk Gouders wrote:
> Bin Liu writes:
>
>> Dirk,
>>
>> On Thu, Au
Baolin Wang writes:
> [ text/plain ]
> On 31 March 2016 at 16:18, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang writes:
>>> +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT)
>>
>> According to the spec we should always be talking about unit loads (1
>> unit load
Roger Quadros writes:
> On 31/03/16 01:16, Ruslan Bilovol wrote:
>> Hi,
>>
>> On Thu, Mar 31, 2016 at 1:08 AM, Bin Liu wrote:
>>> Hi,
>>>
>>> On Fri, Aug 15, 2014 at 2:37 AM, Dirk Gouders wrote:
Bin Liu writes:
> Dirk,
>
> On Thu, Aug 14, 2014 at 1:52 AM, Dirk Gouders w
On 31 March 2016 at 18:06, Felipe Balbi wrote:
> Baolin Wang writes:
>> [ text/plain ]
>> On 31 March 2016 at 16:18, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Baolin Wang writes:
+#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT)
>>>
>>> According to the spec we sh
Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with
an usb-id of: 0bc2:331a, as these will fail to respond to a
REPORT_LUNS command.
Cc: sta...@vger.kernel.org
Reported-and-tested-by: David Webb
Signed-off-by: Hans de Goede
---
drivers/usb/storage/uas.c | 14 +-
Telit LE910 V2 is a mobile broadband card with no ARP capabilities:
the patch makes this device to use wwan_noarp_info struct
Signed-off-by: Daniele Palmas
---
drivers/net/usb/cdc_ncm.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm
Telit LE910 V2 is a mobile broadband card with no ARP capabilities:
the patch makes this device to use wwan_noarp_info struct.
Following the device details:
Bus 001 Device 037: ID 1bc7:0036 Telit
Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB 2.
On Tue, Mar 29, 2016 at 6:47 PM, Martyn Welch
wrote:
> This patch adds support for the GPIO found on the CP2105. Unlike the GPIO
> provided by some of the other devices supported by the cp210x driver, the
> GPIO on the CP2015 is muxed on pins otherwise used for serial control
> lines. The GPIO ha
To Your Attention,
On behalf of the board and management of International Monetary Committees it
was resolved by the federal executive council and agreed that your
Inheritance/Contract Fund valued at $10.5M would be released to you via
DIPLOMATIC CHANNEL immediately your attention is received s
On 30/03/16 21:44, John Youn wrote:
> On 3/23/2016 11:52 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> John Youn writes:
>>> [ text/plain ]
>>> On 3/21/2016 11:40 PM, Felipe Balbi wrote:
Hi,
John Youn writes:
> [ text/plain ]
> On 3/18/2016 12:17 PM, John Youn wrote:
>>
On Thu, 31 Mar 2016, Hans de Goede wrote:
> Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with
> an usb-id of: 0bc2:331a, as these will fail to respond to a
> REPORT_LUNS command.
> @@ -532,6 +532,9 @@ void usb_stor_adjust_quirks(struct usb_device *udev,
> unsigned long *fflags)
>
On 31.03.2016 06:51, Rajesh Bhagat wrote:
Hello Mathias,
Thanks a lot for your support.
Attached patch is working and allows the completion handler to be called. And
resume operation completes
and shell comes back (but with lot of errors).
Now, some other points which needs our attention h
Hi,
Roger Quadros writes:
>> We will need this function for a workaround.
>> The function issues a softreset only to the device
>> controller and performs minimal re-initialization
>> so that the device controller can be usable.
>>
>> As some code
On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote:
> Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with
> an usb-id of: 0bc2:331a, as these will fail to respond to a
> REPORT_LUNS command.
Actually, if we're sending them a report luns command, they must be
reporting in at SCSI-
Hi,
On 31-03-16 16:48, James Bottomley wrote:
On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote:
Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with
an usb-id of: 0bc2:331a, as these will fail to respond to a
REPORT_LUNS command.
Actually, if we're sending them a report lun
On 03/31/2016 11:04 AM, Felipe Balbi wrote:
> "Thang Q. Nguyen" writes:
>> [ text/plain ]
>> Thanks Grygorii for information.
>> I checked but do not see dma_init_dev_from_parent is used in
>> linux-next repository. Can you give me more information for what
>> branch I can checkout to use it for U
On Thu, 2016-03-31 at 17:03 +0200, Hans de Goede wrote:
> Hi,
>
> On 31-03-16 16:48, James Bottomley wrote:
> > On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote:
> > > Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with
> > > an usb-id of: 0bc2:331a, as these will fail to respo
Hi,
On 31-03-16 17:11, James Bottomley wrote:
On Thu, 2016-03-31 at 17:03 +0200, Hans de Goede wrote:
Hi,
On 31-03-16 16:48, James Bottomley wrote:
On Thu, 2016-03-31 at 14:22 +0200, Hans de Goede wrote:
Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with
an usb-id of: 0bc2:331
On Thu, Mar 31, 2016 at 09:56:34AM +0200, Oliver Neukum wrote:
> Hi,
>
> do I need to resubmit the serial fixes I submitted for
> the issues with the forged device descriptors leading
> to crashes?
No, that's not necessary. I'm on the road for another couple of days but
I'll forward these to Greg
On Mon, Mar 21, 2016 at 03:57:37PM +0100, Oliver Neukum wrote:
> The driver can be crashed with devices that expose crafted
> descriptors with too few endpoints.
> See:
> http://seclists.org/bugtraq/2016/Mar/61
>
> Signed-off-by: Oliver Neukum
>
> v1 - added sanity checks
> v2 - moved them to pr
From: Oliver Neukum
The driver can be crashed with devices that expose crafted descriptors
with too few endpoints.
See: http://seclists.org/bugtraq/2016/Mar/61
Signed-off-by: Oliver Neukum
[johan: fix OOB endpoint check and add error messages ]
Cc: stable
Signed-off-by: Johan Hovold
---
dri
From: Oliver Neukum
An attack using missing endpoints exists.
CVE-2016-3137
Signed-off-by: Oliver Neukum
CC: sta...@vger.kernel.org
Signed-off-by: Johan Hovold
---
drivers/usb/serial/cypress_m8.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/seri
Greg,
These patches from Oliver add some sanity checks for missing endpoints
and should go into v4.6-rc2.
Would you mind picking these up directly? I expect to process the rest
of my queue early next week.
Note that this series has been compile-tested only.
Thanks,
Johan
Oliver Neukum (3):
From: Oliver Neukum
An attack using the lack of sanity checking in probe is known. This
patch checks for the existence of a second port.
CVE-2016-3136
Signed-off-by: Oliver Neukum
CC: sta...@vger.kernel.org
[johan: add error message ]
Signed-off-by: Johan Hovold
---
drivers/usb/serial/mct_u2
On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote:
> Hello Greg,
>
> 3.18.x is missing this patch [1] in order to perform a successful
> build. The reason: following patch [2] in 3.18.x uses a macro name
> introduced in the missing patch [1].
>
> Could you queue it for 3.18.30?
Nope
On Thu, Mar 31, 2016 at 12:04:23PM -0400, Johan Hovold wrote:
> Greg,
>
> These patches from Oliver add some sanity checks for missing endpoints
> and should go into v4.6-rc2.
>
> Would you mind picking these up directly? I expect to process the rest
> of my queue early next week.
Now applied, t
On 30.03.2016 22:25, Alan Stern wrote:
On Wed, 30 Mar 2016, Ivaylo Dimitrov wrote:
seems to be created twice :). Maybe the problem is that the first time
musb-hdrc is probed it fails with -EPROBE_DEFER, however that failure is
after gadget drivers got loaded and noone unloads them.
gadget d
On Thu, 31 Mar 2016, Ivaylo Dimitrov wrote:
> > This isn't supposed to cause any problems. The two instances should
> > never run at the same time, because they belong to different configs.
> >
>
> The problem seems to be that fsg driver creates a thread for every
> fsg_bind() call, which overw
On Thu, Mar 31, 2016 at 09:42:58AM +0300, Felipe Balbi wrote:
> Baolin Wang writes:
> > I want to use bus structure to manage the charger device. Maybe choose
> > class to manage them?
> I guess a class would fit better in this case.
IIRC Greg didn't want new classes?
signature.asc
Descriptio
Hi,
> Actually it does support REPORT LUNS, some of the time. When you first
> boot the computer with uas blacklisted for this device, so initialize
> it once with usb-storage, and then reboot with out the blacklist
> (and without removing power to the drive) uas will work with REPORT LUNS
> bit c
On Fri, Mar 18, 2016 at 07:35:00PM +0100, Vladis Dronov wrote:
> The gtco driver expects at least one valid endpoint. If given
> malicious descriptors that specify 0 for the number of endpoints,
> it will crash in the probe function. Ensure there is at least
> one endpoint on the interface before u
On Tue, Mar 22, 2016 at 04:04:53PM +0100, Oliver Neukum wrote:
> We now have a macro to easily get to the USB device from the interface.
> So we are cleaning up all drivers to not store a private pointer.
Applied all 4, thank you.
>
> Oliver Neukum (4):
> acecad: stop saving struct usb_device
On Tue, Mar 22, 2016 at 04:04:54PM +0100, Oliver Neukum wrote:
> static int usb_acecad_open(struct input_dev *dev)
> {
> struct usb_acecad *acecad = input_get_drvdata(dev);
>
> - acecad->irq->dev = acecad->usbdev;
> + acecad->irq->dev = interface_to_usbdev(acecad->intf);
By the w
Hi Greg,
On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote:
> On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote:
> > Hello Greg,
> >
> > 3.18.x is missing this patch [1] in order to perform a successful
> > build. The reason: following patch [2] in 3.18.x uses a macro name
> >
>If you find it can't work, there are may be something wrong at other places,
>eg, the gadget driver is not >loaded successfully. Would you please help to
>check more?
Found the problem in my setup. The patch is working great now.
Thanks,
Svet.
--
To unsubscribe from this list: send the line
On Thu, Mar 31, 2016 at 02:10:59PM -0500, Bin Liu wrote:
> Hi Greg,
>
> On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote:
> > On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote:
> > > Hello Greg,
> > >
> > > 3.18.x is missing this patch [1] in order to perform a successful
> >
On Thu, Mar 31, 2016 at 12:48:39PM -0700, Greg KH wrote:
> On Thu, Mar 31, 2016 at 02:10:59PM -0500, Bin Liu wrote:
> > Hi Greg,
> >
> > On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote:
> > > On Thu, Mar 31, 2016 at 07:29:21AM +0200, Yegor Yefremov wrote:
> > > > Hello Greg,
> > > >
> > >
On Thu, Mar 31, 2016 at 02:58:47PM -0500, Bin Liu wrote:
> On Thu, Mar 31, 2016 at 12:48:39PM -0700, Greg KH wrote:
> > On Thu, Mar 31, 2016 at 02:10:59PM -0500, Bin Liu wrote:
> > > Hi Greg,
> > >
> > > On Thu, Mar 31, 2016 at 09:06:10AM -0700, Greg KH wrote:
> > > > On Thu, Mar 31, 2016 at 07:29
Hi John,
Am 29.03.2016 um 04:36 schrieb John Youn :
> Hi,
>
> The following patch series addresses the core reset and force mode
> delay problems we have been seeing on dwc2 for some platforms.
>
> I think I have identified the source of the inconsistencies between
> platforms and this series a
Hi,
On Thu, Mar 31, 2016 at 09:16:19AM +0300, Felipe Balbi wrote:
>
> Hi,
>
> Bin Liu writes:
> > [ text/plain ]
> > Hi,
> >
> > On Wed, Mar 30, 2016 at 09:14:18AM +0300, Felipe Balbi wrote:
> >>
> >> Hi again,
> >>
> >> Felipe Balbi writes:
> >> > Bin Liu writes:
> >> >> On Fri, Mar 18, 20
From: Daniele Palmas
Date: Thu, 31 Mar 2016 15:16:47 +0200
> Telit LE910 V2 is a mobile broadband card with no ARP capabilities:
> the patch makes this device to use wwan_noarp_info struct
>
> Signed-off-by: Daniele Palmas
Bjorn, can you take a quick look at this?
Thank you.
--
To unsubscribe
On 30 March 2016 at 12:55, Felipe Balbi wrote:
> Rafał Miłecki writes:
>> [ text/plain ]
>> On 30 March 2016 at 12:13, Felipe Balbi wrote:
>>> Rafał Miłecki writes:
Northstar is a family of SoCs used in home routers. They have USB 2.0
and 3.0 controllers with PHYs that need to be prop
David Miller writes:
> From: Daniele Palmas
> Date: Thu, 31 Mar 2016 15:16:47 +0200
>
>> Telit LE910 V2 is a mobile broadband card with no ARP capabilities:
>> the patch makes this device to use wwan_noarp_info struct
>>
>> Signed-off-by: Daniele Palmas
>
> Bjorn, can you take a quick look at t
From: Bjørn Mork
Date: Thu, 31 Mar 2016 23:07:30 +0200
> David Miller writes:
>> From: Daniele Palmas
>> Date: Thu, 31 Mar 2016 15:16:47 +0200
>>
>>> Telit LE910 V2 is a mobile broadband card with no ARP capabilities:
>>> the patch makes this device to use wwan_noarp_info struct
>>>
>>> Signed
Hi John,
Am 29.03.2016 um 04:36 schrieb John Youn :
> Hi,
>
> The following patch series addresses the core reset and force mode
> delay problems we have been seeing on dwc2 for some platforms.
>
> I think I have identified the source of the inconsistencies between
> platforms and this series a
Hi,
On Thu, Mar 24, 2016 at 06:51:40PM -0500, David Lechner wrote:
> Simplify things a bit by using devm functions where possible.
>
> Signed-off-by: David Lechner
> ---
>
> v3 changes:
>
> * Kept clk variable to minimize noise.
>
>
> drivers/usb/musb/da8xx.c | 19 +--
> 1 f
On 03/31/2016 05:21 PM, Bin Liu wrote:
- glue = kzalloc(sizeof(*glue), GFP_KERNEL);
+ glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL);
if (!glue) {
dev_err(&pdev->dev, "failed to allocate glue context\n");
- goto err0;
+
> -Original Message-
> From: Mathias Nyman [mailto:mathias.ny...@linux.intel.com]
> Sent: Thursday, March 31, 2016 8:07 PM
> To: Rajesh Bhagat
> Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; linux-
> ker...@vger.kernel.org; Sriram Dash
> Subject: Re: [PATCH] usb: xhci: Fix
Hi,
Bin Liu writes:
>> >> Felipe Balbi writes:
>> >> > Bin Liu writes:
>> >> >> On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote:
>> >> >>>
>> >> >>> Hi,
>> >> >>>
>> >> >>> Bin Liu writes:
>> >> >>> > [ text/plain ]
>> >> >>> > Hi,
>> >> >>> >
>> >> >>> > On Fri, Mar 11, 2016 a
Hi,
Mark Brown writes:
> On Thu, Mar 31, 2016 at 09:42:58AM +0300, Felipe Balbi wrote:
>> Baolin Wang writes:
>
>> > I want to use bus structure to manage the charger device. Maybe choose
>> > class to manage them?
>
>> I guess a class would fit better in this case.
>
> IIRC Greg didn't want ne
Linux has been growing larger and adopting more and
more users. In order to streamline the development
process, I propose that we focus USB efforts on XHCI
alone, which is the HCD of the future.
Anybody still using non-XHCI USB Host Controllers
should either buy an XHCI PCIe card to talk to their
Hi,
Felipe Balbi writes:
> Linux has been growing larger and adopting more and
> more users. In order to streamline the development
> process, I propose that we focus USB efforts on XHCI
> alone, which is the HCD of the future.
>
> Anybody still using non-XHCI USB Host Controllers
> should eithe
On Fri, Apr 1, 2016 at 12:55 AM, Felipe Balbi
wrote:
> Linux has been growing larger and adopting more and
> more users. In order to streamline the development
> process, I propose that we focus USB efforts on XHCI
> alone, which is the HCD of the future.
>
> Anybody still using non-XHCI USB Host
69 matches
Mail list logo