2018-02-21 19:37 GMT+08:00 Arnd Bergmann :
> On Wed, Feb 21, 2018 at 12:21 PM, Greentime Hu wrote:
>> 2018-02-16 18:47 GMT+08:00 kbuild test robot :
>
>>
>> From: Greentime Hu
>> Date: Wed, 21 Feb 2018 14:21:23 +0800
>> Subject: [PATCH] xtensa: add iorema
us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Greentime-Hu/Andes-nds32-Linux-Kernel-Port/20180216-155013
> config: xtensa-allmodconfig (attached as .config)
> compiler: xtensa-linux-gcc (GCC) 7.2.0
> reproduce:
> wg
2018-02-14 22:43 GMT+08:00 Arnd Bergmann :
> On Tue, Feb 13, 2018 at 10:09 AM, Greentime Hu wrote:
>> A commit for the nds32 architecture bootstrap("asm-generic/io.h: move
>> ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU")
>> will move
2018-02-14 0:02 GMT+08:00 Joe Perches :
> On Tue, 2018-02-13 at 17:09 +0800, Greentime Hu wrote:
>> Add a maintainer information for the nds32(Andes) architecture.
> []
>> diff --git a/MAINTAINERS b/MAINTAINERS
> []
>> @@ -868,6 +868,17 @@ X: drivers/iio/*/adjd*
&
e()/memcpy()
- Refine ioremap.c
- Refine irq-ativic32.c
- Fix a bug of earlycon.c
- Export ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt
- Add atcpit100 driver
Greentime Hu (37):
openrisc: add ioremap_nocache declaration before include
asm-generic/io.h and sync ioremap protot
It allows some architectures to use this generic macro instead of
defining theirs.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
include/asm-generic/io.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/include/asm
#define's before
importing asm-generic/io.h.
Also, the change adds a prototype for ioremap where size is size_t so fix that
as well.
Signed-off-by: Greentime Hu
Acked-by: Stafford Horne
---
arch/openrisc/include/asm/io.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
It will get the wrong virtual address because port->mapbase is not added
the correct reg-offset yet. We have to update it before earlycon_map()
is called
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
Cc: Peter Hurley
Cc: sta...@vger.kernel.org
Fixes: 088da2a17619 ("of:
#define
in io_32.h.
Also, the change adds a prototype for ioremap where size is size_t and
offset is phys_addr_t so fix that as well.
Signed-off-by: Greentime Hu
---
arch/sparc/include/asm/io_32.h | 5 -
arch/sparc/kernel/ioport.c | 4 ++--
2 files changed, 2 insertions(+), 7 deletions(-)
sole/vgacon.c:591:
undefined reference to `screen_info'
drivers/video/console/vgacon.o:/NOBACKUP/sqa2/greentime/contrib/src_pkg/linux-nds32/drivers/video/console/vgacon.c:591:
more undefined references to `screen_info' follow
make: *** [vmlinux] Error 1
Signed-off-by: Greentime Hu
---
This patch includes assembly macros, bit field definitions used in .S
files across arch/nds32/.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/assembler.h | 39 ++
arch/nds32/include/asm/bitfield.h | 963
accessing handler cannot work if this unaligned
address is not accessible such as protection violation. On this
condition, the default behaviors for addressing data unaligned exception
still happen
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/ptrace.h | 77
This patch includes memory initializations and highmem supporting.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/mm/highmem.c | 79 ++
arch/nds32/mm/init.c | 277 +++
arch/nds32/mm
This patch contains cache and TLB maintenance functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/cache.h | 12 +
arch/nds32/include/asm/cache_info.h| 13 +
arch/nds32/include/asm/cacheflush.h| 44 +++
arch
This patch includes irq related functions and irqchip_init().
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/irqflags.h | 36
arch/nds32/kernel/irq.c | 9 +
2 files changed, 45
This patch includes copy_thread(), start_thread() implementation and cpu_context
structure definition. nds32 uses $r25 to get current task_struct.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/current.h | 12 ++
arch/nds32
This patch introduces ioremap implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/io.h | 83 +
arch/nds32/mm/ioremap.c | 62 +
2 files
This patch includes the atomic and futex operations. Many atomic operations use
the load-lock word(llw) and store-condition word(scw) operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/barrier.h | 15 ++
arch/nds32
This patch adds definitions for the ELF format, relocation types, vdso
locations and EXEC_PAGESIZE.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/elf.h | 171 +++
arch/nds32/include/uapi/asm
This patch adds support for the DMA mapping API. It uses dma_map_ops for
flexibility.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/dma-mapping.h | 14 +
arch/nds32/kernel/dma.c | 477
This patch adds VDSO support. The VDSO code is currently used for
sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter).
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/vdso.h | 24 +++
arch/nds32
This patch adds support for system calls.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Reviewed-by: Arnd Bergmann
---
arch/nds32/include/asm/syscall.h | 188 +++
arch/nds32/include/asm/syscalls.h| 13 +++
arch/nds32/include/asm/unistd.h
This patch adds support for signal handling.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/sigcontext.h | 60 ++
arch/nds32/kernel/signal.c | 324 +++
2 files changed, 384 insertions(+)
create mode 100644
This patch adds L2 cache support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/l2_cache.h | 137 ++
arch/nds32/kernel/atl2c.c | 64 ++
2 files changed, 201 insertions
This patch adds ptrace support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/ptrace.h | 25
arch/nds32/kernel/ptrace.c | 119 +++
2 files changed, 144 insertions(+)
create mode 100644 arch/nds32
This patch adds support for loadable modules.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/module.h | 11 ++
arch/nds32/kernel/module.c | 278
2 files changed, 289 insertions
This patch add support for various library functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/string.h | 17 +++
arch/nds32/include/asm/swab.h| 35 +
arch/nds32/include/asm/uaccess.h | 283
This patch adds support for device tree.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/boot/dts/Makefile | 8
arch/nds32/boot/dts/ae3xx.dts | 85 +++
arch/nds32/kernel/devtree.c | 19
This patch adds support for timer.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Reviewed-by: Linus Walleij
Acked-by: Arnd Bergmann
---
arch/nds32/kernel/time.c | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 arch/nds32/kernel/time.c
diff --git a/arch/nds32
This patch adds nds32 defconfig.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/configs/defconfig | 104 +++
1 file changed, 104 insertions(+)
create mode 100644 arch/nds32/configs/defconfig
diff --git a
This patch introduces some miscellaneous header files.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/delay.h | 39 +
arch/nds32/include/asm/linkage.h| 11 ++
arch/nds32
Add a maintainer information for the nds32(Andes) architecture.
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
MAINTAINERS | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3bdc260e36b7..bf7c2ac6bb5a 100644
--- a/MAINTAINERS
+++ b
This patch adds nds32 L2 cache controller binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
---
Documentation/devicetree/bindings/nds32/atl2c.txt | 28 +++
1 file changed, 28 insertions(+)
create mode 100644 Documentation
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building
an nds32 kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/Kconfig | 103 ++
arch/nds32/Kconfig.cpu | 174
This patch adds nds32 SoC(AE3XX and AG101P) binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
---
.../devicetree/bindings/nds32/andestech-boards | 40 ++
1 file changed, 40 insertions(+)
create mode 100644 Documentation
This patch adds an irqchip driver document for the Andestech Internal Vector
Interrupt Controller.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
---
.../interrupt-controller/andestech,ativic32.txt | 19 +++
1 file
This patch is used to support nds32 architecture to use these faraday
mac IP.
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
drivers/net/ethernet/faraday/Kconfig | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/faraday/Kconfig
b/drivers
Hi, all:
ATCPIT100 is often used on the Andes architecture,
This timer provide 4 PIT channels. Each PIT channel is a
multi-function timer, can be configured as 32,16,8 bit timers
or PWM as well.
For system timer it will set channel 1 32-bit timer0 as clock
source and count downwards until underfl
This patch adds the Andestech Internal Vector Interrupt Controller
driver. You can find the spec here. Ch4.9 of AndeStar SPA V3 Manual.
http://www.andestech.com/product.php?cls=9
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Marc Zyngier
---
drivers/irqchip/Makefile
-by: Greentime Hu
---
drivers/clocksource/timer-atcpit100.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/clocksource/timer-atcpit100.c
b/drivers/clocksource/timer-atcpit100.c
index 2190096cffa3..5e23d7b4a722 100644
--- a/drivers/clocksource/timer-atcpit100.c
+++ b
until underflow and restart again.
It also set channel 0 32-bit timer0 as clock event and count
downwards until condition match. It will generate an interrupt
for handling periodically.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Linus Walleij
Add andestech atcpit100 timer
From: Rick Chen
Add a document to describe Andestech atcpit100 timer and
binding information.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Acked-by: Rob Herring
Acked-by: Arnd Bergmann
---
.../bindings/timer/andestech,atcpit100-timer.txt | 33 ++
1 file
This patch adds nds32 CPU binding documents.
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by: Zong Li
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/nds32/cpus.txt | 38
1 file changed, 38 insertions
This patch includes page fault handler, mmap and fixup implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/lib/copy_page.S | 37
arch/nds32/mm/extable.c| 16 ++
arch/nds32/mm/fault.c | 410
This patch includes the kernel startup code. It can get dtb pointer
passed from bootloader. It will create a temp mapping by tlb
instructions at beginning and goto start_kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/kernel/head.S | 188
This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It
also includes the 4KB/8KB page size configurations and pte operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/fixmap.h | 29 +++
arch/nds32
Hi, Arnd:
2018-01-30 21:33 GMT+08:00 Arnd Bergmann :
> On Tue, Jan 30, 2018 at 11:01 AM, Vincent Chen wrote:
>> 2018-01-24 19:10 GMT+08:00 Arnd Bergmann :
>>> On Wed, Jan 24, 2018 at 12:09 PM, Arnd Bergmann wrote:
On Wed, Jan 24, 2018 at 11:53 AM, Vincent Chen wrote:
> 2018-01-18 18:14
Hi, Arnd:
2018-01-25 18:42 GMT+08:00 Arnd Bergmann :
> On Thu, Jan 25, 2018 at 4:45 AM, Greentime Hu wrote:
>> 2018-01-24 19:36 GMT+08:00 Arnd Bergmann :
>>> On Tue, Jan 23, 2018 at 12:52 PM, Greentime Hu wrote:
>>>> 2018-01-23 16:23 GMT+08:00 Greentime Hu :
&g
Hi, Arnd:
2018-01-24 19:36 GMT+08:00 Arnd Bergmann :
> On Tue, Jan 23, 2018 at 12:52 PM, Greentime Hu wrote:
>> Hi, Arnd:
>>
>> 2018-01-23 16:23 GMT+08:00 Greentime Hu :
>>> Hi, Arnd:
>>>
>>> 2018-01-18 18:26 GMT+08:00 Arnd Bergmann :
>>&
Hi, Arnd:
2018-01-23 16:23 GMT+08:00 Greentime Hu :
> Hi, Arnd:
>
> 2018-01-18 18:26 GMT+08:00 Arnd Bergmann :
>> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>>> From: Greentime Hu
>>>
>>> This patch adds support for the DMA mapping AP
Hi, Arnd:
2018-01-18 18:26 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> This patch adds support for the DMA mapping API. It uses dma_map_ops for
>> flexibility.
>>
>> Signed-off-by: Vince
Hi, Arnd:
2018-01-22 23:38 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 22, 2018 at 4:20 PM, Greentime Hu wrote:
> BE
>>>
>>> I think it's better to drop GENERIC_IRQ_PROBE here, no modern driver
>>> should rely on that.
>>
>> I will drop
Hi, Arnd:
2018-01-18 19:00 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> This patch adds Makefile, Kconfig and vmlinux.lds.S files required for
>> building
>> an nds32 kernel.
>>
>>
Hi, Arnd:
2018-01-22 19:15 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 22, 2018 at 10:53 AM, Greentime Hu wrote:
>> 2018-01-19 23:37 GMT+08:00 Geert Uytterhoeven :
>>> On Fri, Jan 19, 2018 at 4:35 PM, Greentime Hu wrote:
>>>> 2018-01-19 23:29 GMT+08:00 Geert Uytte
Hi, Geert:
2018-01-19 23:37 GMT+08:00 Geert Uytterhoeven :
> Hi Greentime,
>
> On Fri, Jan 19, 2018 at 4:35 PM, Greentime Hu wrote:
>> 2018-01-19 23:29 GMT+08:00 Geert Uytterhoeven :
>>> On Fri, Jan 19, 2018 at 4:18 PM, Greentime Hu wrote:
>>>> 2018
2018-01-20 0:41 GMT+08:00 Arnd Bergmann :
> On Fri, Jan 19, 2018 at 5:34 PM, Greentime Hu wrote:
>> Hi, Arnd:
>>
>> 2018-01-18 18:11 GMT+08:00 Arnd Bergmann :
>>> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>>>
>>> I had not looked at
Hi, Arnd:
2018-01-18 18:11 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>
> I had not looked at this patch in enough detail earlier, sorry about
> that. It should be
> easy enough to fix though.
>
>> +#ifdef CONFIG_VGA_CONSOL
2018-01-19 23:29 GMT+08:00 Geert Uytterhoeven :
> Hi Greentime,
>
> On Fri, Jan 19, 2018 at 4:18 PM, Greentime Hu wrote:
>> 2018-01-19 22:52 GMT+08:00 Arnd Bergmann :
>>> On Fri, Jan 19, 2018 at 3:32 PM, Greentime Hu wrote:
>>>> 2018-01-18 19:02 GMT+08:00
2018-01-19 22:52 GMT+08:00 Arnd Bergmann :
> On Fri, Jan 19, 2018 at 3:32 PM, Greentime Hu wrote:
>> 2018-01-18 19:02 GMT+08:00 Arnd Bergmann :
>>> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>>>> From: Greentime Hu
>>>>
>&g
2018-01-18 19:02 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> This patch adds nds32 CPU binding documents.
>>
>> Signed-off-by: Vincent Chen
>> Signed-off-by: Rick Chen
>> Signed-of
2018-01-18 18:41 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> This patch adds support for loadable modules.
>
> One detail:
>
> You still seem to have both the ELF_REL and ELF_RELA based functions
&g
2018-01-18 17:56 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> It will be built failed if commit id: d25ea659 is selected. This patch
>> can fix this build error.
>>
>> Signed-off-by: Greent
2018-01-15 21:07 GMT+08:00 Stafford Horne :
> On Mon, Jan 15, 2018 at 01:53:10PM +0800, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> It will be built failed if commit id: d25ea659 is selected. This patch can
>> fix this
>> build error.
>
> Hello,
&g
From: Greentime Hu
It will be built failed if commit id: d25ea659 is selected. This patch
can fix this build error.
Signed-off-by: Greentime Hu
---
arch/sparc/include/asm/io_32.h |5 -
arch/sparc/kernel/ioport.c |4 ++--
2 files changed, 2 insertions(+), 7 deletions(-)
diff
o_user()/clear_user()/get_user()/memmove()/memcpy()
- Refine ioremap.c
- Refine irq-ativic32.c
- Fix a bug of earlycon.c
- Export ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt
- Add atcpit100 driver
Greentime Hu (36):
asm-generic/io.h: move
ioremap_nocache/ioremap_uc/ioremap_wc/ior
From: Greentime Hu
It allows some architectures to use this generic macro instead of
defining theirs.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
include/asm-generic/io.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff
From: Greentime Hu
It will be built failed if commit id: d25ea659 is selected. This patch can fix
this
build error.
Signed-off-by: Greentime Hu
---
arch/openrisc/include/asm/io.h |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/openrisc/include/asm/io.h b/arch
From: Greentime Hu
It will get the wrong virtual address because port->mapbase is not added
the correct reg-offset yet. We have to update it before earlycon_map()
is called
Signed-off-by: Greentime Hu
---
drivers/tty/serial/earlycon.c |3 ++-
1 file changed, 2 insertions(+), 1 delet
From: Greentime Hu
This patch includes assembly macros, bit field definitions used in .S
files across arch/nds32/.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/assembler.h | 39 ++
arch/nds32/include/asm/bitfield.h | 963
From: Greentime Hu
This patch includes the exception/interrupt entries, pt_reg structure and
related accessors.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/ptrace.h | 66 +
arch/nds32/kernel/ex-entry.S| 157 ++
arch/nds32/kernel/ex
From: Greentime Hu
This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It
also includes the 4KB/8KB page size configurations and pte operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/fixmap.h | 29 +++
arch/nds32/include
From: Greentime Hu
This patch includes the kernel startup code. It can get dtb pointer
passed from bootloader. It will create a temp mapping by tlb
instructions at beginning and goto start_kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/kernel/head.S | 188
From: Greentime Hu
This patch includes page fault handler, mmap and fixup implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/lib/copy_page.S | 37
arch/nds32/mm/extable.c| 16 ++
arch/nds32/mm/fault.c | 410
From: Greentime Hu
This patch includes copy_thread(), start_thread() implementation and cpu_context
structure definition. nds32 uses $r25 to get current task_struct.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/current.h | 12 ++
arch/nds32/include
From: Greentime Hu
This patch includes the atomic and futex operations. Many atomic operations use
the load-lock word(llw) and store-condition word(scw) operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/barrier.h | 15 ++
arch/nds32/include
From: Greentime Hu
This patch contains cache and TLB maintenance functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/cache.h | 12 +
arch/nds32/include/asm/cache_info.h| 13 +
arch/nds32/include/asm/cacheflush.h| 44 +++
arch
From: Greentime Hu
This patch adds support for the DMA mapping API. It uses dma_map_ops for
flexibility.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/dma-mapping.h | 14 ++
arch/nds32/kernel/dma.c | 459
From: Greentime Hu
This patch includes irq related functions and irqchip_init().
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/irqflags.h | 36
arch/nds32/kernel/irq.c |9 +
2 files changed, 45
From: Greentime Hu
This patch introduces ioremap implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/io.h | 83 +++
arch/nds32/mm/ioremap.c | 62
2 files changed
From: Greentime Hu
This patch adds definitions for the ELF format, relocation types, vdso
locations and EXEC_PAGESIZE.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/elf.h | 171 ++
arch/nds32/include/uapi/asm
From: Greentime Hu
This patch adds support for signal handling.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/sigcontext.h | 60 ++
arch/nds32/kernel/signal.c | 337 ++
2 files changed, 397 insertions
From: Greentime Hu
This patch adds support for system calls.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/syscall.h | 188 ++
arch/nds32/include/asm/syscalls.h| 13 +++
arch/nds32/include/asm/unistd.h
From: Greentime Hu
This patch add support for various library functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/string.h | 17 +++
arch/nds32/include/asm/swab.h| 35 +
arch/nds32/include/asm/uaccess.h | 283
From: Greentime Hu
This patch adds ptrace support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/ptrace.h | 25 +++
arch/nds32/kernel/ptrace.c | 311 ++
2 files changed, 336 insertions(+)
create mode
From: Greentime Hu
This patch adds L2 cache support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/l2_cache.h | 137 +
arch/nds32/kernel/atl2c.c | 64 +
2 files changed, 201 insertions
From: Greentime Hu
This patch adds support for timer.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Reviewed-by: Linus Walleij
---
arch/nds32/kernel/time.c | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 arch/nds32/kernel/time.c
diff --git a/arch/nds32
From: Greentime Hu
This patch adds support for device tree.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/boot/dts/Makefile |8
arch/nds32/boot/dts/ae3xx.dts | 85 +
arch/nds32/kernel/devtree.c | 19 +
3
From: Greentime Hu
This patch adds support for loadable modules.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/module.h | 11 ++
arch/nds32/kernel/module.c | 286 +++
2 files changed, 297 insertions(+)
create
From: Greentime Hu
Signed-off-by: Greentime Hu
---
MAINTAINERS | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2f4e462..20284c8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -857,6 +857,17 @@ X: drivers/iio/*/adjd*
F: drivers/staging/iio
From: Greentime Hu
This patch adds nds32 defconfig.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/configs/defconfig | 107 ++
1 file changed, 107 insertions(+)
create mode 100644 arch/nds32/configs/defconfig
diff --git a
From: Greentime Hu
This patch introduces some miscellaneous header files.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/delay.h | 39 +++
arch/nds32/include/asm/linkage.h| 11 +
arch/nds32/include
From: Greentime Hu
This patch adds nds32 CPU binding documents.
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by: Zong Li
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/nds32/cpus.txt | 37 ++
1 file
From: Greentime Hu
This patch adds nds32 L2 cache controller binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/nds32/atl2c.txt | 29 +
1 file changed, 29 insertions(+)
create mode 100644 Documentation
From: Greentime Hu
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building
an nds32 kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/Kconfig | 107
arch/nds32/Kconfig.cpu | 161
From: Greentime Hu
This patch adds nds32 SoC(AE3XX and AG101P) binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
.../devicetree/bindings/nds32/andestech-boards | 40
1 file changed, 40 insertions(+)
create mode 100644 Documentation
From: Greentime Hu
This patch adds an irqchip driver document for the Andestech Internal Vector
Interrupt Controller.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
.../interrupt-controller/andestech,ativic32.txt| 19 +++
1 file
ATCPIT100 is often used on the Andes architecture,
This timer provide 4 PIT channels. Each PIT channel is a
multi-function timer, can be configured as 32,16,8 bit timers
or PWM as well.
For system timer it will set channel 1 32-bit timer0 as clock
source and count downwards until underflow and res
-by: Greentime Hu
---
drivers/clocksource/timer-atcpit100.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/clocksource/timer-atcpit100.c
b/drivers/clocksource/timer-atcpit100.c
index e34b2fe..4cf69e2 100644
--- a/drivers/clocksource/timer-atcpit100.c
+++ b/drivers
until underflow and restart again.
It also set channel 0 32-bit timer0 as clock event and count
downwards until condition match. It will generate an interrupt
for handling periodically.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Linus Walleij
---
drivers/clocksource/Kconfig
From: Rick Chen
Add a document to describe Andestech atcpit100 timer and
binding information.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Acked-by: Rob Herring
---
.../bindings/timer/andestech,atcpit100-timer.txt | 33
1 file changed, 33 insertions
1 - 100 of 358 matches
Mail list logo