For i.mx platform, set ttctrl.ttha with non-zero value only affects
sitd, and ehci core makes sure the schedule is not full when accepts
new request, so it will not occur the transaction which will acorss
the SoF.
Signed-off-by: Peter Chen
---
drivers/usb/chipidea/ci_hdrc_imx.c | 3 ++-
1 file c
The register of ttctrl.ttha describes like below:
- Internal TT Hub Address Representation
- RW
- Default = 000b
This field is used to match against the Hub Address field in QH & siTD
to determine if the packet is routed to the internal TT for directly
attached FS/LS devices. If the Hub Address
>> I tried to use usbip to access a USB3 device over the network.
>>
>> However, `usbip attach -r $HOST -b $BUS` on the client failed with
>>
>>> Failed attach request for unsupported USB speed: super-speed"
>>
>> I looked at drivers/usb/usbip/vhci_sysfs.c:150 and discovered
>> USB_SPEED_SUPER wasn
On Fri, Jun 19, 2015 at 12:36:05AM +0200, Florian Klink wrote:
> Hey,
>
> I tried to use usbip to access a USB3 device over the network.
>
> However, `usbip attach -r $HOST -b $BUS` on the client failed with
>
> > Failed attach request for unsupported USB speed: super-speed"
>
> I looked at dri
Hey,
I tried to use usbip to access a USB3 device over the network.
However, `usbip attach -r $HOST -b $BUS` on the client failed with
> Failed attach request for unsupported USB speed: super-speed"
I looked at drivers/usb/usbip/vhci_sysfs.c:150 and discovered
USB_SPEED_SUPER wasn't in the list
> "Tom" == Tom Yan writes:
Tom> No I put it in the wrong way. What I meant was "sd vs md". For
Tom> example, couldn't the scsi disk driver bind the value it reads from
Tom> the VPD to another variable instead of "optimal i/o size", so that
Tom> this value would be exclusively for RAID (and ot
On Thu, Jun 18, 2015 at 09:04:52PM +0200, Alexandre Belloni wrote:
> On 18/06/2015 at 18:41:14 +0200, Alexandre Belloni wrote :
> > On 03/05/2015 at 23:25:02 -0400, Nicholas Krause wrote :
> > > This simplifies the error checking of the function,at91sam9261_udc_init
> > > by using PTR_ERR_OR_ZERO i
Hello,
I'm facing some issues to connect to my mobile phone (Sony Ericsson W660i)
I use Gammu/Wammu to connect to my mobile phone
With kernel 3.2 (debian wheezy) it works fine. But with kernel 3.16 (debian
jessie) or even 4.0.2 it doesn't work.
Moreover, the connection of the phone to the PC ma
On 18/06/2015 at 18:41:14 +0200, Alexandre Belloni wrote :
> On 03/05/2015 at 23:25:02 -0400, Nicholas Krause wrote :
> > This simplifies the error checking of the function,at91sam9261_udc_init
> > by using PTR_ERR_OR_ZERO in the return statement rather then a unnessary
> > if statement to check th
On Thu, 18 Jun 2015, Stefan Koch wrote:
> This patch introduces an interface authorization for USB devices.
> The kernel supports a device authorization because of wireless USB.
>
> But the new interface authorization allows to authorize or deauthorize
> individual interfaces instead authorizatio
Driver probings and interface claims get rejected
if an interface is not authorized.
Signed-off-by: Stefan Koch
---
drivers/usb/core/driver.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index 818369a..3344daf 100644
--- a
The kernel supports the device authorization because of wireless USB.
These is usable for wired USB devices, too.
These new interface authorization allows to enable or disable
individual interfaces instead a whole device.
If a deauthorized interface will be authorized so the driver probing must
be
Interfaces are allowed per default.
This can disabled or enabled (again) by writing 0 or 1 to
/sys/bus/usb/devices/usbX/interface_authorized_default
Signed-off-by: Stefan Koch
---
drivers/usb/core/hcd.c | 52 ++
drivers/usb/core/message.c | 2 ++
The attribute authorized shows the authorization state for an interface.
Signed-off-by: Stefan Koch
---
include/linux/usb.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 447fe29..135c50c 100644
--- a/include/linux/usb.h
+++ b/include/linux/us
This introduces an attribute for each interface to
authorize (1) or deauthorize (0) it:
/sys/bus/usb/devices/INTERFACE/authorized
Signed-off-by: Stefan Koch
---
drivers/usb/core/sysfs.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/drivers/usb/cor
This part adds the documentation for the interface authorization.
Signed-off-by: Stefan Koch
---
Documentation/ABI/testing/sysfs-bus-usb | 22 +
Documentation/usb/authorization.txt | 34 +
2 files changed, 56 insertions(+)
diff --git a/Doc
This patch introduces an interface authorization for USB devices.
The kernel supports a device authorization because of wireless USB.
But the new interface authorization allows to authorize or deauthorize
individual interfaces instead authorization or deauthorize a whole device.
Therefore the aut
Am Donnerstag, den 18.06.2015, 11:41 -0400 schrieb Alan Stern:
> On Thu, 18 Jun 2015, Stefan Koch wrote:
>
> > This patch introduces an interface authorization for USB devices.
> > The kernel supports a device authorization because of wireless USB.
> >
> > But the new interface authorization allo
put_device is required to release the last reference to the device.
Signed-off-by: ChengYi He
---
drivers/usb/common/ulpi.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/common/ulpi.c b/drivers/usb/common/ulpi.c
index 0e6f968..bd25bdb 100644
--- a/drivers/usb
On 03/05/2015 at 23:25:02 -0400, Nicholas Krause wrote :
> This simplifies the error checking of the function,at91sam9261_udc_init
> by using PTR_ERR_OR_ZERO in the return statement rather then a unnessary
> if statement to check the return value of a call to the function,
> syscon_regmap_lookup_by
On Thu, Jun 18, 2015 at 09:49:05PM +0530, Sudip Mukherjee wrote:
> On Thu, Jun 18, 2015 at 07:39:58AM -0700, Greg Kroah-Hartman wrote:
> > On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote:
> > > While building it failed with:
> > > In function 'prime_new':
> > > error: '__NR_memfd_cr
On Thu, Jun 18, 2015 at 07:39:58AM -0700, Greg Kroah-Hartman wrote:
> On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote:
> > While building it failed with:
> > In function 'prime_new':
> > error: '__NR_memfd_create' undeclared (first use in this function)
> >
> > memfd_create syscall
On Thu, Jun 18, 2015 at 03:51:38PM +0100, Russell King - ARM Linux wrote:
> On Thu, Jun 18, 2015 at 05:47:46PM +0530, Sudip Mukherjee wrote:
> > This is an attempt to fix the build failures when building mn10300 with
> > allmodconfig. As I have never worked with arch files so I hope you will
> > po
On Thu, 18 Jun 2015, Stefan Koch wrote:
> The kernel supports the device authorization because of wireless USB.
> These is usable for wired USB devices, too.
> These new interface authorization allows to enable or disable
> individual interfaces instead a whole device.
>
> If a deauthorized inter
On Thu, 18 Jun 2015, Stefan Koch wrote:
> Driver probings and interface claims get rejected
> if an interface is not authorized.
>
> Signed-off-by: Stefan Koch
> ---
> drivers/usb/core/driver.c | 11 +++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/usb/core/driver.c b/dr
On Thu, Jun 18, 2015 at 10:31:07AM -0500, Jay C. Polmar wrote:
> I am on this list by mistake and 5/15/2011 we requested to be removed,
> can someone remove me from this list?
There are six mailing lists in the Cc line. For all of the lists
present there, I can't help you, but you should be able
On Thu, 18 Jun 2015, Stefan Koch wrote:
> Interfaces are allowed per default.
> This can disabled or enabled (again) by writing 0 or 1 to
> /sys/bus/usb/devices/usbX/interface_authorized_default
>
> Signed-off-by: Stefan Koch
> +/*
> + * interface_authorized_default_store - store default author
On Thu, 18 Jun 2015, Stefan Koch wrote:
> The attribute authorized shows the authorization state for an interface.
>
> Signed-off-by: Stefan Koch
> ---
> include/linux/usb.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/usb.h b/include/linux/usb.h
> index 447fe29..2a
On Thu, 18 Jun 2015, Stefan Koch wrote:
> This patch introduces an interface authorization for USB devices.
> The kernel supports a device authorization because of wireless USB.
>
> But the new interface authorization allows to authorize or deauthorize
> individual interfaces instead authorizatio
On Thu, Jun 18, 2015 at 05:47:46PM +0530, Sudip Mukherjee wrote:
> This is an attempt to fix the build failures when building mn10300 with
> allmodconfig. As I have never worked with arch files so I hope you will
> point me to right direction to correct my mistakes in this attempt.
Why has the lin
On Thu, Jun 18, 2015 at 03:18:24PM +0300, Roger Quadros wrote:
> On Thu, 18 Jun 2015 15:55:28 +0800
> Li Jun wrote:
>
> > On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote:
> > > Lin,
> > >
> > > You can use --in-reply-to "message id of v5 of this path" so that it
> > > appears toge
On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote:
> While building it failed with:
> In function 'prime_new':
> error: '__NR_memfd_create' undeclared (first use in this function)
>
> memfd_create syscall has not yet been implemented for mn10300.
> so disable compilation of samples/k
This part adds the documentation for the interface authorization.
Signed-off-by: Stefan Koch
---
Documentation/ABI/testing/sysfs-bus-usb | 22 +
Documentation/usb/authorization.txt | 34 +
2 files changed, 56 insertions(+)
diff --git a/Doc
Driver probings and interface claims get rejected
if an interface is not authorized.
Signed-off-by: Stefan Koch
---
drivers/usb/core/driver.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index 818369a..74169a5 100644
--- a
This introduces an attribute for each interface to
authorize (1) or deauthorize (0) it:
/sys/bus/usb/devices/INTERFACE/authorized
Signed-off-by: Stefan Koch
---
drivers/usb/core/sysfs.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/drivers/usb/cor
Interfaces are allowed per default.
This can disabled or enabled (again) by writing 0 or 1 to
/sys/bus/usb/devices/usbX/interface_authorized_default
Signed-off-by: Stefan Koch
---
drivers/usb/core/hcd.c | 54 ++
drivers/usb/core/message.c | 2 ++
The kernel supports the device authorization because of wireless USB.
These is usable for wired USB devices, too.
These new interface authorization allows to enable or disable
individual interfaces instead a whole device.
If a deauthorized interface will be authorized so the driver probing must
be
The attribute authorized shows the authorization state for an interface.
Signed-off-by: Stefan Koch
---
include/linux/usb.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 447fe29..2a991cb 100644
--- a/include/linux/usb.h
+++ b/include/linux/
This patch introduces an interface authorization for USB devices.
The kernel supports a device authorization because of wireless USB.
But the new interface authorization allows to authorize or deauthorize
individual interfaces instead authorization or deauthorize a whole device.
Therefore the aut
Am Mittwoch, den 17.06.2015, 11:38 -0400 schrieb Alan Stern:
> On Wed, 17 Jun 2015, Stefan Koch wrote:
>
> > You write in another mail:
> > "You could probe all the interfaces whenever any interface is
> > authorized. Or there could be a separate mechanism to initiate probing."
> >
> > The first
On Thu, Jun 18, 2015 at 03:07:48PM +0300, Roger Quadros wrote:
> On Thu, 18 Jun 2015 16:47:48 +0800
> Li Jun wrote:
>
> > On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote:
> > > Lin,
> > >
> > > You can use --in-reply-to "message id of v5 of this path" so that it
> > > appears toge
On Thu, Jun 18, 2015 at 03:06:27PM +0300, Roger Quadros wrote:
> On Thu, 18 Jun 2015 16:20:30 +0800
> Li Jun wrote:
>
> > On Thu, Jun 18, 2015 at 10:39:35AM +0300, Roger Quadros wrote:
> > > Typo in subject
> > > gadeget's -> gadget's
> > >
> > > On Wed, 17 Jun 2015 19:40:15 +0800
> > > Li Jun
On 18 June 2015 at 14:17, Sudip Mukherjee wrote:
> while building as module with mn10300 it failed with:
>
> warning: data definition has no type or storage class
> module_init(__driver##_init);
>
> Signed-off-by: Sudip Mukherjee
Thanks for the patch. It's although already been fixed on
allmodconfig build fails with the error:
invalid use of undefined type 'struct kprobe_ctlblk'
just declared the two basic structures after checking the struct in other
architectures.
Signed-off-by: Sudip Mukherjee
---
arch/mn10300/include/asm/kprobes.h | 12
1 file changed, 12 inse
Hi,
This is an attempt to fix the build failures when building mn10300 with
allmodconfig. As I have never worked with arch files so I hope you will
point me to right direction to correct my mistakes in this attempt.
regards
sudip
Sudip Mukherjee (7):
mn10300: fix build failure
mn10300: Provid
allmodconfig fails to build with following errors.
drivers/media/platform/sti/bdisp/bdisp-hw.c:
In function 'bdisp_hw_free_nodes':
drivers/media/platform/sti/bdisp/bdisp-hw.c:132:3: error:
implicit declaration of function 'dma_free_attrs'
drivers/media/platform/sti/bdisp/bdisp-hw.
While building with mn10300 it failed with:
error: expected identifier before '(' token
#define __SYSREG(ADDR, TYPE) (*(volatile TYPE *)(ADDR))
note: in expansion of macro '__SYSREG'
#define DCR __SYSREG(0xc030, u16) /* Debug control register */
mn10300 has a register named as DCR, so when
while building as module with mn10300 it failed with:
warning: data definition has no type or storage class
module_init(__driver##_init);
Signed-off-by: Sudip Mukherjee
---
drivers/mmc/host/mtk-sd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/
While building it failed with:
undefined reference to `early_init_dt_alloc_memory_arch'
undefined reference to `early_init_dt_add_memory_arch'
Added the function after seeing them in x86.
Signed-off-by: Sudip Mukherjee
---
arch/mn10300/kernel/setup.c | 15 +++
1 file changed, 15 ins
While building it failed with:
undefined reference to `kgdb_arch_set_pc'
Signed-off-by: Sudip Mukherjee
---
arch/mn10300/kernel/kgdb.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/mn10300/kernel/kgdb.c b/arch/mn10300/kernel/kgdb.c
index 9977082..8a0ae2b 100644
--- a/arch/mn10300
On Thu, 18 Jun 2015 15:55:28 +0800
Li Jun wrote:
> On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote:
> > Lin,
> >
> > You can use --in-reply-to "message id of v5 of this path" so that it
> > appears together
> > with the other patches in peoples mailboxes.
> >
> okay, I will try t
While building it failed with:
In function 'prime_new':
error: '__NR_memfd_create' undeclared (first use in this function)
memfd_create syscall has not yet been implemented for mn10300.
so disable compilation of samples/kdbus for now with mn10300.
Signed-off-by: Sudip Mukherjee
---
samples/Kcon
On Thu, 18 Jun 2015 16:47:48 +0800
Li Jun wrote:
> On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote:
> > Lin,
> >
> > You can use --in-reply-to "message id of v5 of this path" so that it
> > appears together
> > with the other patches in peoples mailboxes.
> >
> > > + * the passed
On Thu, 18 Jun 2015 16:20:30 +0800
Li Jun wrote:
> On Thu, Jun 18, 2015 at 10:39:35AM +0300, Roger Quadros wrote:
> > Typo in subject
> > gadeget's -> gadget's
> >
> > On Wed, 17 Jun 2015 19:40:15 +0800
> > Li Jun wrote:
> >
> > > Set gadget's otg capabilities according to controller's capabil
From: "Peter E. Berger"
I found that when using newer Edgeport devices such as the EP/416,
idle ports are regularly bounced (disconnected and then reconnected).
I discussed this with the manufacturer (Digi International) and learned
that some newer Edgeport devices now ship from the factory runni
From: "Peter E. Berger"
The io_ti driver fails to download firmware to Edgeport devices such as
the EP/416. One of the problems is that the default 1 second timeout
in ti_vsend_sync() is insufficient for download operations. This patch
increases the download timeout to 10 seconds.
Signed-off-b
From: "Peter E. Berger"
When using newer Edgeport devices such as the EP/416, idle ports are
automatically bounced (disconnected and then reconnected) approximately
every 60 seconds. This breaks programs (e.g: minicom) where idle periods
are common, normal and expected.
I confirmed with the man
From: "Peter E. Berger"
The io_ti driver fails to download firmware to Edgeport
devices such as the EP/416, even when the on-disk firmware image
(/lib/firmware/edgeport/down3.bin) is more current than the version
on the EP/416. The current download code is broken in a few ways.
Notably it mis-us
On Wed, 2015-06-17 at 11:21 +0200, Johan Hovold wrote:
> On Mon, Jun 15, 2015 at 10:47:25AM -0500, Peter E. Berger wrote:
> > From: "Peter E. Berger"
> >
> > Instead of having ti_vsend_sync() decide when to use non-default timeouts,
> > make "timeout" a parameter and leave the decision to the cal
On Wednesday 17 June 2015 11:55:37 Johan Hovold wrote:
> On Fri, Jun 12, 2015 at 09:32:31AM +0200, Claudio Cappelli wrote:
> >
> > Was this second version in the right format?
> > Since it was my first patch submit, I'd be
> > grateful if you could confirm.
>
> Looks good. I've added the usb-device
On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote:
> Lin,
>
> You can use --in-reply-to "message id of v5 of this path" so that it appears
> together
> with the other patches in peoples mailboxes.
>
> > + * the passed properties in DT.
> > + * @np: Pointer to the given device_node
>
On Thu, Jun 18, 2015 at 10:51:48AM +0300, Roger Quadros wrote:
> On Thu, 18 Jun 2015 10:43:02 +0300
> Roger Quadros wrote:
>
> > On Wed, 17 Jun 2015 19:40:19 +0800
> > Li Jun wrote:
> >
> > > @@ -228,11 +215,6 @@ static int rndis_do_config(struct usb_configuration
> > > *c)
> > >
> > > /*
On Thu, Jun 18, 2015 at 10:39:35AM +0300, Roger Quadros wrote:
> Typo in subject
> gadeget's -> gadget's
>
> On Wed, 17 Jun 2015 19:40:15 +0800
> Li Jun wrote:
>
> > Set gadget's otg capabilities according to controller's capability and otg
> > properties in device tree.
> >
> > Signed-off-by:
On Thu, Jun 18, 2015 at 10:36:50AM +0300, Roger Quadros wrote:
> Lin,
>
> You can use --in-reply-to "message id of v5 of this path" so that it appears
> together
> with the other patches in peoples mailboxes.
>
okay, I will try that next time, thanks.
Li Jun
> On Thu, 18 Jun 2015 09:18:22 +0800
On Thu, 18 Jun 2015 10:43:02 +0300
Roger Quadros wrote:
> On Wed, 17 Jun 2015 19:40:19 +0800
> Li Jun wrote:
>
> > Allocate and initialize usb otg descriptor according to gadget otg
> > capabilities, add it for each usb configurations, free it while
> > ether unbind. If otg capability is not de
On Wed, 17 Jun 2015 19:40:19 +0800
Li Jun wrote:
> Allocate and initialize usb otg descriptor according to gadget otg
> capabilities, add it for each usb configurations, free it while
> ether unbind. If otg capability is not defined, keep its otg
> descriptor unchanged.
>
> Signed-off-by: Li Jun
Typo in subject
gadeget's -> gadget's
On Wed, 17 Jun 2015 19:40:15 +0800
Li Jun wrote:
> Set gadget's otg capabilities according to controller's capability and otg
> properties in device tree.
>
> Signed-off-by: Li Jun
> ---
> drivers/usb/chipidea/core.c | 8
> drivers/usb/chipidea/
Lin,
You can use --in-reply-to "message id of v5 of this path" so that it appears
together
with the other patches in peoples mailboxes.
On Thu, 18 Jun 2015 09:18:22 +0800
Li Jun wrote:
> Change for v6:
> UPdate otg caps by disable flags even if otg_rev is not passed, this is
> needed in case u
On 17.06.2015 18:19, Rafał Miłecki wrote:
> On 17 June 2015 at 17:11, Mathias Nyman wrote:
>> On 16.06.2015 23:01, Rafał Miłecki wrote:
>>> On 16 June 2015 at 21:56, Greg Kroah-Hartman
>>> wrote:
On Tue, Jun 16, 2015 at 09:18:05PM +0200, Rafał Miłecki wrote:
> Right now xhci-plat-hcd ca
69 matches
Mail list logo