This patch contains the initialisation of the memory blocks, MMU
attributes and the memory map.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/mmu.h | 16 +++
arch/nios2/include/asm/page.h| 111 +++
arch/nios2/include/asm/uaccess.h | 231
This patch add assembly macros and definitions used in
the .S files across arch/nios2/ and together with asm-offsets.c.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/asm-macros.h | 309 +++
arch/nios2/include/asm/asm-offsets.h | 20
://lkml.org/lkml/2014/7/15/120
[v3] : https://lkml.org/lkml/2014/9/8/139
[v4] : https://lkml.org/lkml/2014/10/8/141
Ley Foon Tan (29):
asm-generic: add generic futex for !CONFIG_SMP
nios2: Assembly macros and definitions
nios2: Kernel booting and initialization
nios2: Exception handling
nios2
On Wed, Oct 8, 2014 at 6:44 PM, Thomas Gleixner wrote:
> On Wed, 8 Oct 2014, Ley Foon Tan wrote:
>> +static void nios2_timer_set_mode(enum clock_event_mode mode,
>> + struct clock_event_device *evt)
>> +{
>> + unsigned long period;
>> + struc
On Thu, Oct 9, 2014 at 3:47 PM, Tobias Klauser wrote:
>> +#if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE)
>> +#include
>> +unsigned long get_fb_unmapped_area(struct file *filp, unsigned long
>> orig_addr,
>> + unsigned long len, unsigned long pgoff, unsigned long flags)
>> +{
>>
On Wed, Oct 8, 2014 at 7:29 PM, Richard Weinberger
wrote:
> On Wed, Oct 8, 2014 at 11:29 AM, Ley Foon Tan wrote:
>> This patch adds support for signal handling.
>>
>> Signed-off-by: Ley Foon Tan
>
> Maybe I'm misreading your code but where do you check for multiple
&g
On Thu, Oct 9, 2014 at 6:27 AM, Al Viro wrote:
>
>> +Lsignal_return:
>> + ANDI32 r1, r10, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME
>> + beq r1, r0, restore_all
>> + mov r4, sp /* pt_regs */
>> + SAVE_SWITCH_STACK
>> + calldo_notify_resume
>> + beq
On Thu, Oct 9, 2014 at 6:27 AM, Al Viro v...@zeniv.linux.org.uk wrote:
+Lsignal_return:
+ ANDI32 r1, r10, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME
+ beq r1, r0, restore_all
+ mov r4, sp /* pt_regs */
+ SAVE_SWITCH_STACK
+ calldo_notify_resume
+
On Wed, Oct 8, 2014 at 7:29 PM, Richard Weinberger
richard.weinber...@gmail.com wrote:
On Wed, Oct 8, 2014 at 11:29 AM, Ley Foon Tan lf...@altera.com wrote:
This patch adds support for signal handling.
Signed-off-by: Ley Foon Tan lf...@altera.com
Maybe I'm misreading your code but where do
On Thu, Oct 9, 2014 at 3:47 PM, Tobias Klauser tklau...@distanz.ch wrote:
+#if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE)
+#include linux/fb.h
+unsigned long get_fb_unmapped_area(struct file *filp, unsigned long
orig_addr,
+ unsigned long len, unsigned long pgoff, unsigned
On Wed, Oct 8, 2014 at 6:44 PM, Thomas Gleixner t...@linutronix.de wrote:
On Wed, 8 Oct 2014, Ley Foon Tan wrote:
+static void nios2_timer_set_mode(enum clock_event_mode mode,
+ struct clock_event_device *evt)
+{
+ unsigned long period;
+ struct nios2_clockevent_dev *nios2_ced
Follow m68k futex implementation for !CONFIG_SMP.
Signed-off-by: Ley Foon Tan
Acked-by: Arnd Bergmann
---
include/asm-generic/futex.h | 82 +++
1 files changed, 82 insertions(+), 0 deletions(-)
diff --git a/include/asm-generic/futex.h b/include/asm
This patch contains the exception entry code (kernel/entry.S) and misaligned
exception.
Signed-off-by: Ley Foon Tan
---
arch/nios2/kernel/entry.S | 559
arch/nios2/kernel/misaligned.c | 255 ++
2 files changed, 814 insertions
This patch adds the kernel booting and the initial setup code.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/entry.h | 120 ++
arch/nios2/include/asm/setup.h | 38 +++
arch/nios2/kernel/head.S | 175
arch/nios2/kernel
This patch contains traps exception handling.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/traps.h | 19 ++
arch/nios2/kernel/insnemu.S| 592
arch/nios2/kernel/traps.c | 185 +
3 files changed, 796 insertions(+), 0
This patch adds several definitions for I/O accessors and ioremap().
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/io.h | 84 +++
arch/nios2/lib/io.c | 138
arch/nios2/mm/ioremap.c | 186
This patch contains the initialisation of the memory blocks, MMU
attributes and the memory map.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/mmu.h | 16 +++
arch/nios2/include/asm/page.h| 111 ++
arch/nios2/include/asm/uaccess.h | 231
This patch adds functionality required for cache maintenance.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/cache.h | 36 +
arch/nios2/include/asm/cacheflush.h | 52 +++
arch/nios2/mm/cacheflush.c | 270 +++
3 files changed
This patch adds the TLB maintenance functions.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/tlb.h | 34 +
arch/nios2/include/asm/tlbflush.h | 46 ++
arch/nios2/mm/tlb.c | 274 +
3 files changed, 354 insertions(+), 0
This patch adds definitions for the ELF format
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/elf.h | 101 +
arch/nios2/include/uapi/asm/elf.h | 67
2 files changed, 168 insertions(+), 0 deletions(-)
create mode
This patch adds support for the DMA mapping API.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/dma-mapping.h | 130
arch/nios2/mm/dma-mapping.c | 185 ++
2 files changed, 315 insertions(+), 0 deletions(-)
create mode
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/cpuinfo.h | 57 +++
arch/nios2/kernel/cpuinfo.c | 201 ++
2 files changed, 258 insertions(+), 0 deletions(-)
create mode 100644 arch/nios2/include/asm/cpuinfo.h
create mode 100644 arch
Add device tree support to arch/nios2.
Signed-off-by: Ley Foon Tan
---
Documentation/devicetree/bindings/nios2/nios2.txt | 62
Documentation/devicetree/bindings/nios2/timer.txt | 19 +++
arch/nios2/boot/dts/3c120_devboard.dts| 164 +
arch/nios2/boot
This file contains constants for the instruction macros, cpu registers, fields
and bits.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/registers.h | 71
1 files changed, 71 insertions(+), 0 deletions(-)
create mode 100644 arch/nios2/include/asm
Signed-off-by: Ley Foon Tan
---
MAINTAINERS |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index a12edf2..580499e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6421,6 +6421,13 @@ S: Maintained
F: Documentation/scsi
Add ptrace support for nios2.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/ptrace.h | 33 +++
arch/nios2/include/uapi/asm/ptrace.h | 120
arch/nios2/kernel/ptrace.c | 166 ++
3 files changed, 319
Signed-off-by: Ley Foon Tan
---
Documentation/nios2/README | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 Documentation/nios2/README
diff --git a/Documentation/nios2/README b/Documentation/nios2/README
new file mode 100644
index 000
This patch adds Makefile and Kconfig files required for building a
nios2 kernel.
Signed-off-by: Ley Foon Tan
---
arch/nios2/Kconfig | 201 ++
arch/nios2/Kconfig.debug | 17 +++
arch/nios2/Makefile | 73
Add time keeping code for nios2.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/delay.h | 21 +++
arch/nios2/include/asm/timex.h | 26
arch/nios2/kernel/time.c | 318
arch/nios2/lib/delay.c | 52 +++
4 files changed
This patch introduces a few nios2-specific header files.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/cmpxchg.h| 61 +++
arch/nios2/include/asm/linkage.h| 25 +
arch/nios2/include/asm/mutex.h |1 +
arch/nios2
This patch adds support for loadable modules.
Signed-off-by: Ley Foon Tan
---
arch/nios2/kernel/module.c | 137
1 files changed, 137 insertions(+), 0 deletions(-)
create mode 100644 arch/nios2/kernel/module.c
diff --git a/arch/nios2/kernel
Add optimised library functions for nios2.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/checksum.h | 78 +++
arch/nios2/include/asm/string.h | 24 +
arch/nios2/lib/memcpy.c | 199 +
arch/nios2/lib/memmove.c
This patch adds support for signal handling.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/signal.h | 22 ++
arch/nios2/include/asm/ucontext.h| 32 +++
arch/nios2/include/uapi/asm/sigcontext.h | 28 +++
arch/nios2/include/uapi/asm/signal.h | 23 +++
arch
Signed-off-by: Ley Foon Tan
Acked-by: Arnd Bergmann
---
include/uapi/linux/elf-em.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h
index 01529bd..7f06c0d 100644
--- a/include/uapi/linux/elf-em.h
+++ b/include
This patch adds the support for IRQ handling.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/irq.h | 28 +++
arch/nios2/include/asm/irqflags.h | 69 +++
arch/nios2/kernel/irq.c | 93 +
3 files
This patch adds support for system calls from userspaces. It uses the
asm-generic/unistd.h definitions with architecture spcific syscall. The
sys_call_table
is just an array defined in a C file and it contains pointers to the syscall
functions.
Signed-off-by: Ley Foon Tan
---
arch/nios2
This patch adds support for thread creation and context switching.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/mmu_context.h | 66 +
arch/nios2/include/asm/processor.h | 103 ++
arch/nios2/include/asm/switch_to.h | 31
arch/nios2/include/asm
This patch adds support for the handling of the MMU faults (exception
entry code introduced by a previous patch, kernel/entry.S).
Signed-off-by: Ley Foon Tan
---
arch/nios2/mm/extable.c | 25 +
arch/nios2/mm/fault.c | 251 +++
2 files changed
This patch adds support for page table management.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/pgalloc.h | 86 +
arch/nios2/include/asm/pgtable-bits.h | 35
arch/nios2/include/asm/pgtable.h | 305 +
arch/nios2/mm/pgtable.c
This patch add assembly macros and definitions used in
the .S files across arch/nios2/ and together with asm-offsets.c.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/asm-macros.h | 309 ++
arch/nios2/include/asm/asm-offsets.h | 20 +++
arch/nios2
ory
-
[v1] : https://lkml.org/lkml/2014/4/18/216
[v2] : https://lkml.org/lkml/2014/7/15/120
[v3] : https://lkml.org/lkml/2014/9/8/139
Ley Foon Tan (29):
asm-generic: add generic futex for !CONFIG_SMP
nios2: Assembly macros and definitions
nios2: Kernel booting and initializat
-
[v1] : https://lkml.org/lkml/2014/4/18/216
[v2] : https://lkml.org/lkml/2014/7/15/120
[v3] : https://lkml.org/lkml/2014/9/8/139
Ley Foon Tan (29):
asm-generic: add generic futex for !CONFIG_SMP
nios2: Assembly macros and definitions
nios2: Kernel booting and initialization
This patch add assembly macros and definitions used in
the .S files across arch/nios2/ and together with asm-offsets.c.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/asm-macros.h | 309 ++
arch/nios2/include/asm/asm-offsets.h | 20
This patch adds support for the handling of the MMU faults (exception
entry code introduced by a previous patch, kernel/entry.S).
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/mm/extable.c | 25 +
arch/nios2/mm/fault.c | 251
This patch adds support for page table management.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/pgalloc.h | 86 +
arch/nios2/include/asm/pgtable-bits.h | 35
arch/nios2/include/asm/pgtable.h | 305 +
arch
This patch adds support for thread creation and context switching.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/mmu_context.h | 66 +
arch/nios2/include/asm/processor.h | 103 ++
arch/nios2/include/asm/switch_to.h | 31
arch/nios2
Signed-off-by: Ley Foon Tan lf...@altera.com
Acked-by: Arnd Bergmann a...@arndb.de
---
include/uapi/linux/elf-em.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h
index 01529bd..7f06c0d 100644
--- a/include/uapi
This patch adds the support for IRQ handling.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/irq.h | 28 +++
arch/nios2/include/asm/irqflags.h | 69 +++
arch/nios2/kernel/irq.c | 93
Add optimised library functions for nios2.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/checksum.h | 78 +++
arch/nios2/include/asm/string.h | 24 +
arch/nios2/lib/memcpy.c | 199 +
arch/nios2/lib
This patch adds support for system calls from userspaces. It uses the
asm-generic/unistd.h definitions with architecture spcific syscall. The
sys_call_table
is just an array defined in a C file and it contains pointers to the syscall
functions.
Signed-off-by: Ley Foon Tan lf...@altera.com
This patch adds support for signal handling.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/signal.h | 22 ++
arch/nios2/include/asm/ucontext.h| 32 +++
arch/nios2/include/uapi/asm/sigcontext.h | 28 +++
arch/nios2/include/uapi/asm/signal.h
This patch adds support for loadable modules.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/kernel/module.c | 137
1 files changed, 137 insertions(+), 0 deletions(-)
create mode 100644 arch/nios2/kernel/module.c
diff --git a/arch
Add time keeping code for nios2.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/delay.h | 21 +++
arch/nios2/include/asm/timex.h | 26
arch/nios2/kernel/time.c | 318
arch/nios2/lib/delay.c | 52
This patch introduces a few nios2-specific header files.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/cmpxchg.h| 61 +++
arch/nios2/include/asm/linkage.h| 25 +
arch/nios2/include/asm/mutex.h |1
Signed-off-by: Ley Foon Tan lf...@altera.com
---
Documentation/nios2/README | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 Documentation/nios2/README
diff --git a/Documentation/nios2/README b/Documentation/nios2/README
new file mode 100644
This patch adds Makefile and Kconfig files required for building a
nios2 kernel.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/Kconfig | 201 ++
arch/nios2/Kconfig.debug | 17 +++
arch/nios2/Makefile
Add ptrace support for nios2.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/ptrace.h | 33 +++
arch/nios2/include/uapi/asm/ptrace.h | 120
arch/nios2/kernel/ptrace.c | 166 ++
3 files
Signed-off-by: Ley Foon Tan lf...@altera.com
---
MAINTAINERS |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index a12edf2..580499e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6421,6 +6421,13 @@ S: Maintained
F: Documentation
This file contains constants for the instruction macros, cpu registers, fields
and bits.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/registers.h | 71
1 files changed, 71 insertions(+), 0 deletions(-)
create mode 100644 arch
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/cpuinfo.h | 57 +++
arch/nios2/kernel/cpuinfo.c | 201 ++
2 files changed, 258 insertions(+), 0 deletions(-)
create mode 100644 arch/nios2/include/asm/cpuinfo.h
create
Add device tree support to arch/nios2.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
Documentation/devicetree/bindings/nios2/nios2.txt | 62
Documentation/devicetree/bindings/nios2/timer.txt | 19 +++
arch/nios2/boot/dts/3c120_devboard.dts| 164
This patch adds definitions for the ELF format
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/elf.h | 101 +
arch/nios2/include/uapi/asm/elf.h | 67
2 files changed, 168 insertions(+), 0 deletions
This patch adds support for the DMA mapping API.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/dma-mapping.h | 130
arch/nios2/mm/dma-mapping.c | 185 ++
2 files changed, 315 insertions(+), 0 deletions
This patch adds functionality required for cache maintenance.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/cache.h | 36 +
arch/nios2/include/asm/cacheflush.h | 52 +++
arch/nios2/mm/cacheflush.c | 270 +++
3
This patch adds the TLB maintenance functions.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/tlb.h | 34 +
arch/nios2/include/asm/tlbflush.h | 46 ++
arch/nios2/mm/tlb.c | 274 +
3 files changed, 354
This patch contains the initialisation of the memory blocks, MMU
attributes and the memory map.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/mmu.h | 16 +++
arch/nios2/include/asm/page.h| 111 ++
arch/nios2/include/asm/uaccess.h | 231
This patch adds several definitions for I/O accessors and ioremap().
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/io.h | 84 +++
arch/nios2/lib/io.c | 138
arch/nios2/mm/ioremap.c | 186
This patch adds the kernel booting and the initial setup code.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/entry.h | 120 ++
arch/nios2/include/asm/setup.h | 38 +++
arch/nios2/kernel/head.S | 175
This patch contains traps exception handling.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/include/asm/traps.h | 19 ++
arch/nios2/kernel/insnemu.S| 592
arch/nios2/kernel/traps.c | 185 +
3 files changed, 796
Follow m68k futex implementation for !CONFIG_SMP.
Signed-off-by: Ley Foon Tan lf...@altera.com
Acked-by: Arnd Bergmann a...@arndb.de
---
include/asm-generic/futex.h | 82 +++
1 files changed, 82 insertions(+), 0 deletions(-)
diff --git a/include/asm
This patch contains the exception entry code (kernel/entry.S) and misaligned
exception.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
arch/nios2/kernel/entry.S | 559
arch/nios2/kernel/misaligned.c | 255 ++
2 files changed, 814
On Fri, Sep 26, 2014 at 10:27 AM, Ley Foon Tan wrote:
> On Mon, Sep 8, 2014 at 5:22 PM, Ley Foon Tan wrote:
>> Signed-off-by: Ley Foon Tan
>> ---
>> Documentation/nios2/README | 23 +++
>> 1 file changed, 23 insertions(+)
>> create mode
On Fri, Sep 26, 2014 at 2:41 PM, Geert Uytterhoeven
wrote:
> On Fri, Sep 26, 2014 at 4:22 AM, Ley Foon Tan wrote:
>>> Randy Dunlap is the maintainer listed for
>>> Documentation, and I see you already have linux-...@vger.kernel.org
>>> on Cc here. Please
On Fri, Sep 26, 2014 at 2:41 PM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
On Fri, Sep 26, 2014 at 4:22 AM, Ley Foon Tan lf...@altera.com wrote:
Randy Dunlap rdun...@infradead.org is the maintainer listed for
Documentation, and I see you already have linux-...@vger.kernel.org
on Cc here
On Fri, Sep 26, 2014 at 10:27 AM, Ley Foon Tan lf...@altera.com wrote:
On Mon, Sep 8, 2014 at 5:22 PM, Ley Foon Tan lf...@altera.com wrote:
Signed-off-by: Ley Foon Tan lf...@altera.com
---
Documentation/nios2/README | 23 +++
1 file changed, 23 insertions(+)
create mode
On Mon, Sep 8, 2014 at 5:22 PM, Ley Foon Tan wrote:
> Signed-off-by: Ley Foon Tan
> ---
> Documentation/nios2/README | 23 +++
> 1 file changed, 23 insertions(+)
> create mode 100644 Documentation/nios2/README
>
> diff --git a/Documentation/nios2/R
On Thu, Sep 25, 2014 at 6:54 PM, Arnd Bergmann wrote:
> On Thursday 25 September 2014 16:33:33 Ley Foon Tan wrote:
>> There are 4 patches that touching code outside of arch/nios2,
>> including this patch.
>> Do we have maintainers for common files for patch #15, #27 and #28
On Wed, Sep 24, 2014 at 7:10 PM, Arnd Bergmann wrote:
> Please add my 'Acked-by: Arnd Bergmann ' to this patch
> once Thomas is ok with it. I think we had concluded already that it
> was correct when we talked about it last time, but he doesn't seem
> convinced yet so I want to wait for his
On Thu, Sep 25, 2014 at 6:54 PM, Arnd Bergmann a...@arndb.de wrote:
On Thursday 25 September 2014 16:33:33 Ley Foon Tan wrote:
There are 4 patches that touching code outside of arch/nios2,
including this patch.
Do we have maintainers for common files for patch #15, #27 and #28
below? Can't
On Mon, Sep 8, 2014 at 5:22 PM, Ley Foon Tan lf...@altera.com wrote:
Signed-off-by: Ley Foon Tan lf...@altera.com
---
Documentation/nios2/README | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/nios2/README
diff --git a/Documentation/nios2
On Wed, Sep 24, 2014 at 7:10 PM, Arnd Bergmann a...@arndb.de wrote:
Please add my 'Acked-by: Arnd Bergmann a...@arndb.de' to this patch
once Thomas is ok with it. I think we had concluded already that it
was correct when we talked about it last time, but he doesn't seem
convinced yet so I
On Wed, Sep 24, 2014 at 6:40 PM, Arnd Bergmann wrote:
> On Wednesday 24 September 2014 18:18:50 Ley Foon Tan wrote:
>> On Tue, Sep 23, 2014 at 6:40 PM, Arnd Bergmann wrote:
>> > On Tuesday 23 September 2014 18:20:08 LF.Tan wrote:
>> >> Hi Arnd
>> >>
On Wed, Sep 24, 2014 at 5:47 AM, Thomas Gleixner wrote:
> On Tue, 23 Sep 2014, LF.Tan wrote:
>> On Mon, Sep 8, 2014 at 5:22 PM, Ley Foon Tan wrote:
>> > Follow m68k futex implementation for !CONFIG_SMP.
>
> Great. Follow arch/random implementation blind
On Tue, Sep 23, 2014 at 6:40 PM, Arnd Bergmann wrote:
> On Tuesday 23 September 2014 18:20:08 LF.Tan wrote:
>> Hi Arnd
>>
>> Are you okay with this generic futex in asm-generic?
>>
>
> Yes, this looks good. Remind me again who need this, would it make
> sense to merge this through an
On Tue, Sep 23, 2014 at 6:40 PM, Arnd Bergmann a...@arndb.de wrote:
On Tuesday 23 September 2014 18:20:08 LF.Tan wrote:
Hi Arnd
Are you okay with this generic futex in asm-generic?
Yes, this looks good. Remind me again who need this, would it make
sense to merge this through an
On Wed, Sep 24, 2014 at 5:47 AM, Thomas Gleixner t...@linutronix.de wrote:
On Tue, 23 Sep 2014, LF.Tan wrote:
On Mon, Sep 8, 2014 at 5:22 PM, Ley Foon Tan lf...@altera.com wrote:
Follow m68k futex implementation for !CONFIG_SMP.
Great. Follow arch/random implementation blindly and copy all
On Wed, Sep 24, 2014 at 6:40 PM, Arnd Bergmann a...@arndb.de wrote:
On Wednesday 24 September 2014 18:18:50 Ley Foon Tan wrote:
On Tue, Sep 23, 2014 at 6:40 PM, Arnd Bergmann a...@arndb.de wrote:
On Tuesday 23 September 2014 18:20:08 LF.Tan wrote:
Hi Arnd
Are you okay with this generic
On Tue, Sep 16, 2014 at 5:43 PM, Tobias Klauser wrote:
>
> This could be simplified to:
>
> long arch_ptrace(struct task_struct *child, long request, unsigned long addr,
> unsigned long data)
> {
> return ptrace_request(child, request, addr, data);
> }
Okay, will change
On Tue, Sep 16, 2014 at 5:43 PM, Tobias Klauser tklau...@distanz.ch wrote:
This could be simplified to:
long arch_ptrace(struct task_struct *child, long request, unsigned long addr,
unsigned long data)
{
return ptrace_request(child, request, addr, data);
}
Okay,
This patch adds the support for IRQ handling.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/irq.h | 28
arch/nios2/include/asm/irqflags.h | 69 +
arch/nios2/kernel/irq.c | 93 +++
3 files
Signed-off-by: Ley Foon Tan
---
include/uapi/linux/elf-em.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h
index 01529bd..7f06c0d 100644
--- a/include/uapi/linux/elf-em.h
+++ b/include/uapi/linux/elf-em.h
@@ -33,6 +33,7 @@
#define
Follow m68k futex implementation for !CONFIG_SMP.
Signed-off-by: Ley Foon Tan
---
include/asm-generic/futex.h | 82 +
1 file changed, 82 insertions(+)
diff --git a/include/asm-generic/futex.h b/include/asm-generic/futex.h
index 01f227e..f5650a5
This patch adds support for thread creation and context switching.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/mmu_context.h | 66 +
arch/nios2/include/asm/processor.h | 103 ++
arch/nios2/include/asm/switch_to.h | 31 +
arch/nios2/include/asm
Add optimised library functions for nios2.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/checksum.h | 78 +++
arch/nios2/include/asm/string.h | 24 +
arch/nios2/lib/memcpy.c | 199 ++
arch/nios2/lib/memmove.c
This patch adds support for page table management.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/pgalloc.h | 86 ++
arch/nios2/include/asm/pgtable-bits.h | 35
arch/nios2/include/asm/pgtable.h | 305 ++
arch/nios2/mm/pgtable.c
This patch adds Makefile and Kconfig files required for building a
nios2 kernel.
Signed-off-by: Ley Foon Tan
---
arch/nios2/Kconfig | 201 +++
arch/nios2/Kconfig.debug | 17 +++
arch/nios2/Makefile | 73
This patch contains the exception entry code (kernel/entry.S) and misaligned
exception.
Signed-off-by: Ley Foon Tan
---
arch/nios2/kernel/entry.S | 548 +
arch/nios2/kernel/misaligned.c | 255 +++
2 files changed, 803 insertions
This patch adds support for the DMA mapping API.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/dma-mapping.h | 130
arch/nios2/mm/dma-mapping.c | 185 +++
2 files changed, 315 insertions(+)
create mode 100644 arch/nios2
This patch adds functionality required for cache maintenance.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/cache.h | 36 +
arch/nios2/include/asm/cacheflush.h | 52 +++
arch/nios2/mm/cacheflush.c | 270
3 files changed, 358
This patch adds the TLB maintenance functions.
Signed-off-by: Ley Foon Tan
---
arch/nios2/include/asm/tlb.h | 34 +
arch/nios2/include/asm/tlbflush.h | 46 +++
arch/nios2/mm/tlb.c | 274 ++
3 files changed, 354 insertions
701 - 800 of 1213 matches
Mail list logo