Re: [GIT PULL] ARC updates for 4.20-rc6

2018-12-05 Thread pr-tracker-bot
The pull request you sent on Wed, 5 Dec 2018 15:46:35 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ > tags/arc-4.20-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/369af92ce47a04b2523ec4feea1febcacf8419b1 Thank you! -- Deet-doot-dot, I a

[GIT PULL] ARC updates for 4.20-rc6

2018-12-05 Thread Vineet Gupta
Hi Linus, Please pull. Thx, -Vineet > The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.gi

Re: [PATCH 2/5] ARC: perf: introduce Kernel PMU events support

2018-12-05 Thread Vineet Gupta
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote: > Export all available ARC architected hardware events as > kernel PMU events to make non-generic events accessible. > > ARC PMU HW allow us to read the list of all available > events names. So we generate kernel PMU event list > dynamically in arc_pmu_dev

Re: [PATCH 3/5] ARC: perf: fix of kernel data types using

2018-12-05 Thread Vineet Gupta
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote: > Use u32, u64, s64 instead of uint32_t, uint64_t, int64_t > > Signed-off-by: Eugeniy Paltsev Maybe squash this into trivial cleanups 1/5 ? Acked-by: Vineet Gupta Thx, -Vineet ___ linux-snps-arc mailing li

Re: [PATCH 4/5] ARC: perf: fix description comment

2018-12-05 Thread Vineet Gupta
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote: > Fix description comment as this code doesn't belong only to > ARC700 anymore. > > Also while I'm at it, use SPDX License Identifier. > > Signed-off-by: Eugeniy Paltsev Maybe squash this into trivial cleanups 1/5 ? Acked-by: Vineet Gupta Thx, -Vineet

Re: [PATCH 5/5] ARC: perf: remove useless ifdefs

2018-12-05 Thread Vineet Gupta
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote: > ifdef around 'arc_pmu_match' structure declaration is useless > as we refer to 'arc_pmu_match' in several places which aren't > guarded with ifdef. > > Nevertheless 'ARC' option selects 'OF' unconditionally so we > can simply get rid of this ifdef. > > S

Re: [PATCH 1/5] ARC: perf: trivial code cleanup

2018-12-05 Thread Vineet Gupta
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote: > Use BIT(), lower_32_bits(), upper_32_bits() macroses, > fix code style violations. > > Signed-off-by: Eugeniy Paltsev Acked-by: Vineet Gupta Thx, -Vineet ___ linux-snps-arc mailing list linux-snps-arc@list

[PATCH 3/5] ARC: perf: fix of kernel data types using

2018-12-05 Thread Eugeniy Paltsev
Use u32, u64, s64 instead of uint32_t, uint64_t, int64_t Signed-off-by: Eugeniy Paltsev --- arch/arc/kernel/perf_event.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c index 97b88b00c418..8c88

[PATCH 1/5] ARC: perf: trivial code cleanup

2018-12-05 Thread Eugeniy Paltsev
Use BIT(), lower_32_bits(), upper_32_bits() macroses, fix code style violations. Signed-off-by: Eugeniy Paltsev --- arch/arc/kernel/perf_event.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/pe

[PATCH 5/5] ARC: perf: remove useless ifdefs

2018-12-05 Thread Eugeniy Paltsev
ifdef around 'arc_pmu_match' structure declaration is useless as we refer to 'arc_pmu_match' in several places which aren't guarded with ifdef. Nevertheless 'ARC' option selects 'OF' unconditionally so we can simply get rid of this ifdef. Signed-off-by: Eugeniy Paltsev --- arch/arc/kernel/perf_

[PATCH 2/5] ARC: perf: introduce Kernel PMU events support

2018-12-05 Thread Eugeniy Paltsev
Export all available ARC architected hardware events as kernel PMU events to make non-generic events accessible. ARC PMU HW allow us to read the list of all available events names. So we generate kernel PMU event list dynamically in arc_pmu_device_probe() using human-readable events names we got f

[PATCH 4/5] ARC: perf: fix description comment

2018-12-05 Thread Eugeniy Paltsev
Fix description comment as this code doesn't belong only to ARC700 anymore. Also while I'm at it, use SPDX License Identifier. Signed-off-by: Eugeniy Paltsev --- arch/arc/kernel/perf_event.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/arch/arc/kernel

[PATCH 0/5] introduce Kernel PMU events support

2018-12-05 Thread Eugeniy Paltsev
Introduce Kernel PMU events support and refactor ARC-specific perf code. Eugeniy Paltsev (5): ARC: perf: trivial code cleanup ARC: perf: introduce Kernel PMU events support ARC: perf: fix of kernel data types using ARC: perf: fix description comment ARC: perf: remove useless ifdefs ar

Re: [PATCH 3/3] arch: remove redundant generic-y defines

2018-12-05 Thread Christoph Hellwig
On Wed, Dec 05, 2018 at 06:44:38AM -0800, Christoph Hellwig wrote: > On Wed, Dec 05, 2018 at 08:28:06PM +0900, Masahiro Yamada wrote: > > Now that Kbuild automatically creates asm-generic wrappers for missing > > mandatory headers, it is redundant to list the same headers in > > generic-y and manda

Re: [PATCH 3/3] arch: remove redundant generic-y defines

2018-12-05 Thread Christoph Hellwig
On Wed, Dec 05, 2018 at 08:28:06PM +0900, Masahiro Yamada wrote: > Now that Kbuild automatically creates asm-generic wrappers for missing > mandatory headers, it is redundant to list the same headers in > generic-y and mandatory-y. > > Suggested-by: Sam Ravnborg > Signed-off-by: Masahiro Yamada

[PATCH 3/3] arch: remove redundant generic-y defines

2018-12-05 Thread Masahiro Yamada
Now that Kbuild automatically creates asm-generic wrappers for missing mandatory headers, it is redundant to list the same headers in generic-y and mandatory-y. Suggested-by: Sam Ravnborg Signed-off-by: Masahiro Yamada --- arch/alpha/include/uapi/asm/Kbuild | 5 - arch/arc/include/ua