[linux-sunxi] [PATCH] sunxi-mmc: Fix a race and don't use a tasklet when unnecessary

2014-04-19 Thread Hans de Goede
While preparing the sunxi-mmc code for posting the next version, and also debugging the cubietruck wifi issues I've to make sure that they are not caused by the sunxi-mmc code I noticed 2 problems: 1) We've a race in our irq handling. If a request completes, we queue a tasklet to finish it. If the

Re: [linux-sunxi] [PATCH 3/3] net/designware: align cache invalidation on rx

2014-04-19 Thread Shixin Zeng
​ On Sat, Apr 19, 2014 at 9:52 AM, Ian Campbell wrote: > Signed-off-by: Ian Campbell > --- > drivers/net/designware.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/designware.c b/drivers/net/designware.c > index 7d14cec..30446d3 100644 > --- a/drivers/net/

Re: [linux-sunxi] Uboot error: address not aligned in v7_dcache_inval_range

2014-04-19 Thread Shixin Zeng
On Sat, Apr 19, 2014 at 9:30 AM, Ian Campbell wrote: > On Sun, 2014-04-13 at 23:45 -0400, Shixin Zeng wrote: > > Hi, > > > > I compiled the current u-boot from > > https://github.com/jwrdegoede/u-boot-sunxi.git for cubieboard2, and > > wrote it to the SD card. I was trying to boot the kernel on m

Re: [linux-sunxi] [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI

2014-04-19 Thread Julian Calaby
Hi Maxime On Sat, Apr 19, 2014 at 4:52 AM, Maxime Ripard wrote: > Enable the performance monitoring unit found in the A20 SoCs. Don't you mean A_31_? > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/sun6i-a31.dtsi | 8 > 1 file changed, 8 insertions(+) > > diff --git a/arch/a

Re: [linux-sunxi] Allwinner SDK 2.0 and h.264 support

2014-04-19 Thread jonsm...@gmail.com
On Sat, Apr 19, 2014 at 7:04 AM, Manuel Braga wrote: > On Fri, 18 Apr 2014 14:44:44 -0400 "jonsm...@gmail.com" > wrote: >> When is that from? STB SDK 2.0 has been out about 30 days now. >> >> It is using kernel 3.4.39 > > That file has a server date of 17 Jan 1014. > But this SDKs are only useful

Re: [linux-sunxi] Re: Allwinner SDK 2.0 and h.264 support

2014-04-19 Thread jonsm...@gmail.com
On Sat, Apr 19, 2014 at 7:40 AM, Rosimildo DaSilva wrote: > I think making this available is one simple step that AW simply fails to do. > If it is out there, some one may open some file and find something new on > it. I have had discussions with their marketing people about this. They just do re

[linux-sunxi] Re: [PATCH 2/3] net/designware: invalidate entire descriptor in dw_eth_send

2014-04-19 Thread Stefan Monnier
"invalidate" here means "throw away the content of the cache line Duh! Sorry for the noise! Stefan -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to lin

Re: [linux-sunxi] Re: [PATCH 2/3] net/designware: invalidate entire descriptor in dw_eth_send

2014-04-19 Thread Ian Campbell
On Sat, 2014-04-19 at 10:14 -0400, Stefan Monnier wrote: > > Some platforms cannot invalidate the cache at four byte intervals, so > > invalidate the entire descriptor. > > Wouldn't it be simpler to make invalidate_dcache_range round up to the > nearest aligned boundaries? > > Can there ever be s

[linux-sunxi] Re: [PATCH 2/3] net/designware: invalidate entire descriptor in dw_eth_send

2014-04-19 Thread Stefan Monnier
> Some platforms cannot invalidate the cache at four byte intervals, so > invalidate the entire descriptor. Wouldn't it be simpler to make invalidate_dcache_range round up to the nearest aligned boundaries? Can there ever be situations where invalidating "too much" could be a problem? S

[linux-sunxi] [PATCH 1/3] net/designware: ensure device private data is DMA aligned.

2014-04-19 Thread Ian Campbell
struct dw_eth_dev contains fields which are accessed via DMA, so make sure it is aligned to a dma boundary. Without this I see: ERROR: v7_dcache_inval_range - start address is not aligned - 0x7fb677e0 Signed-off-by: Ian Campbell --- drivers/net/designware.c | 3 ++- 1 file changed, 2 inserti

[linux-sunxi] [PATCH 3/3] net/designware: align cache invalidation on rx

2014-04-19 Thread Ian Campbell
Signed-off-by: Ian Campbell --- drivers/net/designware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 7d14cec..30446d3 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -354,7 +354,7 @@ static i

[linux-sunxi] [PATCH 2/3] net/designware: invalidate entire descriptor in dw_eth_send

2014-04-19 Thread Ian Campbell
Some platforms cannot invalidate the cache at four byte intervals, so invalidate the entire descriptor. Signed-off-by: Ian Campbell --- drivers/net/designware.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c ind

Re: [linux-sunxi] Uboot error: address not aligned in v7_dcache_inval_range

2014-04-19 Thread Ian Campbell
On Sun, 2014-04-13 at 23:45 -0400, Shixin Zeng wrote: > Hi, > > I compiled the current u-boot from > https://github.com/jwrdegoede/u-boot-sunxi.git for cubieboard2, and > wrote it to the SD card. I was trying to boot the kernel on my > computer over network by tftp, however it failed when I ran "d

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-19 Thread Code Kipper
On 18 April 2014 20:53, Dennis Kerrisk wrote: > > Here is my .fex file. > I've also noticed that i2s is declared twice in the fex. CK > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving email

[linux-sunxi] Re: Allwinner SDK 2.0 and h.264 support

2014-04-19 Thread Rosimildo DaSilva
I think making this available is one simple step that AW simply fails to do. If it is out there, some one may open some file and find something new on it. R On Thursday, April 17, 2014 3:06:02 PM UTC-5, Jon Smirl wrote: > > I just got a hold of the Allwinner STB SDK 2.0 for A20. There are > major

Re: [linux-sunxi] Allwinner SDK 2.0 and h.264 support

2014-04-19 Thread Manuel Braga
On Fri, 18 Apr 2014 14:44:44 -0400 "jonsm...@gmail.com" wrote: > When is that from? STB SDK 2.0 has been out about 30 days now. > > It is using kernel 3.4.39 That file has a server date of 17 Jan 1014. But this SDKs are only useful if there have anything new, from what we current have. This i