if people think that is
cleaner
Please review and consider applying.
W/o these perf doesn't build and/or work for ARC.
[1] http://www.spinics.net/linux/lists/kernel/msg1897268.html
Thx,
-Vineet
Alexey Brodkin (1):
perf tools: [uclibc] fix statfs.f_type data type mismatch build error
Vineet
dst, const char *__restrict src,
-8--
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
tools/perf/util/cache.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h
index 5cf9e1b5989d..d04d770d90f6 100644
Hi Namhyung,
On Thursday 08 January 2015 01:28 PM, Namhyung Kim wrote:
On Tue, Jan 06, 2015 at 07:22:15PM +0530, Vineet Gupta wrote:
uClibc Linuxthreads.old doesnt support pthread_attr_setaffinity_np()
call
-8---
CC bench/futex-hash.o
---
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
tools/perf/bench/futex.h | 13 +
tools/perf/config/Makefile | 6 ++
tools/perf/config/feature-checks/Makefile | 4
tools/perf/config
Hi Jiri,
On Monday 12 January 2015 04:35 PM, Jiri Olsa wrote:
On Sat, Jan 10, 2015 at 04:40:54PM +0530, Vineet Gupta wrote:
SNIP
[SNIP]
test-timerfd.bin\
test-libdw-dwarf-unwind.bin \
@@ -47,6 +48,9 @@ test-all.bin:
test-hello.bin:
$(BUILD)
+test
Hi Jiri,
On Monday 12 January 2015 04:39 PM, Jiri Olsa wrote:
On Sat, Jan 10, 2015 at 04:40:52PM +0530, Vineet Gupta wrote:
This is due to duplicated unistd inclusion (via uClibc headers + kernel
headers)
Also seen on ARM uClibc based tools
--- ARC build --8-
CC
On Tuesday 06 January 2015 08:08 PM, Rob Herring wrote:
On Tue, Jan 6, 2015 at 7:59 AM, Vineet Gupta vineet.gup...@synopsys.com
wrote:
8250 earlycon is broken on multi-platform ARC because the UART clk
value (BASE_BAUD) is fixed at build time.
Note that it should only be broken if you rely
On Tuesday 06 January 2015 08:43 PM, Arnaldo Carvalho de Melo wrote:
Em Tue, Jan 06, 2015 at 07:22:10PM +0530, Vineet Gupta escreveu:
Hi,
This series based off linux-next of 20150105 allows us to build/use perf
for ARC with uClibc based userland.
Do you have some ready made ARC VM image
Hi Greg,
On Tuesday 23 December 2014 01:38 PM, Vineet Gupta wrote:
Hi,
Can you please backport the following mainline commits to 3.14 stable.
2014-02-07 ec7ac6afd07b ARC: switch to generic ENTRY/END assembler
annotations
2014-04-18 64ee9f32c33c ARC: Delete stale barrier.h
Thx
On Tuesday 06 January 2015 08:43 PM, Arnaldo Carvalho de Melo wrote:
Em Tue, Jan 06, 2015 at 07:22:10PM +0530, Vineet Gupta escreveu:
Hi,
This series based off linux-next of 20150105 allows us to build/use perf
for ARC with uClibc based userland.
Do you have some ready made ARC VM image
Hi Geert,
On Tuesday 06 January 2015 03:06 PM, Geert Uytterhoeven wrote:
Below is the list of build error/warning regressions/improvements in
v3.19-rc3[1] compared to v3.18[2].
Summarized:
- build errors: +86/-19
- build warnings: +242/-127
JFYI, when comparing v3.19-rc3[1] to
On Tuesday 13 January 2015 07:18 AM, Arnaldo Carvalho de Melo wrote:
Em Mon, Jan 12, 2015 at 12:05:22PM +0100, Jiri Olsa escreveu:
On Sat, Jan 10, 2015 at 04:40:50PM +0530, Vineet Gupta wrote:
From: Alexey Brodkin abrod...@synopsys.commailto:abrod...@synopsys.com
ARC Linux uses
,
sample_freq = 4000
},
...
ids = {
offset = 104,
size = 0 --
}
}
Suggested-by: Namhyung Kim namhy...@kernel.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
tools/perf/util/evsel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/perf/util/evsel.c b/tools/perf
: this is the location of the previous definition
-8---
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
tools/perf/bench/sched-pipe.c | 2 +-
tools/perf/builtin-top.c | 1 -
tools/perf/perf-sys.h | 1 -
3 files changed, 1 insertion(+), 3
*__restrict dst, const char *__restrict src,
-8--
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
tools/perf/util/cache.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h
index 5cf9e1b5989d..d04d770d90f6 100644
---
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
tools/perf/bench/futex.h | 13 +
tools/perf/config/Makefile | 6 ++
tools/perf/config/feature-checks/Makefile | 4
tools/perf
/529
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
tools/lib/api/fs/debugfs.c | 2 +-
tools/lib/api/fs/fs.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/lib/api/fs/debugfs.c b/tools/lib/api/fs/debugfs.c
index a74fba6d7743..93aa4cd2416f 100644
--- a/tools
build error
Vineet Gupta (4):
perf tools: [uclibc] Elide strlcpy warning
perf tools: [uclibc] Avoid build splat for syscall numbers
perf tools: [uclibc] don't rely on glibc malloc working for sz 0
perf tools: [uclibc] provide stub for pthread_attr_setaffinity_np
tools/lib/api/fs/debugfs.c
Hi,
Is KSTK_ESP supposed to return the kernel mode SP of a sleeping task or is it
supposed to provide the user mode SP at the time of last kernel entry ?
The 2 non arch users of the API expect the user mode SP semantics:
* vm_is_stack_for_task() - to annotate /proc/pid/maps stack vma - which is
):
arc: Remove unused prepare_to_copy()
Vineet Gupta (4):
ARC: fix /proc/cpuinfo for offline cpus
ARC: add some more comments to ret_from_fork
ARC: use ACCESS_ONCE in cmpxchg loop
ARC: Dynamically determine BASE_BAUD from DeviceTree
arch/arc/include/asm/pgtable.h | 3
On Wednesday 25 March 2015 06:05 PM, Alex Dowad wrote:
On 25/03/15 13:47, Vineet Gupta wrote:
On Friday 13 March 2015 11:35 PM, Alex Dowad wrote:
Applied to for-next after pruning the comment above.
Thank you. Is it too late for me to tweak the commit comment?
I already fixed it up
On Sunday 29 March 2015 04:48 AM, Richard Weinberger wrote:
Vineet,
I'm working on a patch series which touches sturct thread_info.
ARC's thread_info has the following comment:
* - if the contents of this structure are changed, the assembly constants
* must also be changed
Is this
)
ARC signal handling related fixes uncovered during recent testing of NPTL tools
Vineet Gupta (2):
ARC: SA_SIGINFO ucontext regs off-by-one
ARC: signal handling robustify
task PC
* perf not reporting page faults
Vineet Gupta (4):
ARC: Make arc_unwind_core accessible externally
ARC: perf: Enable generic software events
ARC: Fix KSTK_ESP()
ARC: Fix thread_saved_pc()
arch/arc
probe deferral and so all dependences between devices and their
interrupt controllers are resolved automatically on boot.
Signed-off-by: Alexey Brodkin abrod...@synopsys.com
Cc: Vineet Gupta vgu...@synopsys.com
Cc: Thomas Gleixner t...@linutronix.de
Cc: Jason Cooper ja...@lakedaemon.net
Cc
On Wednesday 04 March 2015 05:30 PM, Sebastian Hesselbarth wrote:
On 03/04/2015 11:46 AM, Vineet Gupta wrote:
On Wednesday 04 March 2015 02:30 PM, Sebastian Hesselbarth wrote:
On 04.03.2015 04:11, Jisheng Zhang wrote:
On Tue, 3 Mar 2015 06:56:59 -0800
Alexey Brodkin alexey.brod
On Friday 13 March 2015 11:35 PM, Alex Dowad wrote:
The 'arg' argument to copy_thread() is only ever used when forking a new
kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency
with do_fork() and other arch-specific implementations of copy_thread()).
Signed-off-by:
Alex Dowad (1):
arc: copy_thread(): rename 'arg' argument to 'kthread_arg'
Mischa Jonker (1):
ARC: [nsimosci] Update defconfig
Vineet Gupta (13):
ARC: Fix WRITE_BCR
ARC: cosmetic: Remove unused ECR bitfield masks
On Wednesday 29 April 2015 12:15 PM, Sascha Hauer wrote:
Hi Eddie,
On Tue, Apr 28, 2015 at 09:40:34PM +0800, Eddie Huang wrote:
Add earlycon support to mediatek MT8173 evaluation board dts.
This is not about earlycon support. It adds the stdout-path property
which is generally about console.
On Friday 01 May 2015 12:35 PM, Sukadev Bhattiprolu wrote:
Implement ability to specify Power PMU events by their symbolic event
names rather than raw codes. This approach pulls tables of the Power7
and Power8 PMU events into the perf source tree and uses these tables
to create aliases for the
On Friday 01 May 2015 12:35 PM, Sukadev Bhattiprolu wrote:
Using the tables of Power7 and Power8 events, create aliases for the
Power PMU events. This would allow us to specify all Power events by
name rather than by raw code:
$ /tmp/perf stat -e PM_1PLUS_PPC_CMPL sleep 1
is enabled.
Signed-off-by: Akinobu Mita akinobu.m...@gmail.com
Cc: Vineet Gupta vgu...@synopsys.com
Cc: linux-a...@vger.kernel.org
Looks fine to me. However it must be noted (perhaps add to change log) that this
will lead to different generated code as sg_next() is a function call etc. So
On Tuesday 21 April 2015 11:17 PM, Josh Triplett wrote:
clone with CLONE_SETTLS accepts an argument to set the thread-local
storage area for the new thread. sys_clone declares an int argument
tls_val in the appropriate point in the argument list (based on the
various CLONE_BACKWARDS
+CC Arnd, Al, linux-arch
On Monday 11 May 2015 08:17 PM, Josh Triplett wrote:
On Mon, May 11, 2015 at 02:31:39PM +, Vineet Gupta wrote:
On Tuesday 21 April 2015 11:17 PM, Josh Triplett wrote:
clone with CLONE_SETTLS accepts an argument to set the thread-local
storage area for the new
friends...
Thx,
-Vineet
From 6dee6ad027ec4a26eaf29de6d03f04c9bcf9a79e Mon Sep 17 00:00:00 2001
From: Vineet Gupta vgu...@synopsys.com
Date: Thu, 26 Mar 2015 11:14:41 +0530
Subject: [PATCH] ARC: signal handling robustify
A malicious signal handler / restorer can DOS the system
On Thursday 14 May 2015 06:23 PM, Arnd Bergmann wrote:
On Thursday 14 May 2015 15:48:42 Alexey Brodkin wrote:
chosen {
- bootargs = console=tty0 console=ttyS3,115200n8
consoleblank=0;
+ bootargs = earlycon=uart8250,mmio32,0xe0022000,115200n8
Vineet Gupta (3):
ARC: unbork !LLSC build
ARC: With earlycon in use, retire EARLY_PRINTK
ARC: inline cache flush toggle helpers
arch/arc/Kconfig.debug| 13 -
arch/arc/include/asm/atomic.h | 2 +-
arch/arc/mm/cache_arc700.c| 4 ++--
3 files changed, 3
/arc_uart.c | 2 +-
Acked-by: Vineet Gupta vgu...@synopsys.commailto:vgu...@synopsys.com # for
arc_uart
Th,
-Vineet
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
On Tuesday 07 April 2015 07:25 PM, Alexey Brodkin wrote:
Hi Linus,
On Tue, 2015-03-31 at 11:30 +0300, Alexey Brodkin wrote:
From: Vineet Gupta vgu...@synopsys.commailto:vgu...@synopsys.com
Synopsys SDP platform uses DW GPIO controller in design with
ARC cores. So adding ARC
This also matches with the sibling call netdev_alloc_skb_ip_align() made in
rx fast path.
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/stmicro
On Monday 25 May 2015 09:24 AM, Noam Camus wrote:
From: Noam Camus no...@ezchip.com
Support command line parameters of the form:
earlycon=name,io|mmio|mmio32|mmio32be,addr,options
This commit seem to be needed even after commit:
serial: 8250: Add support for big-endian MMIO accesses
+CC linux-serial
On Thursday 14 May 2015 06:34 PM, Vineet Gupta wrote:
On Thursday 14 May 2015 06:23 PM, Arnd Bergmann wrote:
On Thursday 14 May 2015 15:48:42 Alexey Brodkin wrote:
chosen {
- bootargs = console=tty0 console=ttyS3,115200n8
consoleblank=0
On Friday 05 June 2015 10:32 AM, Vineet Gupta wrote:
On Thursday 14 May 2015 06:34 PM, Vineet Gupta wrote:
On Thursday 14 May 2015 06:23 PM, Arnd Bergmann wrote:
On Thursday 14 May 2015 15:48:42 Alexey Brodkin wrote:
chosen {
- bootargs = console=tty0
Brodkin (2):
ARC: [axs101] Add support for AXS101 SDP (software development
platform)
ARC: [axs101] STAR 9000799830: Fix SD cards support
Vineet Gupta (2):
ARC: [axs101] support early 8250 uart
ARC: [axs101] Tweak DDR port aperture mappings for performance
Added to ARC for-next
Cc: Jason Cooper ja...@lakedaemon.net
Cc: Thomas Gleixner t...@linutronix.de
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
.../devicetree/bindings/arc/archs-intc.txt | 22
arch/arc/include/asm/irqflags-arcv2.h | 116 +++
arch/arc/kernel/intc-arcv2
)
- Instructions for
* 64bit load/store: LDD, STD
* Hardware assisted divide/remainder: DIV, REM
* Function prologue/epilogue: ENTER_S, LEAVE_S
* IRQ enable/disable: CLRI, SETI
* pop count: FFS, FLS
* SETcc, BMSKN, XBFU...
Signed-off-by: Vineet Gupta vgu
Cc: Daniel Lezcano daniel.lezc...@linaro.org
Cc: Thomas Gleixner t...@linutronix.de
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/Kconfig| 5 +
arch/arc/kernel/setup.c | 9 +++--
arch/arc/kernel/time.c | 50 +
3
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/Kconfig | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 1b684595e258..e7cee0a5c56d 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -97,11 +97,10 @@ config
L2 cache on ARCHS processors is called SLC (System Level Cache)
For working DMA (in absence of hardware assisted IO Coherency) we need
to manage SLC explicitly when buffers transition between cpu and
controllers.
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/cache.h
No semantical changes !
Cc: Peter Zijlstra (Intel) pet...@infradead.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/bitops.h | 463 +-
1 file changed, 137 insertions(+), 326 deletions(-)
diff --git a/arch/arc/include/asm
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
scripts/sortextable.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index 1052d4834a44..c2423d913b46 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -47,6 +47,10
...@vger.kernel.org
Signed-off-by: Ruud Derwig rder...@synopsys.com
[vgupta: folded the Main baord DT files for smp/up into one]
Signed-off-by: Vineet Gupta vgu...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/boot/dts/vdk_axc003.dtsi | 61 +++
arch/arc/boot/dts
Cc: Jason Cooper ja...@lakedaemon.net
Cc: Thomas Gleixner t...@linutronix.de
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
.../devicetree/bindings/arc/archs-idu-intc.txt | 46 ++
arch/arc/kernel/mcip.c | 183 -
2 files changed, 228
Cc: Grant Likely grant.lik...@linaro.org
Cc: Rob Herring robh...@kernel.org
Cc: devicet...@vger.kernel.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
Documentation/devicetree/bindings/arc/axs103.txt | 8 +
arch/arc/boot/dts/axc003.dtsi| 102
arch/arc
From: Claudiu Zissulescu claz...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/lib/Makefile | 6 +-
arch/arc/lib/memcpy-archs.S | 236
arch/arc/lib/memset-archs.S | 93 +
arch/arc/lib/strcmp-archs.S
Cc: Peter Zijlstra (Intel) pet...@infradead.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/atomic.h | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/arch/arc/include/asm/atomic.h b/arch/arc/include/asm/atomic.h
index 6fc968f78500
Cc: Grant Likely grant.lik...@linaro.org
Cc: Rob Herring robh...@kernel.org
Cc: devicet...@vger.kernel.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/boot/dts/nsim_hs.dts | 53 +++
arch/arc/boot/dts/nsim_hs_idu.dts | 72
That way arches can define the minimal versions and still #include
asm-generic for defaults (vs. defining defaults in arch code)
See new barrier.h in arc for usage !
Cc: Peter Zijlstra (Intel) pet...@infradead.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
include/asm-generic/barrier.h
- Handle possible interrupt coalescing from MCIP
- chk if prev IPI ack before sending new
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/Kconfig | 15 ---
arch/arc/kernel/mcip.c | 48
arch/arc/kernel/smp.c | 20
This is also default for AXS103 release
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/cache.h | 4 +---
arch/arc/mm/cache.c | 14 +-
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/arch/arc/include/asm/cache.h b/arch/arc/include
Cc: Peter Zijlstra (Intel) pet...@infradead.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/Kbuild| 1 -
arch/arc/include/asm/barrier.h | 48 ++
2 files changed, 48 insertions(+), 1 deletion(-)
create mode 100644 arch/arc
From: Alexey Brodkin abrod...@synopsys.com
To avoid duplicating the MB DTS file, move the MB intc entry into cpu
card specific file
Cc: Grant Likely grant.lik...@linaro.org
Cc: Rob Herring robh...@kernel.org
Cc: devicet...@vger.kernel.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/kernel/asm-offsets.c | 1 +
arch/arc/kernel/entry-arcv2.S | 50 +++
arch/arc/kernel/setup.c | 2 ++
3 files changed, 53 insertions(+)
diff --git a/arch/arc/kernel/asm-offsets.c b/arch/arc
drops the IRQ_ACT.act bit to re-enable IRQs.
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/irqflags-arcv2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arc/include/asm/irqflags-arcv2.h
b/arch/arc/include/asm/irqflags-arcv2.h
index 1eb41b00aac5
(DC_IVDL, DC_FLDL, IC_IVIL) but paddr in DC_PTAG,
IC_PTAG respectively.
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/Kconfig | 2 +-
arch/arc/include/asm/arcregs.h | 5 +-
arch/arc/include/asm/cache.h | 3 ++
arch/arc/mm/cache.c| 112
Cc: Paul E. McKenney paul...@linux.vnet.ibm.com
Cc: Peter Zijlstra (Intel) pet...@infradead.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/atomic.h | 10 ++
arch/arc/include/asm/bitops.h | 12
arch/arc/include/asm/cmpxchg.h | 10
Cc: Daniel Lezcano daniel.lezc...@linaro.org
Cc: Thomas Gleixner t...@linutronix.de
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/Kconfig| 5 +
arch/arc/include/asm/mcip.h | 3 +++
arch/arc/kernel/mcip.c | 3 +++
arch/arc/kernel/time.c | 45
This allows platforms to provide their own cpu wakeup routines
as well as IPI send / clear backends, while allowing a SMP kernel w/o
any such backend to build/boot
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/Kconfig | 21 +---
arch/arc/include/asm/irq.h | 1
] Prepare for AXS103
Claudiu Zissulescu (1):
ARCv2: optimised string/mem lib routines
Ruud Derwig (1):
ARCv2: [vdk] dts files and defconfig for HS38 VDK
Vineet Gupta (25):
ARCv2: [intc] HS38 core interrupt controller
ARCv2: Support for ARCv2 ISA and HS38x cores
ARCv2: STAR 9000793984
...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/entry.h | 17 ++---
arch/arc/kernel/asm-offsets.c | 2 ++
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/arch/arc/include/asm/entry.h b/arch/arc/include/asm/entry.h
index 29d0ab6e10f5
LD
Although this was fixed by adding a ACCESS_ONCE in this call site, it
seems safer (for now at least) to add compiler barrier to LLSC based
cmpxchg
Reported-by: Chuck Jordan cjordan@synopsys,com
Cc: Peter Zijlstra (Intel) pet...@infradead.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/Kconfig | 5
arch/arc/include/asm/arcregs.h | 2 +-
arch/arc/include/asm/mmu.h | 24 ++-
arch/arc/include/asm/pgtable.h | 10
arch/arc/mm/tlb.c | 54
Branch insn can't be scheduled as last insn of Zero Overhead loop
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/delay.h | 9 -
arch/arc/include/asm/uaccess.h | 17 -
arch/arc/lib/memcmp.S | 30 +-
3 files
On Friday 24 April 2015 01:57 PM, Tobias Klauser wrote:
Directly return the result of perf_pmu_register() in
arc_pmu_device_probe() instead of assigning and returning variable ret.
Signed-off-by: Tobias Klauser tklau...@distanz.ch
Applied to ARC for-next
Thx Tobias,
-Vineet
--
To unsubscribe
On Tuesday 09 June 2015 06:05 PM, Peter Zijlstra wrote:
On Tue, Jun 09, 2015 at 05:18:22PM +0530, Vineet Gupta wrote:
This really really wants a Changelog describing the actual hardware fail
and why this workaround is sufficient.
OK - I need some more time to rehash the exact details with our
On Tuesday 09 June 2015 06:00 PM, Peter Zijlstra wrote:
On Tue, Jun 09, 2015 at 05:18:18PM +0530, Vineet Gupta wrote:
Please try and provide at least _some_ Changelog body.
snip all atomic ops that return values
Will do as comments in source as well as commit log in v2.
diff --git a/arch
On Tuesday 09 June 2015 06:10 PM, Peter Zijlstra wrote:
On Tue, Jun 09, 2015 at 05:18:20PM +0530, Vineet Gupta wrote:
A description of how your hardware works; or a reference to the platform
documentation would not go amiss.
Honestly the docs group is working on a publicly sharable version
The number of counters in PCT can never be more than 32 (while countable
conditions could be 100+) for both ARCompact and ARCv2
Cc: Peter Zijlstra pet...@infradead.org
Cc: Arnaldo Carvalho de Melo a...@kernel.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm
From: Alexey Brodkin abrod...@synopsys.com
Cc: Peter Zijlstra pet...@infradead.org
Cc: Arnaldo Carvalho de Melo a...@kernel.org
Signed-off-by: Alexey Brodkin abrod...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/perf_event.h | 8 ++-
arch/arc/kernel
arc_pmu
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/kernel/perf_event.c | 67 +++-
1 file changed, 60 insertions(+), 7 deletions(-)
diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c
index 18b074f63cb6..065daed8ad5f
event to count.
XXX is 64-bit ASCII value.
0x6372756e = crun (in ASCII)
Cc: Peter Zijlstra pet...@infradead.org
Cc: Arnaldo Carvalho de Melo a...@kernel.org
Signed-off-by: Alexey Brodkin abrod...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/perf_event.h | 3
From: Alexey Brodkin abrod...@synopsys.com
* split off pmu info into singleton and per-cpu bits
* setup PMU on all cores
Cc: Peter Zijlstra pet...@infradead.org
Cc: Arnaldo Carvalho de Melo a...@kernel.org
Signed-off-by: Alexey Brodkin abrod...@synopsys.com
Signed-off-by: Vineet Gupta vgu
With all features in place, the ARC HS pct block can now be effectively
allowed to be probed/used
Cc: Peter Zijlstra pet...@infradead.org
Cc: Arnaldo Carvalho de Melo a...@kernel.org
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
Documentation/devicetree/bindings/arc/archs-pct.txt | 17
of the counter values free.
Cc: Peter Zijlstra pet...@infradead.org
Cc: Arnaldo Carvalho de Melo a...@kernel.org
Signed-off-by: Alexey Brodkin abrod...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/kernel/perf_event.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
for future use with
interrupts
ARCv2: perf: Support sampling events using overflow interrupts
ARCv2: perf: set usable max period as a half of real max period
ARCv2: perf: implement exclusion of event counting in user or kernel
mode
ARCv2: perf: SMP support
Vineet Gupta (2):
ARC
From: Alexey Brodkin abrod...@synopsys.com
Cc: Peter Zijlstra pet...@infradead.org
Cc: Arnaldo Carvalho de Melo a...@kernel.org
Signed-off-by: Alexey Brodkin abrod...@synopsys.com
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/perf_event.h | 3 +++
arch/arc/kernel
These have been register compatible so far. However ARCv2 mandates
different pt_regs layout (due to h/w auto save). To keep pt_regs same
for both, we start by removing the assumption - used mainly for block
copies between the 2 structs in signal handling and ptrace
Signed-off-by: Vineet Gupta vgu
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/entry-compact.h| 1 +
arch/arc/include/asm/irqflags-compact.h | 181 +
arch/arc/include/asm/irqflags.h | 168 +--
arch/arc/kernel/Makefile| 2
That is because __after_dc_op() already reads it for status check, so it
is better anyways to use that newer value.
Also reduces the clutter in callers for passing from/to these routines.
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/mm/cache.c | 36
,
-Vineet
Vineet Gupta (19):
ARC: mm/cache_arc700.c - mm/cache.c
ARC: cacheflush: move some code around, delete old comments
ARC: cacheflush: No need to retain DC_CTRL from __before_dc_op()
ARC: untangle cache flush loop
ARC: entry.S: common'ize scrtach reg freeup in intr + exceptions
ARC
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/kernel/entry.S | 16
arch/arc/mm/tlbex.S | 16 +---
2 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S
index d8ec722a936b..6cced37e7a76
Returning from pure kernel mode and exception mode use the same code
anyways. Remove one the duplicate blocks
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/kernel/entry-compact.S | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/arch/arc/kernel
-common'ize macros for level 1 and level 2 interrupts
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/arcregs.h | 3 --
arch/arc/include/asm/entry.h | 77 +++---
arch/arc/kernel/entry.S| 22 +++-
3 files changed, 23
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/mm/Makefile| 2 +-
arch/arc/mm/{cache_arc700.c = cache.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename arch/arc/mm/{cache_arc700.c = cache.c} (100%)
diff --git a/arch/arc/mm/Makefile b/arch/arc/mm
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/kernel/entry.S | 46 --
1 file changed, 20 insertions(+), 26 deletions(-)
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S
index b120f3e1e13e..a07cec4688ce 100644
--- a/arch/arc
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/entry-compact.h | 306 +++
arch/arc/include/asm/entry.h | 300 +-
arch/arc/kernel/Makefile | 4 +-
arch/arc/kernel/entry-compact.S | 393
here to allow for future reordering of
regfile in pt_regs w/o touching this macro
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/include/asm/entry-compact.h | 71 ++--
1 file changed, 35 insertions(+), 36 deletions(-)
diff --git a/arch/arc/include/asm
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/kernel/entry-compact.S | 2 +
arch/arc/kernel/entry.S | 98 +
2 files changed, 52 insertions(+), 48 deletions(-)
diff --git a/arch/arc/kernel/entry-compact.S b/arch/arc/kernel/entry
Elide the need to re-read ECR in Trap handler by ensuring that
EXCEPTION_PROLOGUE does that at the very end just before returning
to Trap handler
ARCv2 EXCEPTION_PROLOGUE already did that, so same for ARcompact and the
common trap handler adjusted to use cached ECR
Signed-off-by: Vineet Gupta
- Remove the ifdef'ery and write distinct versions for each mmu ver even
if there is some code duplication
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/mm/cache.c | 80 -
1 file changed, 55 insertions(+), 25 deletions(-)
diff
701 - 800 of 3575 matches
Mail list logo