Re: [PATCH 29/31] MAINTAINERS: Add nds32

2017-11-09 Thread Greentime Hu
2017-11-08 21:31 GMT+08:00 Rob Herring <robh...@kernel.org>: > On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu <green...@gmail.com> wrote: >> From: Greentime Hu <greent...@andestech.com> >> >> Signed-off-by: Greentime Hu <greent...@andestech.com> >&

Re: [PATCH 27/31] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2017-11-09 Thread Greentime Hu
2017-11-08 21:25 GMT+08:00 Rob Herring <robh...@kernel.org>: > +DT list > > On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu <green...@gmail.com> wrote: >> From: Greentime Hu <greent...@andestech.com> > > Commit msg needed. Thanks. I will add commit msg in

Re: [PATCH 30/31] dt-bindings: nds32 CPU Bindings

2017-11-09 Thread Greentime Hu
2017-11-08 21:18 GMT+08:00 Rob Herring <robh...@kernel.org>: > Please Cc the DT list on bindings. Sorry. I am not sure what you mean. Do you mean add devicet...@vger.kernel.org to cc list? > On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu <green...@gmail.com> wrote: >> Fr

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-09 Thread Greentime Hu
2017-11-08 18:26 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu <green...@gmail.com> wrote: >> This patchset adds core architecture support to Linux for Andestech's >> N13, N15, D15, N10, D10 processor cores. >> >> Ba

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-09 Thread Greentime Hu
2017-11-08 18:18 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 9:41 AM, Greentime Hu <green...@gmail.com> wrote: >> 2017-11-08 16:32 GMT+08:00 David Howells <dhowe...@redhat.com>: >>> Greentime Hu <green...@gmail.com> wrote: >>&g

Re: [PATCH 26/31] nds32: Build infrastructure

2017-11-09 Thread Greentime Hu
2017-11-08 18:16 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu <green...@gmail.com> wrote: > >> diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig >> new file mode 100644 >> index 000..112f470 >> --- /dev/n

Re: [PATCH 25/31] nds32: defconfig

2017-11-09 Thread Greentime Hu
2017-11-08 18:03 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu <green...@gmail.com> wrote: >> From: Greentime Hu <greent...@andestech.com> >> >> Signed-off-by: Vincent Chen <vince...@andestech.com> >> S

Re: [PATCH 23/31] nds32: Device tree support

2017-11-08 Thread Greentime Hu
2017-11-08 17:53 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu <green...@gmail.com> wrote: >> From: Greentime Hu <greent...@andestech.com> >> >> Signed-off-by: Vincent Chen <vince...@andestech.com> >> S

Re: [PATCH 20/31] nds32: L2 cache support

2017-11-08 Thread Greentime Hu
2017-11-08 17:48 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu <green...@gmail.com> wrote: >> From: Greentime Hu <greent...@andestech.com> >> >> Signed-off-by: Vincent Chen <vince...@andestech.com> >> S

Re: [PATCH 03/31] nds32: Support early_printk

2017-11-08 Thread Greentime Hu
2017-11-08 17:47 GMT+08:00 Tobias Klauser <tklau...@distanz.ch>: > On 2017-11-08 at 06:54:51 +0100, Greentime Hu <green...@gmail.com> wrote: >> From: Greentime Hu <greent...@andestech.com> >> >> Signed-off-by: Rick Chen <r...@andestech.com> >> S

Re: [PATCH 13/31] nds32: DMA mapping API

2017-11-08 Thread Greentime Hu
2017-11-08 17:09 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu <green...@gmail.com> wrote: > >> +static void consistent_sync(void *vaddr, size_t size, int direction) >> +{ >> + unsigned long start = (unsigned long

Re: [PATCH 12/31] nds32: Device specific operations

2017-11-08 Thread Greentime Hu
2017-11-08 17:04 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu <green...@gmail.com> wrote: > >> + >> +#define ioremap(cookie,size) __ioremap(cookie,size,0,1) >> +#define ioremap_nocache(cookie,size) __

Re: [PATCH 10/31] nds32: IRQ handling

2017-11-08 Thread Greentime Hu
2017-11-08 16:49 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu <green...@gmail.com> wrote: > >> + >> +#ifdef CONFIG_TRACE_IRQFLAGS >> +void notrace arch_trace_hardirqs_on(void) >> +{ >> +

Re: [PATCH 08/31] nds32: Cache and TLB routines

2017-11-08 Thread Greentime Hu
2017-11-08 16:45 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu <green...@gmail.com> wrote: > >> +#ifndef __NDS32_PROCFNS_H__ >> +#define __NDS32_PROCFNS_H__ >> + >> +#define CPU_NAME n13 >> + >> +

Re: [PATCH 05/31] nds32: MMU definitions

2017-11-08 Thread Greentime Hu
2017-11-08 16:36 GMT+08:00 Arnd Bergmann <a...@arndb.de>: > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu <green...@gmail.com> wrote: > >> +/* >> + * The DMA mask corresponding to the maximum bus address allocatable >> + * using GFP_DMA. The defau

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-08 Thread Greentime Hu
2017-11-08 16:32 GMT+08:00 David Howells <dhowe...@redhat.com>: > Greentime Hu <green...@gmail.com> wrote: > >> The build script and toolchain repositories are able to be found here: >> https://github.com/andestech/build_script.git > > Is arch suppor

[PATCH 02/31] nds32: Kernel booting and initialization

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/kernel/head.S | 211 +++ arch/nds32/kernel/setup.c | 406 ++

[PATCH 03/31] nds32: Support early_printk

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Rick Chen <r...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/kernel/early_printk.c | 124 ++ 1 file changed, 124 insertions(+) create mode

[PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-07 Thread Greentime Hu
to it. :) Any feedback is welcome. Greentime Hu (31): nds32: Assembly macros and definitions nds32: Kernel booting and initialization nds32: Support early_printk nds32: Exception handling nds32: MMU definitions nds32: MMU initialization nds32: MMU fault handling and page table management

[PATCH 07/31] nds32: MMU fault handling and page table management

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/lib/copy_page.S | 50 ++ arch/nds32/mm/extable.c| 29 +++ arch/nds32/mm/f

[PATCH 05/31] nds32: MMU definitions

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/fixmap.h | 41 arch/nds32/include/asm/highmem.h | 78 +++ arch/nds32/include/asm

[PATCH 06/31] nds32: MMU initialization

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/mm/highmem.c | 92 + arch/nds32/mm/init.c | 328 +++

[PATCH 01/31] nds32: Assembly macros and definitions

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/assembler.h | 52 ++ arch/nds32/include/asm/bitfield.h | 982 ++

[PATCH 10/31] nds32: IRQ handling

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/irqflags.h | 49 + arch/nds32/kernel/irq.

[PATCH 14/31] nds32: ELF definitions

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/elf.h | 192 ++ arch/nds32/include/uapi/asm/auxvec.h

[PATCH 09/31] nds32: Process management

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/current.h | 25 arch/nds32/include/asm/processor.h | 116 ++ arch

[PATCH 11/31] nds32: Atomic operations

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/futex.h| 116 arch/nds32/include/asm

[PATCH 12/31] nds32: Device specific operations

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/io.h | 33 + arch/nds32/mm/ioremap.c | 67

[PATCH 13/31] nds32: DMA mapping API

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/dma-mapping.h | 27 ++ arch/nds32/kernel/dma.c | 478 +

[PATCH 19/31] nds32: Debugging support

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/uapi/asm/ptrace.h | 42 + arch/nds32/kernel/ptrace.c | 325 +

[PATCH 17/31] nds32: Signal handling support

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/uapi/asm/sigcontext.h | 73 ++ arch/nds32/include/uapi/asm/signal.h | 23 ++ arch/nds

[PATCH 16/31] nds32: VDSO support

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/vdso.h | 35 arch/nds32/include/asm/vdso_datapage.h | 51 ++ arch/n

[PATCH 15/31] nds32: System calls handling

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/syscall.h | 203 ++ arch/nds32/include/asm/syscalls.h

[PATCH 22/31] nds32: Generic timers support

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/kernel/time.c | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 arch/nds32/k

[PATCH 23/31] nds32: Device tree support

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/boot/dts/Makefile |8 ++ arch/nds32/boot/dts/ae3xx.dts | 55 +++

[PATCH 18/31] nds32: Library functions

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/string.h | 30 +++ arch/nds32/include/asm/swab.h| 48 + arch/nds32/include/as

[PATCH 21/31] nds32: Loadable modules

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/module.h | 24 arch/nds32/kernel/module.c | 299 ++

[PATCH 24/31] nds32: Miscellaneous header files

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/delay.h| 51 + arch/nds32/include/asm/linkage

[PATCH 28/31] irqchip: Andestech Internal Vector Interrupt Controller driver

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Rick Chen <r...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- drivers/irqchip/Makefile |1 + drivers/irqchip/irq-ativic32.c | 149 2

[PATCH 25/31] nds32: defconfig

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/configs/ae3xx_defconfig | 110 +++ arch/nds32/configs/ag101

[PATCH 20/31] nds32: L2 cache support

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/l2_cache.h | 158 + arch/nds32/kernel/atl2

[PATCH 26/31] nds32: Build infrastructure

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/Kconfig | 107 arch/nds32/Kconfig.cpu

[PATCH 27/31] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Rick Chen <r...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- .../interrupt-controller/andestech,ativic32.txt| 27 1 file changed, 27 insertions(+) create mode 100

[PATCH 29/31] MAINTAINERS: Add nds32

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2f4e462..bce1181 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -857,6

[PATCH 31/31] net: faraday add nds32 support.

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- drivers/net/ethernet/faraday/Kconfig |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/net/ethernet/far

[PATCH 30/31] dt-bindings: nds32 CPU Bindings

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Rick Chen <r...@andestech.com> Signed-off-by: Zong Li <z...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- Documentation/devi

[PATCH 08/31] nds32: Cache and TLB routines

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/cache.h | 25 ++ arch/nds32/include/asm/cache_info.h| 26 ++ arch/nds32/includ

[PATCH 04/31] nds32: Exception handling

2017-11-07 Thread Greentime Hu
From: Greentime Hu <greent...@andestech.com> Signed-off-by: Vincent Chen <vince...@andestech.com> Signed-off-by: Greentime Hu <greent...@andestech.com> --- arch/nds32/include/asm/ptrace.h | 79 ++ arch/nds32/kernel/ex-entry.S| 169 arch/nds32/kernel/ex

[PATCH v5] net: ethernet: faraday: To support device tree usage.

2017-05-17 Thread Greentime Hu
To support device tree usage for ftmac100. Signed-off-by: Greentime Hu <green...@gmail.com> --- Changes in v5: - Nothing changed in this patch and I have committed faraday,ftmac.txt. Changes in v4: - Use the same binding document to describe the same faraday ethernet controller a

Re: [PATCH v4] net: ethernet: faraday: To support device tree usage.

2017-02-08 Thread Greentime Hu
On Sat, Jan 28, 2017 at 6:17 AM, Rob Herring <r...@kernel.org> wrote: > > On Wed, Jan 25, 2017 at 10:09:20PM +0100, Arnd Bergmann wrote: > > On Wed, Jan 25, 2017 at 6:34 PM, David Miller <da...@davemloft.net> wrote: > > > From: Greentime Hu <green...@gmail.com

[PATCH v4] net: ethernet: faraday: To support device tree usage.

2017-01-24 Thread Greentime Hu
We also use the same binding document to describe the same faraday ethernet controller and add faraday to vendor-prefixes.txt. Signed-off-by: Greentime Hu <green...@gmail.com> --- Changes in v4: - Use the same binding document to describe the same faraday ethernet controller and add f

[PATCH v4] net: ethernet: faraday: To support device tree usage.

2017-01-05 Thread Greentime Hu
Signed-off-by: Greentime Hu <green...@gmail.com> --- Changes in v4: - Use the same binding document to describe the same faraday ethernet controller and add faraday to vendor-prefixes.txt. Changes in v3: - Nothing changed in this patch but I have committed andestech to vendor-prefix

[PATCH v3] net: ethernet: faraday: To support device tree usage.

2016-12-30 Thread Greentime Hu
Signed-off-by: Greentime Hu <green...@gmail.com> --- Changes in v3: - Nothing changed in this patch but I have committed andestech to vendor-prefixes.txt. drivers/net/ethernet/faraday/ftmac100.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/f

Re: [PATCH] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Greentime Hu
On Thu, Nov 17, 2016 at 12:12 AM, Arnd Bergmann <a...@arndb.de> wrote: > On Wednesday, November 16, 2016 3:37:15 PM CET Andrew Lunn wrote: >> On Wed, Nov 16, 2016 at 10:26:52PM +0800, Greentime Hu wrote: >> > On Wed, Nov 16, 2016 at 9:47 PM, Andrew Lunn <and...@lunn.ch

Re: [PATCH] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Greentime Hu
On Wed, Nov 16, 2016 at 9:47 PM, Andrew Lunn <and...@lunn.ch> wrote: > On Wed, Nov 16, 2016 at 04:43:15PM +0800, Greentime Hu wrote: >> To support device tree usage for ftmac100. >> >> Signed-off-by: Greentime Hu <green...@gmail.com> >> --- >> d

[PATCH v2] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Greentime Hu
Signed-off-by: Greentime Hu <green...@gmail.com> --- drivers/net/ethernet/faraday/ftmac100.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c index dce5f7b..5d70ee9 100644 --- a/drivers/net/et

Re: [PATCH] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Greentime Hu
You are right. I didn't notice that. I should use ftmac100. On Wed, Nov 16, 2016 at 7:53 PM, Jiri Pirko <j...@resnulli.us> wrote: > Wed, Nov 16, 2016 at 09:43:15AM CET, green...@gmail.com wrote: >>To support device tree usage for ftmac100. >> >>Signed-off-by: Green

[PATCH] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Greentime Hu
To support device tree usage for ftmac100. Signed-off-by: Greentime Hu <green...@gmail.com> --- drivers/net/ethernet/faraday/ftmac100.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c index d

<    1   2   3   4