[PATCH] fixup! MIPS: flush cache on shutdown

2016-03-09 Thread Antony Pavlov
--- arch/mips/lib/c-r4k.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/lib/c-r4k.c b/arch/mips/lib/c-r4k.c index 63e8f1c..1502058 100644 --- a/arch/mips/lib/c-r4k.c +++ b/arch/mips/lib/c-r4k.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #in

[PATCH] fixup! MIPS: add initial R4000-style cache support

2016-03-09 Thread Antony Pavlov
--- arch/mips/lib/c-r4k.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/lib/c-r4k.c b/arch/mips/lib/c-r4k.c index 4fe046a..ba77d18 100644 --- a/arch/mips/lib/c-r4k.c +++ b/arch/mips/lib/c-r4k.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #inc

Re: [PATCH 05/15] MIPS: add initial R4000-style cache support

2016-03-09 Thread Antony Pavlov
On Wed, 9 Mar 2016 17:23:24 +0300 Antony Pavlov wrote: > On Wed, 9 Mar 2016 14:28:14 +0100 > Sascha Hauer wrote: > > > Hi Antony, > > > > On Mon, Mar 07, 2016 at 04:30:16PM +0300, Antony Pavlov wrote: > > > Signed-off-by: Antony Pavlov > > > Signed-off-by: Peter Mamonov > > > --- > > > arch

Re: [PATCH 05/15] MIPS: add initial R4000-style cache support

2016-03-09 Thread Antony Pavlov
On Wed, 9 Mar 2016 14:28:14 +0100 Sascha Hauer wrote: > Hi Antony, > > On Mon, Mar 07, 2016 at 04:30:16PM +0300, Antony Pavlov wrote: > > Signed-off-by: Antony Pavlov > > Signed-off-by: Peter Mamonov > > --- > > arch/mips/include/asm/cacheops.h | 7 ++ > > arch/mips/include/asm/io.h

Re: [PATCH 05/15] MIPS: add initial R4000-style cache support

2016-03-09 Thread Sascha Hauer
Hi Antony, On Mon, Mar 07, 2016 at 04:30:16PM +0300, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > Signed-off-by: Peter Mamonov > --- > arch/mips/include/asm/cacheops.h | 7 ++ > arch/mips/include/asm/io.h | 3 +++ > arch/mips/lib/c-r4k.c| 48 > +

[PATCH v2] ehci-hcd: preserve DTC in QH for interrupt transactions

2016-03-09 Thread Aleksey Kuleshov
In Linux ehci-q Data Toggle Control bit for interrupt transactions is preserved in Queue Head (EHCI 3.6.2). So don't set 14's bit in qh_endpt1 and don't manage toggle bit anywhere in int transactions. This fixes an idle issue for USB keyboards, where keys were physically changed but barebox haven'

[PATCH v2] ehci-hcd: remove useless timeout

2016-03-09 Thread Aleksey Kuleshov
This is just a regular iteration loop so no timeout needed Signed-off-by: Aleksey Kuleshov --- drivers/usb/host/ehci-hcd.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 8ea26e3..9c8613c 100644 --- a/drivers/usb/host/ehc

[PATCH v3 3/5] usb_kbd: style fixes

2016-03-09 Thread Aleksey Kuleshov
Signed-off-by: Aleksey Kuleshov --- drivers/input/usb_kbd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/input/usb_kbd.c b/drivers/input/usb_kbd.c index ff8e591..6f7a081 100644 --- a/drivers/input/usb_kbd.c +++ b/drivers/input/usb_kbd.c @@ -123,7 +123,6 @@ static

[PATCH v3 2/5] usb_kbd: check for registering error

2016-03-09 Thread Aleksey Kuleshov
Signed-off-by: Aleksey Kuleshov --- drivers/input/usb_kbd.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/input/usb_kbd.c b/drivers/input/usb_kbd.c index e41266c..ff8e591 100644 --- a/drivers/input/usb_kbd.c +++ b/drivers/input/usb_kbd.c @@ -196,7 +196,11 @@ sta

[PATCH v3 5/5] usb_kbd: lock is useless since pollers are atomic

2016-03-09 Thread Aleksey Kuleshov
Signed-off-by: Aleksey Kuleshov --- drivers/input/usb_kbd.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/input/usb_kbd.c b/drivers/input/usb_kbd.c index bdaf305..2acc95d 100644 --- a/drivers/input/usb_kbd.c +++ b/drivers/input/usb_kbd.c @@ -50,7 +50,6 @@ str

[PATCH v3 1/5] usb_kbd: remove unused fields

2016-03-09 Thread Aleksey Kuleshov
Signed-off-by: Aleksey Kuleshov --- drivers/input/usb_kbd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/usb_kbd.c b/drivers/input/usb_kbd.c index 74bc11f..e41266c 100644 --- a/drivers/input/usb_kbd.c +++ b/drivers/input/usb_kbd.c @@ -46,10 +46,8 @@ struct usb_kbd_pdata;

[PATCH v3 4/5] usb_kbd: use async polling instead of regular polling

2016-03-09 Thread Aleksey Kuleshov
This fixes the overpolling of USB keyboard which causes slowdown of entier barebox by using periodic polling occuting once per some milliseconds. Signed-off-by: Aleksey Kuleshov --- drivers/input/usb_kbd.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/

Re: [PATCH 00/15] MIPS: ar9331: use cache and fix gpio

2016-03-09 Thread Antony Pavlov
On Wed, 9 Mar 2016 09:45:11 +0100 Yegor Yefremov wrote: > On Wed, Mar 9, 2016 at 8:31 AM, Sascha Hauer wrote: > > Hi Antony, > > > > On Mon, Mar 07, 2016 at 04:30:11PM +0300, Antony Pavlov wrote: > >> This patchseries introduces initial MIPS cache support. > >> Though the cache code is usable fo

[PATCH] fastboot: Umount filesystems of target devices before flashing

2016-03-09 Thread Markus Pargmann
Before flashing data to some device, we should check whether this device is in use. If it is mounted it is umounted and flashed afterwards. Signed-off-by: Markus Pargmann --- Hi, This patch requires the for_each_fs_device_safe() macro which was sent as a patch yesterday. Best Regards, Markus

Re: Ethernet PHY KSZ9031 is not working

2016-03-09 Thread Alexander Aring
Hi, On Thu, Mar 03, 2016 at 03:42:01PM +0100, Holger Schurig wrote: > > USB Host-A has to be tested, but if I type: > > > >>> usb > >> USB: scanning bus for devices... > >> Bus 001 Device 001: ID : EHCI Host Controller > >> 1 USB Device(s) found > > > > so I can suppose the host controller

Re: [PATCH 00/15] MIPS: ar9331: use cache and fix gpio

2016-03-09 Thread Yegor Yefremov
On Wed, Mar 9, 2016 at 8:31 AM, Sascha Hauer wrote: > Hi Antony, > > On Mon, Mar 07, 2016 at 04:30:11PM +0300, Antony Pavlov wrote: >> This patchseries introduces initial MIPS cache support. >> Though the cache code is usable for many MIPS-based chips >> at the moment the code is tested mostly on