RE: [PATCH] fs/configfs: allow to create groups on demand

2012-11-30 Thread Andrzej Pietrasiewicz
On Thursday, November 29, 2012 5:41 PM Sebastian Andrzej Siewior wrote: > Subject: [PATCH] fs/configfs: allow to create groups on demand > > This patch adds a function add a group to an existing one and its > counterart. The newly created group behaves as it would be created via > default_groups[]

[PATCH 4/6] uas: improve abort handler

2012-11-30 Thread Gerd Hoffmann
Two changes. First we check whenever the request is linked in the work list and if so take it out. Second check whenever the command is actually in flight before asking the device to cancel it via task management, and in case it isn't just zap the data urbs and finish it. Signed-off-by: Gerd Hof

[PATCH 5/6] uas: improve device reset

2012-11-30 Thread Gerd Hoffmann
Add new function to unlink and abort requests from the work list, call it on bus reset and disconnect where we kill all in-flight urbs. Also reorder calls in disconnect to first cancel transfers, then remove the scsi hba. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c | 45 +++

[PATCH 6/6] uas: fail any request submitted while resetting the device.

2012-11-30 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index 547f96a..ebb9972 100644 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c @@ -644,6 +6

[PATCH 2/6] uas: add UNLINK_DATA_URBS flag

2012-11-30 Thread Gerd Hoffmann
uas_unlink_data_urbs uses this to make sure the the scsi command is not released while looking at it. This will be needed when we start calling uas_unlink_data_urbs in the request cancel code paths. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c | 24 +--- 1 fi

[PATCH 1/6] uas: new function to cancel data urbs

2012-11-30 Thread Gerd Hoffmann
Add uas_unlink_data_urbs function to cancel in-flight data urbs. Moves existing code into a separate function. [ v2: also drop the locking, just call usb_unlink_urb no matter what, which is safe because the usb core guarantees the completion callback is called only once ] Signed-off-b

[PATCH v2 0/6] uas: error handling fixes

2012-11-30 Thread Gerd Hoffmann
Hi, New version of the uas error handling patch series. See also https://bugzilla.kernel.org/show_bug.cgi?id=51031 Gained two new commits to also handle bus reset and disconnect better. Also available from git://git.kraxel.org/linux uas [ git tree includes an additional debug commit ] chee

[PATCH 3/6] uas: add IS_IN_WORK_LIST flag

2012-11-30 Thread Gerd Hoffmann
Keep track whenever the request is linked into the work list or not. Needed for request abort. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index

Webmail Límite de la cuenta‏

2012-11-30 Thread WEBMAIL
Su cuota Webmail ha superado la cuota establecida / límite que es de 20 GB. Su estén ejecutando en 23ES debido a los archivos y carpetas ocultos en su buzón. Por favor, usted debe llenar la siguiente información para validar su buzón de correo y aumentar su cuota. Nombre de Usuario:_

Re: [PATCH v8 2/2] usb: s3c-hsotg: Adding phy driver support

2012-11-30 Thread Praveen Paneri
On Wed, Nov 28, 2012 at 6:50 PM, Tomasz Figa wrote: > Hi Praveen, > > On Friday 23 of November 2012 09:54:51 Praveen Paneri wrote: >> We will anyway remove the platform data part soon. If you say I can >> resend it again. > > I think that the requirement for platform data on DT-enabled systems > s

Re: how to introduce uevent/Udev in the driver.

2012-11-30 Thread chetan cr123
On Thu, Nov 29, 2012 at 8:49 PM, Greg KH wrote: > On Thu, Nov 29, 2012 at 06:00:17PM +0530, chetan cr123 wrote: >> Hi, >> >> I am working on Android 4.0, Kernel Version 3.0.8 >> I am working on USB mass storage driver. > > What is wrong with the existing USB mass storage driver we have in the > ke

Re: [V2 PATCH 00/27] mv-usb fix and enhancement patches

2012-11-30 Thread Felipe Balbi
Hi, On Tue, Nov 27, 2012 at 10:05:59PM -0500, Chao Xie wrote: > The patches are divied into 4 parts > 1. bug fixes > usb: gadget: mv_udc: use udc_start and udc_stop functions > usb: gadget: mv_udc: use devm_xxx for probe > usb: gadget: mv_udc: fix the clk APIs > usb: otg: mv_otg: use devm_

Re: [PATCH] usb: musb: Enable DMA Mode1 for device mode RX in ux500 platform

2012-11-30 Thread Felipe Balbi
Hi, On Fri, Nov 30, 2012 at 12:02:25PM +0530, Supriya Karanth wrote: > From: supriya karanth > > Handles: > 1) Known transfer length > a) Non multiple of packet size > b) Multiple of packet size > > 2) Unknown transfer lengths > - Short packet indicates end of transfer > > --

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Felipe Balbi
Hi, On Thu, Nov 29, 2012 at 05:43:21PM +0100, Sebastian Andrzej Siewior wrote: > |# modprobe dummy_hcd num=2 > > |# find /sys/kernel/config/ -ls > > | 5570 drwxr-xr-x 3 root root0 Nov 29 17:26 > /sys/kernel/config/ > | 5580 drwxr-xr-x 5 root root0

Re: [PATCH 06/16] usb/gadget: convert source sink and loopback to new function interface

2012-11-30 Thread Felipe Balbi
On Tue, Nov 20, 2012 at 11:53:02PM +0100, Michal Nazarewicz wrote: > > * Felipe Balbi | 2012-11-20 14:14:47 [+0200]: > >> now this looks awfully wrong. Why don't you just expose the modules to > >> userland (in fact they already are) and if user wants to change > >> something it needs to do it via

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Michal Nazarewicz
On Fri, Nov 30 2012, Felipe Balbi wrote: > Hi, > > On Thu, Nov 29, 2012 at 05:43:21PM +0100, Sebastian Andrzej Siewior wrote: >> |# modprobe dummy_hcd num=2 >> >> |# find /sys/kernel/config/ -ls >> >> | 5570 drwxr-xr-x 3 root root0 Nov 29 17:26 >> /sys/kernel/config/ >> |

Re: [PATCH 10/10] usb: add usb port's pm qos flags request to change NO_POWER_OFF flag

2012-11-30 Thread Alan Stern
On Fri, 30 Nov 2012, Lan Tianyu wrote: > On 2012年11月29日 03:42, Alan Stern wrote: > > On Sat, 17 Nov 2012, Lan Tianyu wrote: > > > >> Some usb devices can't be resumed correctly after power off. This > >> patch is to add pm qos flags request to change NO_POWER_OFF and > >> provide usb_device_allow

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Felipe Balbi
Hi, On Fri, Nov 30, 2012 at 04:07:22PM +0100, Michal Nazarewicz wrote: > On Fri, Nov 30 2012, Felipe Balbi wrote: > > Hi, > > > > On Thu, Nov 29, 2012 at 05:43:21PM +0100, Sebastian Andrzej Siewior wrote: > >> |# modprobe dummy_hcd num=2 > >> > >> |# find /sys/kernel/config/ -ls > >> > >> | 55

Re: [PATCH 09/10] usb: expose usb port's pm qos flags to user space

2012-11-30 Thread Alan Stern
On Fri, 30 Nov 2012, Lan Tianyu wrote: > On 2012年11月29日 01:44, Alan Stern wrote: > > On Sat, 17 Nov 2012, Lan Tianyu wrote: > > > >> This patch is to expose usb port's pm qos flags(pm_qos_no_power_off, > >> pm_qos_remote_wakeup) to user space. User can set pm_qos_no_power_off > >> flag to prohibi

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Sebastian Andrzej Siewior
On 11/30/2012 03:46 PM, Felipe Balbi wrote: Hi, Hi, On Thu, Nov 29, 2012 at 05:43:21PM +0100, Sebastian Andrzej Siewior wrote: |# modprobe dummy_hcd num=2 |# find /sys/kernel/config/ -ls | 5570 drwxr-xr-x 3 root root0 Nov 29 17:26 /sys/kernel/config/ | 5580 d

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Sebastian Andrzej Siewior
On 11/30/2012 04:11 PM, Felipe Balbi wrote: This loads function without even creating a gadget. This would allow the same function to be used in several different gadgets. why would you load a function before it's actually needed ? We could end up with users who will just load the function an

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Felipe Balbi
Hi, On Fri, Nov 30, 2012 at 04:24:43PM +0100, Sebastian Andrzej Siewior wrote: > On 11/30/2012 03:46 PM, Felipe Balbi wrote: > >Hi, > > Hi, > > >On Thu, Nov 29, 2012 at 05:43:21PM +0100, Sebastian Andrzej Siewior wrote: > >>|# modprobe dummy_hcd num=2 > >> > >>|# find /sys/kernel/config/ -ls > >

Re: how to introduce uevent/Udev in the driver.

2012-11-30 Thread Greg KH
On Fri, Nov 30, 2012 at 07:02:14PM +0530, chetan cr123 wrote: > On Thu, Nov 29, 2012 at 8:49 PM, Greg KH wrote: > > On Thu, Nov 29, 2012 at 06:00:17PM +0530, chetan cr123 wrote: > >> Hi, > >> > >> I am working on Android 4.0, Kernel Version 3.0.8 > >> I am working on USB mass storage driver. > > >

Re: [try#1 PATCH 5/7] omap4: panda: add smsc95xx regulator and reset dependent on root hub

2012-11-30 Thread Alan Stern
On Fri, 30 Nov 2012, "Andy Green (林安廸)" wrote: > I have everything discussed above ready for a try#2, including the > descendant matching stuff in separate patches. The code got a lot > smaller and better with the _ops struct. > > The new code can attach the assets to the targeted hub port as

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Alan Stern
On Fri, 30 Nov 2012, Sebastian Andrzej Siewior wrote: > /sys/kernel/config/usb_gadget/gadgets/# mkdir oha > /sys/kernel/config/usb_gadget/gadgets/oha# find > . > ./iSerialNumber > ./iProduct > ./iManufacturer > ./bcdUSB > ./idProduct > ./idVendor > ./bMaxPacketSize0 > ./bDeviceProtocol > ./bDevice

Re: [PATCH RESEND] tty: don't dead lock while flushing workqueue

2012-11-30 Thread Sebastian Andrzej Siewior
On Tue, Nov 27, 2012 at 07:01:08PM +0100, Sebastian Andrzej Siewior wrote: > Since commit 89c8d91e31f2 ("tty: localise the lock") I see a dead lock > in one of my dummy_hcd + g_nokia test cases. The first run one was usually > okay, the second often resulted in a splat by lockdep and the third was

Re: [PATCH RESEND] tty: don't dead lock while flushing workqueue

2012-11-30 Thread Greg Kroah-Hartman
On Fri, Nov 30, 2012 at 06:09:38PM +0100, Sebastian Andrzej Siewior wrote: > On Tue, Nov 27, 2012 at 07:01:08PM +0100, Sebastian Andrzej Siewior wrote: > > Since commit 89c8d91e31f2 ("tty: localise the lock") I see a dead lock > > in one of my dummy_hcd + g_nokia test cases. The first run one was u

Re: [PATCH RESEND] tty: don't dead lock while flushing workqueue

2012-11-30 Thread Sebastian Andrzej Siewior
On Fri, Nov 30, 2012 at 09:21:43AM -0800, Greg Kroah-Hartman wrote: > > Ping. Can you feed this to your tty tree? :) > > It's really late in the release cycle, I would like to have this get > more testing in linux-next before I send it to Linus, so I was going to > wait until after 3.8-rc1 is out

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Michal Nazarewicz
On Fri, Nov 30 2012, Sebastian Andrzej Siewior wrote: > That won't work. You can only symlink an instance to one UDC. It is an > instance after all. If you want two ACM ports you need two ACM folder > in your functions folder: > > acm.ttyS0 > acm.ttyS1 Yeah, but what Felipe just made me realise i

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Michal Nazarewicz
On Fri, Nov 30 2012, Felipe Balbi wrote: > why would you load a function before it's actually needed ? We could > end up with users who will just load the function and never actually > need them which will consume memory for no reason. IMO that's actually mute argument since it can be done regardl

[RFC v3] usb/gadget: the start of the configfs interface

2012-11-30 Thread Sebastian Andrzej Siewior
|# modprobe dummy_hcd num=2 |# find /sys/kernel/config/ -ls | 5570 drwxr-xr-x 3 root root0 Nov 29 17:26 /sys/kernel/config/ | 5580 drwxr-xr-x 5 root root0 Nov 29 17:26 /sys/kernel/config/usb_gadget | 5610 drwxr-xr-x 4 root root

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Sebastian Andrzej Siewior
On 11/30/2012 05:43 PM, Alan Stern wrote: By the way, can you name these string attributes sSerialNumber, sProduct, and sManufacturer (etc.) instead of iSerialNumber, iProduct, and iManufacturer (etc.)? Or is it too late to change? Hehe :) Why should it be too late? The iP

[PATCH v2 1/1] Input: xpad - Implement wireless controller LED setting and fix connect time LED setting

2012-11-30 Thread Chris Moeller
Signed-off-by: Chris Moeller --- diff -urpN a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c --- a/drivers/input/joystick/xpad.c 2012-11-30 12:33:10.604607590 -0800 +++ b/drivers/input/joystick/xpad.c 2012-11-30 12:41:19.374756212 -0800 @@ -260,13 +260,12 @@ struct usb_xpad

[PATCH v2 0/1] Input: xpad - Implement wireless controller LED setting and fix connect time LED setting

2012-11-30 Thread Chris Moeller
I've submitted versions of this with prior patch sets, and this part was never accepted, possibly because it depended on other patches to work, or possibly because it wasn't so cleanly organized. This time, I've split the LED setting command off into its own static function, then call that on contr

Re: Runtime PM/PCI D3 issue

2012-11-30 Thread Alan Stern
On Fri, 30 Nov 2012, Sarah Sharp wrote: > I've been trying to test D3 on the xHCI host controller for my Lenovo > x230 laptop. However, the host controller (and other PCI devices) never > seem to go into D3. This happens on a modified version of 3.7-rc6 > (Greg KH's usb-next branch plus a couple

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Felipe Balbi
Hi, On Fri, Nov 30, 2012 at 08:09:38PM +0100, Sebastian Andrzej Siewior wrote: > On 11/30/2012 05:43 PM, Alan Stern wrote: > >By the way, can you name these string attributes > > > > sSerialNumber, sProduct, and sManufacturer (etc.) > > > >instead of > > > > iSerialNumber, iProduct, and iM

Re: [RFC v2] usb/gadget: the start of the configfs interface

2012-11-30 Thread Felipe Balbi
Hi, On Fri, Nov 30, 2012 at 07:40:31PM +0100, Michal Nazarewicz wrote: > On Fri, Nov 30 2012, Felipe Balbi wrote: > > why would you load a function before it's actually needed ? We could > > end up with users who will just load the function and never actually > > need them which will consume memor

Re: [PATCH v2 0/1] Input: xpad - Implement wireless controller LED setting and fix connect time LED setting

2012-11-30 Thread Dmitry Torokhov
Hi Chris, On Friday, November 30, 2012 01:54:06 PM Chris Moeller wrote: > I've submitted versions of this with prior patch sets, and this part > was never accepted, possibly because it depended on other patches to > work, or possibly because it wasn't so cleanly organized. This time, > I've split

Re: [PATCH v2 0/1] Input: xpad - Implement wireless controller LED setting and fix connect time LED setting

2012-11-30 Thread Chris Moeller
On Fri, 30 Nov 2012 14:30:23 -0800 Dmitry Torokhov wrote: > Hi Chris, > > On Friday, November 30, 2012 01:54:06 PM Chris Moeller wrote: > > I've submitted versions of this with prior patch sets, and this part > > was never accepted, possibly because it depended on other patches to > > work, or p

Re: how to introduce uevent/Udev in the driver.

2012-11-30 Thread chetan cr123
Hi Greg, On Fri, Nov 30, 2012 at 9:59 PM, Greg KH wrote: > On Fri, Nov 30, 2012 at 07:02:14PM +0530, chetan cr123 wrote: >> On Thu, Nov 29, 2012 at 8:49 PM, Greg KH wrote: >> > On Thu, Nov 29, 2012 at 06:00:17PM +0530, chetan cr123 wrote: >> >> Hi, >> >> >> >> I am working on Android 4.0, Kernel

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-11-30 Thread Jassi Brar
On Tue, Nov 27, 2012 at 10:32 PM, Greg KH wrote: > On Tue, Nov 27, 2012 at 11:30:11AM -0500, Alan Stern wrote: >> >> We should have a more generic solution in a more central location, like >> the device core. >> >> For example, each struct platform_device could have a list of resources >> to be en