Re: [PATCH v2 01/12] arm: add armv8 Kconfig entries

2016-06-14 Thread Sascha Hauer
Hi Raphael, On Tue, Jun 14, 2016 at 09:06:35AM +0200, Raphael Poggi wrote: > Signed-off-by: Raphael Poggi > --- > arch/arm/Kconfig | 23 +++ > arch/arm/cpu/Kconfig | 29 - > 2 files changed, 51 insertions(+), 1 deletion(-) > > diff --git a/arc

[PATCH] net: phy: make locally used of_phy_register_fixed_link() static

2016-06-14 Thread Antony Pavlov
The patch fixes this compiler's warning: drivers/net/phy/phy.c:303:20: warning: no previous prototype for ‘of_phy_register_fixed_link’ [-Wmissing-prototypes] Signed-off-by: Antony Pavlov --- drivers/net/phy/phy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driv

Re: [PATCH v2 03/12] arm: introduce lib64 for arm64 related stuff

2016-06-14 Thread Sascha Hauer
On Tue, Jun 14, 2016 at 09:06:37AM +0200, Raphael Poggi wrote: > diff --git a/arch/arm/lib64/Makefile b/arch/arm/lib64/Makefile > new file mode 100644 > index 000..a424293 > --- /dev/null > +++ b/arch/arm/lib64/Makefile > @@ -0,0 +1,10 @@ > +obj-$(CONFIG_ARM_LINUX) += armlinux.o > +obj-$(C

Re: [PATCH] Fix genphy_restart_aneg() for Micrel's ksz9031.

2016-06-14 Thread Sascha Hauer
On Tue, Jun 14, 2016 at 09:39:23AM +0200, Guillermo Rodriguez Garcia wrote: > Hi Sascha, > > 2016-06-14 8:39 GMT+02:00 Sascha Hauer : > > Hi Guillermo, > > > > On Mon, Jun 13, 2016 at 07:29:15PM +0200, Guillermo Rodriguez Garcia wrote: > >> From: grodriguez > >> > >> Commit da89ee8f2e04 ("Center

Re: [PATCH 2/2] ifup: fix handling when ip env is not given

2016-06-14 Thread Sascha Hauer
On Tue, Jun 14, 2016 at 08:55:06AM +0200, Alexander Aring wrote: > This patch handles the ip env to "" if no ip env is given. Otherwise > we get a NULL pointer derefence. > > Signed-off-by: Alexander Aring > --- > net/ifup.c | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks Sascha >

Re: [PATCH 1/2] ifup: remove deletion of ip env

2016-06-14 Thread Sascha Hauer
On Tue, Jun 14, 2016 at 08:55:05AM +0200, Alexander Aring wrote: > This patch removes the deletion of ip env and changes to the behaviour > that it use previous ip=$TYPE assignments if ip env is not part of network > env which will be sourced. > > Example: > somewhere in shell: ip=dhcp > \- in cas

Re: [PATCH] Fix genphy_restart_aneg() for Micrel's ksz9031.

2016-06-14 Thread Guillermo Rodriguez Garcia
Hi Sascha, 2016-06-14 8:39 GMT+02:00 Sascha Hauer : > Hi Guillermo, > > On Mon, Jun 13, 2016 at 07:29:15PM +0200, Guillermo Rodriguez Garcia wrote: >> From: grodriguez >> >> Commit da89ee8f2e04 ("Center FLP timing at 16ms") breaks >> genphy_restart_aneg() for Micrel's ksz9031. According to the >>

v2016.06.0

2016-06-14 Thread Sascha Hauer
Hi All, barebox-2016.06.0 is out. Most stuff this time is in the category fixes and cleanups which is a good thing. There are some patches in this release that make functions that have the same name as in the standard C library have the same semantic. Most prominent example is asprintf which now b

[PATCH v2 12/12] arm: boards: add mach-qemu and virt64 board

2016-06-14 Thread Raphael Poggi
Introduce mach-qemu and add qemu virt64 board which emulates arm64 board. Signed-off-by: Raphael Poggi --- arch/arm/Kconfig | 5 +++ arch/arm/Makefile | 1 + arch/arm/boards/Makefile | 1 + arch/arm/boards/qemu-virt64/Kconfi

[PATCH v2 01/12] arm: add armv8 Kconfig entries

2016-06-14 Thread Raphael Poggi
Signed-off-by: Raphael Poggi --- arch/arm/Kconfig | 23 +++ arch/arm/cpu/Kconfig | 29 - 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1fc887b..986fdaa 100644 --- a/arch/arm/Kconfig +++

[PATCH v2 11/12] arm: cpu: add basic arm64 mmu support

2016-06-14 Thread Raphael Poggi
This commit adds basic mmu support, ie: - DMA cache handling is not supported - Remapping memory region also The current mmu setting is: - 4KB granularity - 3 level lookup (skipping L0) - 33 bits per VA This is based on coreboot and u-boot mmu configuration

[PATCH v2 05/12] arm: include: system: add arm64 helper functions

2016-06-14 Thread Raphael Poggi
Signed-off-by: Raphael Poggi --- arch/arm/include/asm/system.h | 46 ++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h index b118a42..57c7618 100644 --- a/arch/arm/include/asm/sys

[PATCH v2 08/12] arm: include: system_info: add armv8 identification

2016-06-14 Thread Raphael Poggi
Signed-off-by: Raphael Poggi --- arch/arm/include/asm/system_info.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/include/asm/system_info.h b/arch/arm/include/asm/system_info.h index 0761848..25fffd2 100644 --- a/arch/arm/include/asm/system_

[PATCH v2 10/12] arm: cpu: disable code portion in armv8 case

2016-06-14 Thread Raphael Poggi
Enclosed by #if directive OMAP specific code and mmu_disable (ARMv8 code will implemented it somewhere else). Signed-off-by: Raphael Poggi --- arch/arm/cpu/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/cpu.c b/arch/arm/cpu/cpu.c index eb12166..cc54324 100644 --- a/a

[PATCH v2 09/12] arm: cpu: cpuinfo: add armv8 support

2016-06-14 Thread Raphael Poggi
Signed-off-by: Raphael Poggi --- arch/arm/cpu/cpuinfo.c | 58 ++ 1 file changed, 54 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/cpuinfo.c b/arch/arm/cpu/cpuinfo.c index 8b22e9b..86e19d9 100644 --- a/arch/arm/cpu/cpuinfo.c +++ b/arch/arm

[PATCH v2 04/12] arm: cpu: add arm64 specific code

2016-06-14 Thread Raphael Poggi
This patch adds arm64 specific codes, which are: - exception support - cache support - rework Makefile to support arm64 Signed-off-by: Raphael Poggi --- arch/arm/cpu/Makefile| 24 +-- arch/arm/cpu/cache-armv8.S | 168

[PATCH v2 03/12] arm: introduce lib64 for arm64 related stuff

2016-06-14 Thread Raphael Poggi
Signed-off-by: Raphael Poggi --- arch/arm/lib64/Makefile| 10 + arch/arm/lib64/armlinux.c | 275 arch/arm/lib64/asm-offsets.c | 16 ++ arch/arm/lib64/barebox.lds.S | 125 + arch/arm/lib64/bootm.c | 572 +++

[PATCH v2 06/12] arm: cpu: start: arm64 does not support relocation

2016-06-14 Thread Raphael Poggi
For now, the relocation is not supported in arm64, so enclosed call to "setup_c" with #if directive Signed-off-by: Raphael Poggi --- arch/arm/cpu/start.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c index d03d1ed..25ba5fc 100644 --- a/arch/arm

[PATCH v2 07/12] arm: include: bitops: arm64 use generic __fls

2016-06-14 Thread Raphael Poggi
Signed-off-by: Raphael Poggi --- arch/arm/include/asm/bitops.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h index 138ebe2..b51225e 100644 --- a/arch/arm/include/asm/bitops.h +++ b/arch/arm/include/asm/bitops.h @@ -177,6 +17

[no subject]

2016-06-14 Thread Raphael Poggi
Change since v1: PATCH 2/12: remove hunk which belongs to patch adding mach-qemu PATCH 3/12: remove unused files PATCH 4/12: create lowlevel64 PATCH 11/12:create pgtables64 (nothing in common with the arm32 version) PATCH 12/12:rename

[PATCH v2 02/12] arm: Makefile: rework makefile to handle armv8

2016-06-14 Thread Raphael Poggi
Signed-off-by: Raphael Poggi --- arch/arm/Makefile | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 5ccdb83..2743d96 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -1,7 +1,11 @@ CPPFLAGS