On 01/22/2013 04:21 PM, kishon wrote:
But it's better to check if deferred probing
takes place whenever a new driver is bound to a device as you just mentioned.
Whenever you load (might be also when you unload) a driver the deferred
modules will try to probe again. This is to check back if the
Currently it is possible to have:
USB_MUSB_OMAP2PLUS=m
TWL4030_USB=y
which would result compile time error due to missing symbols.
With this change USB_MUSB_OMAP2PLUS and TWL4030_USB will be in sync.
Reported-by: Vincent Stehle v-ste...@ti.com
Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com
On 03/12/2013 04:20 PM, Roger Quadros wrote:
Adding Peter to the loop. I faintly remember him mentioning this issue before
for beagle. We really need the deferred probe mechanism or we need to resort
to device registering order.
Yes, BeagleBoard is a good example. Long story short: we have
To facilitate upcoming cleanup in twl stack.
No functional changes.
Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com
---
drivers/usb/otg/twl4030-usb.c | 46 ---
1 file changed, 21 insertions(+), 25 deletions(-)
diff --git a/drivers/usb/otg/twl4030
Hi Felipe,
On 11/13/2012 10:47 AM, Felipe Balbi wrote:
On Tue, Nov 13, 2012 at 10:43:38AM +0100, Peter Ujfalusi wrote:
To facilitate upcoming cleanup in twl stack.
No functional changes.
Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com
I guess this one must go together with the rest
On 11/13/2012 11:37 AM, Felipe Balbi wrote:
ok good. Unfortunately I have already sent this merge window's pull
request to Greg so I'd have to delay this until v3.9. If that's ok with
you, I can take it through my tree.
I hoped that this can go with 3.8 since in 3.9 I'm planning to remove all
On 01/25/2017 12:17 PM, Alexandre Bailon wrote:
> A pointer to musb is now present in the dma_controller structure.
> Remove the one present in tusb_omap_dma structure.
the subject line should be: usb: musb: tusb6010_omap: ...
> Signed-off-by: Alexandre Bailon
> ---
>
On 2017-04-05 10:13, Peter Ujfalusi wrote:
I had similar hunch first, but did not worked. I have tested this patch
and did not helped.
To be precise this is what I have tried:
- boot w/o cable connected
- boot w/ board connected to PC (device mode)
- boot w/ OTG-A cable with USB keyboard
- boot
Tony,
On 2017-04-05 03:36, Tony Lindgren wrote:
* Tony Lindgren <t...@atomide.com> [170404 07:06]:
* Bin Liu <b-...@ti.com> [170404 05:30]:
On Tue, Apr 04, 2017 at 10:09:50AM +0300, Peter Ujfalusi wrote:
Tony,
since 4.9 (4.8 was fine) I can not boot omap4-panda-es if the musb
Tony,
since 4.9 (4.8 was fine) I can not boot omap4-panda-es if the musb is
compiled in. The kernel will stuck printing:
** 206 printk messages dropped ** [8.926727] musb_bus_suspend 2584:
trying to suspend as a_idle while active
The bisect (log is [1]) points to:
d8e5f0eca1e8 usb:
Tony,
On 04/05/2017 06:29 PM, Tony Lindgren wrote:
* Tony Lindgren <t...@atomide.com> [170405 06:53]:
* Peter Ujfalusi <peter.ujfal...@ti.com> [170405 00:15]:
To be precise this is what I have tried:
- boot w/o cable connected
- boot w/ board connected to PC (device mode)
-
this case just seems to completely confuse the musb state
machine.
Let's fix the issue by making musb_host_setup() attempt to force the
mode only if port_mode is configured for host mode.
Tested-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Fixes: d8e5f0eca1e8 ("usb: musb: Fix hardirq-safe hardi
Bin,
On 2017-05-11 17:12, Bin Liu wrote:
which is valid.
So will you update the patch to move the declaration to the beginning of
the function to avoid this WARNING. I would just fix it locally if you
prefer.
I was waiting for Vinod or someone from the DMAengine guys to say
something for
e"
size=1
fi
done
echo "Test ran up to $size"
Regards,
Peter
CC: dmaeng...@vger.kernel.org
I only send the cover letter and the DMAengine patch for the dmaengine list, the
rest can be checked - if there is interest - via lkml
---
Peter Ujfalusi (10):
dmaengine:
Handle the DMA TX in a similar way as we do for the RX: in the DMA
completion callback.
Since we are no longer using DMA completion interrupt for the TX we can as
wall keep these interrupts disabled, but keep the handler for debug
purposes.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.
With the port_window support in DMAengine and the sDMA driver we can
convert the driver to DMAengine.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
drivers/usb/musb/tusb6010_omap.c | 201 ---
1 file changed, 80 insertions(+), 121 deletions(-)
For the DMA we have ch (channel), dmareq and sync_dev parameters both
within the tusb_omap_dma_ch and tusb_omap_dma_ch struct.
By creating a common struct the code can be simplified when selecting
between the shared or multichannel DMA parameters.
Signed-off-by: Peter Ujfalusi <peter.uj
are settings for the slave port while the omap_sg members
apply to the memory side of the sDMA setup.
Fixes: 527a27591312 ("dmaengine: omap-dma: Fix the port_window support")
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Cc: Russell King <li...@armlinux.org.uk>
Cc: dma
is not yet supports DT boot.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
arch/arm/mach-omap2/dma.c | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c
index e58c13a9bea5..0b77a0176018 100644
--- a/arch/ar
We have one register for each EP to set the maximum packet size for both
TX and RX.
If for example an RX programming would happen before the previous TX
transfer finishes we would reset the TX packet side.
To fix this issue, only modify the TX or RX part of the register.
Signed-off-by: Peter
buffer.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
drivers/usb/musb/musb_core.c | 3 +++
drivers/usb/musb/musb_core.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 870da18f5077..87cbd56cc761
When using the g_ncm for networking this flag will make sure that the
buffer is alligned to 32bit so the DMA can be used to offload the data
movement.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
drivers/usb/musb/tusb6010.c | 3 ++-
1 file changed, 2 insertions(+), 1 de
to lock within the DMAengine API when requesting channel.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
drivers/usb/musb/tusb6010_omap.c | 184 +++
1 file changed, 92 insertions(+), 92 deletions(-)
diff --git a/drivers/usb/musb/tusb6010_om
Having one musb_ep_select() instead the two calls in if/else is the same
thing, but makes the code a bit simpler to follow.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
drivers/usb/musb/tusb6010_omap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drive
On 2017-05-11 02:16, Joe Perches wrote:
On Wed, 2017-05-10 at 12:07 -0500, Bin Liu wrote:
On Wed, May 10, 2017 at 11:42:27AM +0300, Peter Ujfalusi wrote:
We have one register for each EP to set the maximum packet size for both
TX and RX.
If for example an RX programming would happen before
("USB: Add MUSB and TUSB support")
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
Bin,
I have separated the patch from the tusb DMAengine conversion series and that
will depend on this patch.
Regards,
Peter
drivers/usb/mus
For the DMA we have ch (channel), dmareq and sync_dev parameters both
within the tusb_omap_dma_ch and tusb_omap_dma_ch struct.
By creating a common struct the code can be simplified when selecting
between the shared or multichannel DMA parameters.
Signed-off-by: Peter Ujfalusi <peter.uj
are settings for the slave port while the omap_sg members
apply to the memory side of the sDMA setup.
Fixes: 527a27591312 ("dmaengine: omap-dma: Fix the port_window support")
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Cc: Russell King <li...@armlinux.org.uk>
Cc: dma
Handle the DMA TX in a similar way as we do for the RX: in the DMA
completion callback.
Since we are no longer using DMA completion interrupt for the TX we can as
wall keep these interrupts disabled, but keep the handler for debug
purposes.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.
With the port_window support in DMAengine and the sDMA driver we can
convert the driver to DMAengine.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010_omap.c | 201 ---
is not yet supports DT boot.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Acked-by: Tony Lindgren <t...@atomide.com>
---
arch/arm/mach-omap2/dma.c | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c
index
buffer.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/musb_core.c | 3 +++
drivers/usb/musb/musb_core.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_
Having one musb_ep_select() instead the two calls in if/else is the same
thing, but makes the code a bit simpler to follow.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010_omap.c | 3 +--
1 file changed,
When using the g_ncm for networking this flag will make sure that the
buffer is alligned to 32bit so the DMA can be used to offload the data
movement.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010.c | 3
to lock within the DMAengine API when requesting channel.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010_omap.c | 184 +++
1 file changed, 92 insertions(+), 92 deleti
send the cover letter and the DMAengine patch for the dmaengine list, the
rest can be checked - if there is interest - via lkml
---
Peter Ujfalusi (9):
dmaengine: omap-dma: port_window support correction for both direction
usb: musb: Add quirk to avoid skb reserve in gadget mode
usb: m
to lock within the DMAengine API when requesting channel.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010_omap.c | 185 +++
1 file changed, 92 insertions(+), 93 deleti
For the DMA we have ch (channel), dmareq and sync_dev parameters both
within the tusb_omap_dma_ch and tusb_omap_dma struct.
By creating a common struct the code can be simplified when selecting
between the shared or multichannel DMA parameters.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.
is not yet supports DT boot.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Acked-by: Tony Lindgren <t...@atomide.com>
---
arch/arm/mach-omap2/dma.c | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c
index
are settings for the slave port while the omap_sg members
apply to the memory side of the sDMA setup.
Fixes: 527a27591312 ("dmaengine: omap-dma: Fix the port_window support")
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Cc: Russell King <li...@armlinux.org.uk>
Cc: dma
With the port_window support in DMAengine and the sDMA driver we can
convert the driver to DMAengine.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010_omap.c | 201 ---
Handle the DMA TX in a similar way as we do for the RX: in the DMA
completion callback.
Since we are no longer using DMA completion interrupt for the TX we can as
wall keep these interrupts disabled, but keep the handler for debug
purposes.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.
be checked - if there is interest - via lkml
---
Peter Ujfalusi (9):
dmaengine: omap-dma: port_window support correction for both direction
usb: musb: Add quirk to avoid skb reserve in gadget mode
usb: musb: tusb6010: Add MUSB_G_NO_SKB_RESERVE to quirks
usb: musb: tu
buffer.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/musb_core.c | 3 +++
drivers/usb/musb/musb_core.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_
Having one musb_ep_select() instead the two calls in if/else is the same
thing, but makes the code a bit simpler to follow.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010_omap.c | 3 +--
1 file changed,
When using the g_ncm for networking this flag will make sure that the
buffer is aligned to 32bit so the DMA can be used to offload the data
movement.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Tested-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/tusb6010.c | 3
alse;
+// if (dma_addr & 0x2)
+// return false;
/*
* Because of HW issue #10, it seems like mixing sync DMA and async
Since this condition will almost all the time was true - effectively disabling
the DMA use.
Regards.
Peter
---
Peter Ujfalusi (4):
u
to lock within the DMAengine API when requesting channel.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
drivers/usb/musb/tusb6010_omap.c | 184 +++
1 file changed, 92 insertions(+), 92 deletions(-)
diff --git a/drivers/usb/musb/tusb6010_om
For the DMA we have ch (channel), dmareq and sync_dev parameters both
within the tusb_omap_dma_ch and tusb_omap_dma_ch struct.
By creating a common struct the code can be simplified when selecting
between the shared or multichannel DMA parameters.
Signed-off-by: Peter Ujfalusi <peter.uj
With the port_window support in DMAengine and the sDMA driver we can
convert the driver to DMAengine.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
drivers/usb/musb/tusb6010_omap.c | 201 ---
1 file changed, 80 insertions(+), 121 deletions(-)
is not yet supports DT boot.
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
---
arch/arm/mach-omap2/dma.c | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c
index e58c13a9bea5..0b77a0176018 100644
--- a/arch/ar
Sorry,
I have forgot to update the commit message for the last patch.
On 2017-05-03 13:54, Peter Ujfalusi wrote:
Hi,
With port_window support implemented in DMAengine and the sDMA DMAengine driver,
the tusb6010_omap driver can be converted away from the custom legacy omap-dma
API to generic
alse;
+// if (dma_addr & 0x2)
+// return false;
/*
* Because of HW issue #10, it seems like mixing sync DMA and async
Since this condition will almost all the time was true - effectively disabling
the DMA use.
Regards.
Peter
---
Peter Ujfalusi (4):
u
On 2017-05-04 17:31, Tony Lindgren wrote:
* Peter Ujfalusi <peter.ujfal...@ti.com> [170503 04:00]:
Hi,
With port_window support implemented in DMAengine and the sDMA DMAengine driver,
the tusb6010_omap driver can be converted away from the custom legacy omap-dma
API to generic DMA
On 2017-05-05 16:37, Peter Ujfalusi wrote:
Tony,
On 2017-05-05 00:05, Tony Lindgren wrote:
* Tony Lindgren <t...@atomide.com> [170504 12:43]:
Hi,
* Peter Ujfalusi <peter.ujfal...@ti.com> [170503 04:00]:
With the port_window support in DMAengine and the sDMA driver we
Tony,
On 2017-05-05 00:05, Tony Lindgren wrote:
* Tony Lindgren <t...@atomide.com> [170504 12:43]:
Hi,
* Peter Ujfalusi <peter.ujfal...@ti.com> [170503 04:00]:
With the port_window support in DMAengine and the sDMA driver we can
convert the driver to DMAengine.
Actuall
Tony,
On 2017-05-06 01:55, Tony Lindgren wrote:
OK I verified that with the current mainline kernel using dma
and g_ether and your patches 1 to 3 I can run the variable size
ping test loop for few minutes before it just stops working and
I can see the legacy DMA interrupt increase depending on
;>> through all of these files in order to see what does it mean:
>>
>> Yeah, 644 is "clear", but _RW() is even more clear. Ideally I want to
>> get rid of all of the "non-standard" users that set random modes of
>> sysfs files, as we get it wr
Hi,
On 28/11/2018 13.15, Peter Ujfalusi wrote:
forgot to fix up Vinod's email address.
>
>
> On 12/11/2018 17.40, Bin Liu wrote:
>
> Can you fix up the subject line to:
> dmaengine: ti: cppi4: delete channel from pending list when stop channel
>
>> The driver defi
on the channel, so clearing the pending list is the correct
thing to do.
With the fixed subject:
Reviewed-by: Peter Ujfalusi
I have one question:
> Fixes: 975faaeb9985 ("dma: cppi41: start tear down only if channel is busy")
> Cc: sta...@vger.kernel.org # v3.15+
> Signed-of
60 matches
Mail list logo