[PATCH] sysctl: convert arch specific unaligned access regulators to generic ones

2012-12-20 Thread Vineet.Gupta1
From: Vineet Gupta * parisc: /proc/sys/kernel/unaligned-trap => SYSCTL_ARCH_UNALIGN_ALLOW * ia64: /proc/sys/kernel/ignore-unaligned-usertrap => SYSCTL_ARCH_UNALIGN_NO_WARN This allows other architectures, specifically ARC to reuse these sysctl knobs.

[PATCH] sysctl: convert arch specific unaligned access regulators to generic ones

2012-12-20 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com * parisc: /proc/sys/kernel/unaligned-trap = SYSCTL_ARCH_UNALIGN_ALLOW * ia64: /proc/sys/kernel/ignore-unaligned-usertrap = SYSCTL_ARCH_UNALIGN_NO_WARN This allows other architectures, specifically ARC to reuse these

[PATCH 2/2] ARC: provide optimal __get_user_fn()

2012-11-20 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/include/asm/uaccess.h | 51 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm/uaccess.h index 503c98d..d9cbae4 100644 ---

[PATCH 1/2] asm-generic: uaccess: allow arch to over-ride __get_user_fn()

2012-11-20 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- include/asm-generic/uaccess.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/uaccess.h b/include/asm-generic/uaccess.h index 5f6ee61..432d55f 100644 --- a/include/asm-generic/uaccess.h +++

[PATCH 0/2] RFC only - allow arches to over-ride unit sized user copies

2012-11-20 Thread Vineet.Gupta1
From: Vineet Gupta Hi Arnd, The current asm-generic/uaccess unit copy interface __{get,put}_user( ) defaults to using __copy_{to,from}_user( ). For archs which don't support unaligned access, latter typically involves generated code for alignment checks. It is expected that arch will provide a

[PATCH 0/2] RFC only - allow arches to over-ride unit sized user copies

2012-11-20 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi Arnd, The current asm-generic/uaccess unit copy interface __{get,put}_user( ) defaults to using __copy_{to,from}_user( ). For archs which don't support unaligned access, latter typically involves generated code for alignment checks. It is expected that

[PATCH 2/2] ARC: provide optimal __get_user_fn()

2012-11-20 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/uaccess.h | 51 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/arch/arc/include/asm/uaccess.h

[PATCH 1/2] asm-generic: uaccess: allow arch to over-ride __get_user_fn()

2012-11-20 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- include/asm-generic/uaccess.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/uaccess.h b/include/asm-generic/uaccess.h index 5f6ee61..432d55f 100644 ---

[PATCH] Ensure that kernel_init_freebale() is not inlined into non __init code

2012-11-16 Thread Vineet.Gupta1
From: Vineet Gupta Commit d6b2123802d "make sure that we always have a return path from kernel_execve()" reshuffled kernel_init()/init_post() to ensure that kernel_execve() has a caller to return to. Just for documentation, here's what that commit did. Orig THREAD __init kernel_init()

[PATCH] Ensure that kernel_init_freebale() is not inlined into non __init code

2012-11-16 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Commit d6b2123802d make sure that we always have a return path from kernel_execve() reshuffled kernel_init()/init_post() to ensure that kernel_execve() has a caller to return to. Just for documentation, here's what that commit did. Orig THREAD __init

[RFC Patch v1 38/55] ARC: Low level event capture/logging

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Poorman's version of LTT Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |7 + arch/arc/Makefile|3 + arch/arc/include/asm/event-log-asm.h | 185 + arch/arc/include/asm/event-log.h | 102

[RFC Patch v1 51/55] modpost: Ignore ARC specific non-alloc section

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta ARC relocatable object files contain one/more .gnu.linkonce.arcextmap.* sections (collated into .arcextmap in final link). These sections are used by debuggers to display the extension instructions and need-not be loaded by target (hence !SHF_ALLOC) This patch adds the

[RFC Patch v1 46/55] ARC: kgdb support

2012-11-12 Thread Vineet.Gupta1
From: Mischa Jonker Signed-off-by: Mischa Jonker Signed-off-by: Vineet Gupta --- arch/arc/Kconfig|5 +- arch/arc/include/asm/kgdb.h | 61 + arch/arc/kernel/Makefile|2 + arch/arc/kernel/kgdb.c | 205 +++

[RFC Patch v1 42/55] ARC: stacktracing APIs based on dw2 unwinder

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/kernel/stacktrace.c | 215 +- 1 files changed, 213 insertions(+), 2 deletions(-) diff --git a/arch/arc/kernel/stacktrace.c b/arch/arc/kernel/stacktrace.c index b9d1646..a63ff84 100644 ---

[RFC Patch v1 55/55] ARC: Add self to MAINTAINERS

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1fa9074..e933489 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7073,6 +7073,12 @@ F: lib/swiotlb.c F:

[RFC Patch v1 54/55] ARC: [plat-arcfpga] defconfig

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/configs/fpga_defconfig | 137 +-- 1 files changed, 130 insertions(+), 7 deletions(-) diff --git a/arch/arc/configs/fpga_defconfig b/arch/arc/configs/fpga_defconfig index cfdca3c..d43e738 100644

[RFC Patch v1 53/55] ARC: Hostlink Pseudo-Driver for Metaware Debugger

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta This allows ARC Target to do I/O to host in absence of any peripherals whatsoever, assisted by Metaware Hostlink facility. Further we have a FUSE based filesystem which makes us mount/access host filesystem on target and do fops. Signed-off-by: Vineet Gupta ---

[RFC Patch v1 52/55] ARC: Support for single cycle Close Coupled Mem (CCM)

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta * Includes mapping of CCMs in address space * Annotations to move arbitrary code/data into CCM * Moving some of the critical code/data into CCM * Runtime detection/reporting Signed-off-by: Vineet Gupta --- arch/arc/Kconfig | 27

[RFC Patch v1 50/55] ARC: perf support (software counters only)

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |3 +++ arch/arc/include/asm/perf_event.h | 19 +++ 2 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 arch/arc/include/asm/perf_event.h diff --git a/arch/arc/Kconfig

[RFC Patch v1 49/55] perf, ARC: Enable building perf tools for ARC

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Although with uClibc there's more we need to do Signed-off-by: Vineet Gupta --- tools/perf/perf.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tools/perf/perf.h b/tools/perf/perf.h index c50985e..1006b17 100644 --- a/tools/perf/perf.h +++

[RFC Patch v1 48/55] ARC: [plat-arfpga] BVCI Latency Unit setup

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/plat-arcfpga/Kconfig| 32 + arch/arc/plat-arcfpga/platform.c | 56 ++ 2 files changed, 88 insertions(+), 0 deletions(-) diff --git a/arch/arc/plat-arcfpga/Kconfig

[RFC Patch v1 47/55] ARC: startup #2: Verbose Boot reporting / feature verification

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/Makefile |2 + arch/arc/include/asm/arcregs.h | 122 -- arch/arc/include/asm/defines.h | 56 ++ arch/arc/include/asm/setup.h | 14 +++ arch/arc/kernel/setup.c| 223

[RFC Patch v1 45/55] ARC: unaligned access emulation

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |9 ++ arch/arc/include/asm/Kbuild |1 - arch/arc/include/asm/ptrace.h|3 + arch/arc/include/asm/unaligned.h | 29 + arch/arc/kernel/Makefile |3 +-

[RFC Patch v1 44/55] ARC: kprobes support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Origin port done by Rajeshwar Ranga Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |2 + arch/arc/include/asm/kprobes.h | 62 + arch/arc/kernel/Makefile |1 + arch/arc/kernel/disasm.c |5 +- arch/arc/kernel/kprobes.c |

[RFC Patch v1 43/55] ARC: disassembly (needed by kprobes/kgdb/unaligned-access-emul)

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Orig written by Rajeshwar Ranga Consolidation/cleanups by Mischa Jonker Signed-off-by: Vineet Gupta --- arch/arc/include/asm/disasm.h | 116 + arch/arc/kernel/Makefile |2 +- arch/arc/kernel/disasm.c | 539 +

[RFC Patch v1 41/55] ARC: dwarf2 stack unwinder

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta -Originally controbuted by Rajeshwar Range -Derived off of generic unwinder in 2.6.19 and adapted to ARC Signed-off-by: Vineet Gupta --- arch/arc/Kconfig | 15 + arch/arc/include/asm/module.h |7 + arch/arc/include/asm/unwind.h | 163 +

[RFC Patch v1 40/55] ARC: SMP support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta I would like to acknowledge people who have contributed to SMP port -Rajeshwar Ranga for orig 2.6.19 SMP port -Noam Camus for help with resurrecting 3.2 SMP port Signed-off-by: Vineet Gupta --- arch/arc/Kconfig | 39 - arch/arc/Makefile

[RFC Patch v1 39/55] ARC: kernel diagnostics: show_regs() etc

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/kernel/troubleshoot.c | 304 arch/arc/mm/tlbex.S| 20 +++ 2 files changed, 324 insertions(+), 0 deletions(-) diff --git a/arch/arc/kernel/troubleshoot.c

[RFC Patch v1 37/55] ARC: dynamic loadable module support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/include/asm/module.h |4 ++ arch/arc/kernel/Makefile |1 + arch/arc/kernel/module.c | 117 + 3 files changed, 122 insertions(+), 0 deletions(-) create mode 100644

[RFC Patch v1 36/55] ARC: ARCompact 2 levels IRQ (high/low priority) Handling

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta There is a bit of hack/kludge right now where we disable preemption if a L2 (High prio) IRQ is taken while L1 (Low prio) is active. Need to revisit this Signed-off-by: Vineet Gupta --- arch/arc/Kconfig| 17 ++ arch/arc/include/asm/entry.h| 95

[RFC Patch v1 35/55] ARC: oprofile support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |1 + arch/arc/Makefile |2 ++ arch/arc/oprofile/Makefile |9 + arch/arc/oprofile/common.c | 22 ++ 4 files changed, 34 insertions(+), 0 deletions(-) create mode

[RFC Patch v1 34/55] ARC: futex

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/include/asm/futex.h | 151 ++ 1 files changed, 151 insertions(+), 0 deletions(-) create mode 100644 arch/arc/include/asm/futex.h diff --git a/arch/arc/include/asm/futex.h

[RFC Patch v1 33/55] ARC: ptrace support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |1 + arch/arc/include/asm/ptrace.h | 18 - arch/arc/kernel/Makefile |3 + arch/arc/kernel/entry.S | 69 + arch/arc/kernel/ptrace.c | 164

[RFC Patch v1 32/55] ARC: [optim] Cache "current" in Register r25

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |7 ++ arch/arc/Makefile|9 +++ arch/arc/include/asm/Kbuild |1 - arch/arc/include/asm/current.h | 32 +++ arch/arc/include/asm/entry.h |

[RFC Patch v1 00/55] Addons to Synopsys ARC Linux kernel Port

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta Hi, This is a follow-up on ARC Linux port, whose #1 was posted last week. This is part #2 of the port containing optional features. Kindly review and provide comments ! The v2 series incorporating the review comments will combine both #1 and #2. Thx, -Vineet Mischa Jonker

[RFC Patch v1 00/55] Addons to Synopsys ARC Linux kernel Port

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi, This is a follow-up on ARC Linux port, whose #1 was posted last week. This is part #2 of the port containing optional features. Kindly review and provide comments ! The v2 series incorporating the review comments will combine both #1 and #2. Thx,

[RFC Patch v1 32/55] ARC: [optim] Cache current in Register r25

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |7 ++ arch/arc/Makefile|9 +++ arch/arc/include/asm/Kbuild |1 - arch/arc/include/asm/current.h | 32

[RFC Patch v1 33/55] ARC: ptrace support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |1 + arch/arc/include/asm/ptrace.h | 18 - arch/arc/kernel/Makefile |3 + arch/arc/kernel/entry.S | 69 + arch/arc/kernel/ptrace.c

[RFC Patch v1 34/55] ARC: futex

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/futex.h | 151 ++ 1 files changed, 151 insertions(+), 0 deletions(-) create mode 100644 arch/arc/include/asm/futex.h diff --git

[RFC Patch v1 35/55] ARC: oprofile support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |1 + arch/arc/Makefile |2 ++ arch/arc/oprofile/Makefile |9 + arch/arc/oprofile/common.c | 22 ++ 4 files changed, 34

[RFC Patch v1 36/55] ARC: ARCompact 2 levels IRQ (high/low priority) Handling

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com There is a bit of hack/kludge right now where we disable preemption if a L2 (High prio) IRQ is taken while L1 (Low prio) is active. Need to revisit this Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig| 17 ++

[RFC Patch v1 37/55] ARC: dynamic loadable module support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/module.h |4 ++ arch/arc/kernel/Makefile |1 + arch/arc/kernel/module.c | 117 + 3 files changed, 122 insertions(+), 0

[RFC Patch v1 39/55] ARC: kernel diagnostics: show_regs() etc

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/troubleshoot.c | 304 arch/arc/mm/tlbex.S| 20 +++ 2 files changed, 324 insertions(+), 0 deletions(-) diff --git

[RFC Patch v1 40/55] ARC: SMP support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com I would like to acknowledge people who have contributed to SMP port -Rajeshwar Ranga rajeshwar.ra...@gmail.com for orig 2.6.19 SMP port -Noam Camus na...@ezchip.com for help with resurrecting 3.2 SMP port Signed-off-by: Vineet Gupta vgu...@synopsys.com ---

[RFC Patch v1 41/55] ARC: dwarf2 stack unwinder

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com -Originally controbuted by Rajeshwar Range rajeshwar.ranga -Derived off of generic unwinder in 2.6.19 and adapted to ARC Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig | 15 + arch/arc/include/asm/module.h |7 +

[RFC Patch v1 43/55] ARC: disassembly (needed by kprobes/kgdb/unaligned-access-emul)

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Orig written by Rajeshwar Ranga rajeshwar.ra...@gmail.com Consolidation/cleanups by Mischa Jonker mjon...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/disasm.h | 116 + arch/arc/kernel/Makefile |2

[RFC Patch v1 44/55] ARC: kprobes support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Origin port done by Rajeshwar Ranga rajeshwar.ra...@gmail.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |2 + arch/arc/include/asm/kprobes.h | 62 + arch/arc/kernel/Makefile |1 +

[RFC Patch v1 45/55] ARC: unaligned access emulation

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |9 ++ arch/arc/include/asm/Kbuild |1 - arch/arc/include/asm/ptrace.h|3 + arch/arc/include/asm/unaligned.h | 29 + arch/arc/kernel/Makefile

[RFC Patch v1 47/55] ARC: startup #2: Verbose Boot reporting / feature verification

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Makefile |2 + arch/arc/include/asm/arcregs.h | 122 -- arch/arc/include/asm/defines.h | 56 ++ arch/arc/include/asm/setup.h | 14 +++

[RFC Patch v1 48/55] ARC: [plat-arfpga] BVCI Latency Unit setup

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/plat-arcfpga/Kconfig| 32 + arch/arc/plat-arcfpga/platform.c | 56 ++ 2 files changed, 88 insertions(+), 0 deletions(-) diff --git

[RFC Patch v1 49/55] perf, ARC: Enable building perf tools for ARC

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Although with uClibc there's more we need to do Signed-off-by: Vineet Gupta vgu...@synopsys.com --- tools/perf/perf.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tools/perf/perf.h b/tools/perf/perf.h index c50985e..1006b17

[RFC Patch v1 50/55] ARC: perf support (software counters only)

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |3 +++ arch/arc/include/asm/perf_event.h | 19 +++ 2 files changed, 22 insertions(+), 0 deletions(-) create mode 100644

[RFC Patch v1 52/55] ARC: Support for single cycle Close Coupled Mem (CCM)

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com * Includes mapping of CCMs in address space * Annotations to move arbitrary code/data into CCM * Moving some of the critical code/data into CCM * Runtime detection/reporting Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig

[RFC Patch v1 53/55] ARC: Hostlink Pseudo-Driver for Metaware Debugger

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com This allows ARC Target to do I/O to host in absence of any peripherals whatsoever, assisted by Metaware Hostlink facility. Further we have a FUSE based filesystem which makes us mount/access host filesystem on target and do fops. Signed-off-by: Vineet

[RFC Patch v1 54/55] ARC: [plat-arcfpga] defconfig

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/configs/fpga_defconfig | 137 +-- 1 files changed, 130 insertions(+), 7 deletions(-) diff --git a/arch/arc/configs/fpga_defconfig

[RFC Patch v1 55/55] ARC: Add self to MAINTAINERS

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1fa9074..e933489 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7073,6 +7073,12 @@

[RFC Patch v1 42/55] ARC: stacktracing APIs based on dw2 unwinder

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/stacktrace.c | 215 +- 1 files changed, 213 insertions(+), 2 deletions(-) diff --git a/arch/arc/kernel/stacktrace.c b/arch/arc/kernel/stacktrace.c

[RFC Patch v1 46/55] ARC: kgdb support

2012-11-12 Thread Vineet.Gupta1
From: Mischa Jonker mjon...@synopsys.com Signed-off-by: Mischa Jonker mjon...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig|5 +- arch/arc/include/asm/kgdb.h | 61 + arch/arc/kernel/Makefile|2 + arch/arc/kernel/kgdb.c

[RFC Patch v1 51/55] modpost: Ignore ARC specific non-alloc section

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com ARC relocatable object files contain one/more .gnu.linkonce.arcextmap.* sections (collated into .arcextmap in final link). These sections are used by debuggers to display the extension instructions and need-not be loaded by target (hence !SHF_ALLOC) This

[RFC Patch v1 38/55] ARC: Low level event capture/logging

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Poorman's version of LTT Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |7 + arch/arc/Makefile|3 + arch/arc/include/asm/event-log-asm.h | 185 +

[PATCH v7] serial/arc-uart: Add new driver

2012-10-27 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta --- drivers/tty/serial/Kconfig | 23 ++ drivers/tty/serial/Makefile |1 + drivers/tty/serial/arc_uart.c| 746

[PATCH v7] serial/arc-uart: Add new driver

2012-10-27 Thread Vineet.Gupta1
From: Vineet Gupta Hi, Here's the updated revision with all of Felipe' review comments. -Rebased off tty-next tip. -Build tested for x86, both as builtin and as module -Same driver (as module) verified on ARCAngel4 Board. Please consider applying. Thanks, Vineet v7: * Reinstated

[PATCH v7] serial/arc-uart: Add new driver

2012-10-27 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi, Here's the updated revision with all of Felipe' review comments. -Rebased off tty-next tip. -Build tested for x86, both as builtin and as module -Same driver (as module) verified on ARCAngel4 Board. Please consider applying. Thanks, Vineet v7: *

[PATCH v7] serial/arc-uart: Add new driver

2012-10-27 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig | 23 ++ drivers/tty/serial/Makefile |1 +

[PATCH v6] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta --- drivers/tty/serial/Kconfig | 23 ++ drivers/tty/serial/Makefile |1 + drivers/tty/serial/arc_uart.c| 734

[PATCH v6] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta Hi, Here's the updated revision with fixes per Greg and Felipe' review comments. -Rebased off tty-next tip. -Build tested for x86, both as builtin and as module -Same driver (as module) verified on ARCAngel4 Board. Please consider applying. Thanks, Vineet v6: * syntactical

[PATCH v5] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta Hi Greg, Here's the updated revision with fixes per your review comments. -Rebased off tty-next tip. -Build tested for x86, both as builtin and as module -Same driver (as module) verified on ARCAngel4 Board. Please consider applying. Thanks, Vineet v5: * Driver now builds

[PATCH v5] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta --- drivers/tty/serial/Kconfig | 23 ++ drivers/tty/serial/Makefile |1 + drivers/tty/serial/arc_uart.c| 754

[PATCH v5] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig | 23 ++ drivers/tty/serial/Makefile |1 +

[PATCH v5] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi Greg, Here's the updated revision with fixes per your review comments. -Rebased off tty-next tip. -Build tested for x86, both as builtin and as module -Same driver (as module) verified on ARCAngel4 Board. Please consider applying. Thanks, Vineet v5: *

[PATCH v6] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi, Here's the updated revision with fixes per Greg and Felipe' review comments. -Rebased off tty-next tip. -Build tested for x86, both as builtin and as module -Same driver (as module) verified on ARCAngel4 Board. Please consider applying. Thanks, Vineet

[PATCH v6] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig | 23 ++ drivers/tty/serial/Makefile |1 +

[PATCH v4] serial/arc-uart: Add New Driver

2012-10-25 Thread Vineet.Gupta1
From: Vineet Gupta Hi Greg, Rebased off of tty-next and verfied that it builds fine. Please consider applying. Thanks, Vineet v4: * UAPI disintegration fallout for serial_core.h * rebased off of tty-next v3: * Removed empty arc_serial_set_ldisc() * More set_termios fixes - CSIZE forced to

[PATCH] serial/arc-uart: Add new driver

2012-10-25 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta --- drivers/tty/serial/Kconfig | 25 ++ drivers/tty/serial/Makefile |1 + drivers/tty/serial/arc_uart.c| 747

[PATCH] serial/arc-uart: Add new driver

2012-10-25 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig | 25 ++ drivers/tty/serial/Makefile |1 +

[PATCH v4] serial/arc-uart: Add New Driver

2012-10-25 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi Greg, Rebased off of tty-next and verfied that it builds fine. Please consider applying. Thanks, Vineet v4: * UAPI disintegration fallout for serial_core.h * rebased off of tty-next v3: * Removed empty arc_serial_set_ldisc() * More set_termios fixes -

[RESEND PATCH v3] serial/arc-uart: Add new driver

2012-10-11 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta --- drivers/tty/serial/Kconfig| 25 ++ drivers/tty/serial/Makefile |1 + drivers/tty/serial/arc_uart.c | 747

[RESEND PATCH v3] serial/arc-uart: Add new driver

2012-10-11 Thread Vineet.Gupta1
From: Vineet Gupta Hi, Please find following ARC UART driver with all the review comments incorporated. It's rebased off of current tip (commit 12250d843e) Please consider merging. Thx, -Vineet v3: * Removed empty arc_serial_set_ldisc() * More set_termios fixes - CSIZE forced to CS8 (for

[RESEND PATCH v3] serial/arc-uart: Add new driver

2012-10-11 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi, Please find following ARC UART driver with all the review comments incorporated. It's rebased off of current tip (commit 12250d843e) Please consider merging. Thx, -Vineet v3: * Removed empty arc_serial_set_ldisc() * More set_termios fixes - CSIZE

[RESEND PATCH v3] serial/arc-uart: Add new driver

2012-10-11 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig| 25 ++ drivers/tty/serial/Makefile |1 +

[PATCH v3] serial/arc-uart: Add new driver

2012-10-04 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x v3: * Removed empty arc_serial_set_ldisc() * More set_termios fixes - CSIZE forced to CS8 (for 8N1) * global @running_on_iss replaced with platform data, saved in

[PATCH v3] serial/arc-uart: Add new driver

2012-10-04 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x v3: * Removed empty arc_serial_set_ldisc() * More set_termios fixes - CSIZE forced to CS8 (for 8N1) * global @running_on_iss replaced with platform

[PATCH v2] serial/arc-uart: Add new driver

2012-10-01 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x v2: * ttyARC used as device name * Dynamic assignment of major/minor numbers. * Ref counting tty in rx routine to prevent it from disappearing in case of a hangup *

[PATCH v2] serial/arc-uart: Add new driver

2012-10-01 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x v2: * ttyARC used as device name * Dynamic assignment of major/minor numbers. * Ref counting tty in rx routine to prevent it from disappearing in

[PATCH] serial/arc-uart: Add new driver

2012-09-28 Thread Vineet.Gupta1
From: Vineet Gupta Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x This is based off of current Linus tree, build tested for x86. Signed-off-by: Vineet Gupta --- drivers/tty/serial/Kconfig| 25 ++ drivers/tty/serial/Makefile

[PATCH] serial/arc-uart: Add new driver

2012-09-28 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x This is based off of current Linus tree, build tested for x86. Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig|