Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-10-31 Thread Vineet Gupta
On 10/31/2016 05:01 PM, kbuild test robot wrote: > Hi Vineet, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.9-rc3] > [cannot apply to arc/for-next] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > [Suggest to use

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-10-31 Thread kbuild test robot
Hi Vineet, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc3] [cannot apply to arc/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenien

Re: [PATCH v2] ARC: Enable PERF_EVENTS in nSIM driven platforms

2016-10-31 Thread Vineet Gupta
On 10/31/2016 06:00 AM, Alexey Brodkin wrote: > Now when we have properly working performance counters in nSIM > even with interrupt support (fix should be a part of upcoming > nSIM engineering build 2016.12-005) we may enable perf support > by default for all platforms that use nSIM for ARC cores

[PATCH 9/9] clocksource: import ARC timer driver

2016-10-31 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- MAINTAINERS| 1 + arch/arc/Kconfig | 12 + arch/arc/kernel/Makefile | 2 +- drivers/clocksource/Kconfig| 24 ++ dri

[PATCH 8/9] ARC: timer: rename config options

2016-10-31 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/Kconfig | 4 ++-- arch/arc/configs/nsimosci_hs_smp_defconfig | 2 +- arch/arc/configs/vdk_hs38_smp_defconfig| 2 +- arch/arc/kernel/setup.c| 4 ++-- arch/arc/kernel/time.c | 4 ++-- 5 fi

[PATCH 0/9] Move ARC timer code into drivers/clocksource/

2016-10-31 Thread Vineet Gupta
Hi, This series addresses the long pending move of ARC timer code into drivers/clocksource/. - patches [1-4]/9 are improvements to arc code, paving way for later code motion. - patches [5-8]/9 refactor the arc headers to be shared between arc and drivers - patch 9/9 moves out the driver code/bui

[PATCH 7/9] ARC: breakout timer stuff into a seperate header

2016-10-31 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/include/asm/arcregs.h | 9 + arch/arc/kernel/time.c | 2 +- include/soc/arc/timers.h | 24 3 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 include/soc/arc/timers.h diff --git a/arch/ar

[PATCH 1/9] ARC: timer: gfrc, rtc: Read BCR to detect whether hardware exists ...

2016-10-31 Thread Vineet Gupta
... don't rely on cpuinfo populated in arc boot code. This paves wat for moving this code in drivers/clocksource/ Signed-off-by: Vineet Gupta --- arch/arc/kernel/time.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c

[PATCH 2/9] ARC: timer: rtc: implement read loop in "C" vs. inline asm

2016-10-31 Thread Vineet Gupta
To allow for easy movement into drivers/clocksource Signed-off-by: Vineet Gupta --- arch/arc/kernel/time.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c index a2db010cde18..2c51e3cafad0 100644 --- a/arch/arc/kern

[PATCH 5/9] ARC: breakout aux handling into a seperate header

2016-10-31 Thread Vineet Gupta
ARC timers use aux registers for programming and this paves way for moving ARC timer drivers into drivers/clocksource Signed-off-by: Vineet Gupta --- arch/arc/include/asm/arcregs.h | 85 +- arch/arc/include/asm/mcip.h| 2 +- include/soc/arc/aux.h

[PATCH 6/9] ARC: move mcip.h into include/soc and adjust the includes

2016-10-31 Thread Vineet Gupta
Also remove the depedency on ARCv2, to increase compile coverage for !ARCV2 builds Signed-off-by: Vineet Gupta --- arch/arc/kernel/mcip.c | 2 +- arch/arc/kernel/time.c | 2 +- arch/arc/plat-axs10x/axs10x.c| 2 +- {arch/arc/

[PATCH 3/9] ARC: timer: gfrc: boot print alongside other timers

2016-10-31 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/kernel/setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index 0385df77a697..595d06900061 100644 --- a/arch/arc/kernel/setup.c +++ b/arch/arc/kernel/setup.c @@ -234,11 +234,1

[PATCH 4/9] ARC: time: move time_init() out of the driver

2016-10-31 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/kernel/setup.c | 11 +++ arch/arc/kernel/time.c | 9 - 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index 595d06900061..5865bd34a7fa 100644 --- a/arch/arc/kernel/setup.c

[PATCH v2] ARC: Enable PERF_EVENTS in nSIM driven platforms

2016-10-31 Thread Alexey Brodkin
Now when we have properly working performance counters in nSIM even with interrupt support (fix should be a part of upcoming nSIM engineering build 2016.12-005) we may enable perf support by default for all platforms that use nSIM for ARC cores simulation. Note 1: PCT node was missing for some rea