Re: [PATCH 0/2] ARM: EXYNOS: Allow to use architected timer

2015-10-06 Thread Alexey Klimov
ve a link ready, but this has come up a few times. > > Kukjin Kim probably knows the details. Please take a look: http://www.gossamer-threads.com/lists/linux/kernel/2225900 for some details. I don't know if it's related to 5410. Best regards, Alexey Klimov -- To unsubscribe from this list: send t

[RFC PATCH] clocksource: exynos_mct: use container_of() instead of this_cpu_ptr()

2015-09-03 Thread Alexey Klimov
bl 420 4b0: e3a0mov r0, #0 4b4: e8bd8010pop {r4, pc} Also, for me size of exynos_mct.o decreased from 84588 bytes to 83956. Signed-off-by: Alexey Klimov <alexey.kli...@linaro.org> --- drivers/clocksource/exynos_mct.c | 12

Re: [RFC PATCH 0/3] clocksource: exynos_mct: allow mct to use 64-bit counter from coprocessor

2015-07-28 Thread Alexey Klimov
On Tue, Jul 28, 2015 at 4:02 PM, Mark Rutland mark.rutl...@arm.com wrote: On Mon, Jul 27, 2015 at 10:28:27PM +0100, Alexey Klimov wrote: Hi all, year(s) ago it was discovered that MCT timer and ARM architectured timer are the same hardware with different interface. Here [1

Re: [RFC PATCH 0/3] clocksource: exynos_mct: allow mct to use 64-bit counter from coprocessor

2015-07-28 Thread Alexey Klimov
Hi Doug, On Tue, Jul 28, 2015 at 6:24 PM, Doug Anderson diand...@chromium.org wrote: Alexey, On Mon, Jul 27, 2015 at 2:28 PM, Alexey Klimov klimov.li...@gmail.com wrote: Hi all, year(s) ago it was discovered that MCT timer and ARM architectured timer are the same hardware with different

Re: [RFC PATCH 1/3] clocksource: exynos_mct: allow mct to read counter from coprocessor

2015-07-28 Thread Alexey Klimov
On Tue, Jul 28, 2015 at 9:11 AM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 28.07.2015 06:28, Alexey Klimov wrote: It was discovered that 64-bit mmio MCT counter holds the same value as ARM arch timer 64-bit physical counter. Even more: arch timer and MCT are same underlying

Re: [RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3

2015-07-28 Thread Alexey Klimov
Hi Krzysztof, On Tue, Jul 28, 2015 at 8:53 AM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 28.07.2015 06:28, Alexey Klimov wrote: Speedup MCT operation on odroid-xu3 dev board by using coprocessor 64-bit counter instead of reading same counter located in mmio region. Tested

[RFC PATCH 0/3] clocksource: exynos_mct: allow mct to use 64-bit counter from coprocessor

2015-07-27 Thread Alexey Klimov
are not getting bored reading to me. Current code is a little bit draft so comments and ideas are welcome. Best regards, Alexey Klimov -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http

[RFC PATCH 1/3] clocksource: exynos_mct: allow mct to read counter from coprocessor

2015-07-27 Thread Alexey Klimov
will read counter from mmio since it's guaranteed to work. Signed-off-by: Alexey Klimov klimov.li...@gmail.com --- drivers/clocksource/exynos_mct.c | 77 ++-- 1 file changed, 67 insertions(+), 10 deletions(-) diff --git a/drivers/clocksource/exynos_mct.c b/drivers

[RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3

2015-07-27 Thread Alexey Klimov
Speedup MCT operation on odroid-xu3 dev board by using coprocessor 64-bit counter instead of reading same counter located in mmio region. Tested on Odroid-xu3. Signed-off-by: Alexey Klimov klimov.li...@gmail.com --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 1 file changed, 4

[RFC PATCH 2/3] documentation: dt: mct: add desc of optional property use-cp15-phys-counter

2015-07-27 Thread Alexey Klimov
Signed-off-by: Alexey Klimov klimov.li...@gmail.com --- .../devicetree/bindings/timer/samsung,exynos4210-mct.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.txt b/Documentation/devicetree/bindings/timer

[PATCH 2/2] spi/rockchip: remove unnecessary memset of rockchip_spi

2015-06-30 Thread Alexey Klimov
Memory for struct rockchip_spi is allocated by spi_alloc_master() using kzalloc() so it doesn't need to be set to 0 one more time. Signed-off-by: Alexey Klimov klimov.li...@gmail.com --- drivers/spi/spi-rockchip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-rockchip.c b

[PATCH 1/2] spi/s3c24xx: remove unnecessary memset of s3c24xx_spi

2015-06-30 Thread Alexey Klimov
Memory for this struct is allocated by spi_alloc_master() using kzalloc() so it doesn't need to be set to 0 one more time. Signed-off-by: Alexey Klimov klimov.li...@gmail.com --- drivers/spi/spi-s3c24xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi

[PATCH] clocksource: exynos_mct: remove unneeded container_of()

2015-06-21 Thread Alexey Klimov
Patch removes unneeded container_of() macro in exynos4_local_timer_setup(). Instead let's pass mevt pointer to setup and stop functions from exynos4_mct_cpu_notify() and let them get evt pointer. Tested on odroid-xu3. Signed-off-by: Alexey Klimov klimov.li...@gmail.com Acked-by: Stephen Boyd sb

Re: [PATCH 06/41] clocksource: exynos_mct: Migrate to new 'set-state' interface

2015-06-18 Thread Alexey Klimov
(percpu_mct_tick)); else -- Do you need testers? I can test it on odroid-xu3. Can't find in emails similar patch for ARM arch timer. Any plans about it? Or if it's already converted to 'set-state' then could you please share a link? Thanks and best regards, Alexey Klimov -- To unsubscribe

[question] [PATCH RFC] clocksource: exynos_mct: remove unneeded container_of()

2015-06-14 Thread Alexey Klimov
register fix. Best regards, Alexey Klimov. -- From: Alexey Klimov klimov.li...@gmail.com Patch removes unneeded container_of() macro in exynos4_local_timer_setup(). Instead let's pass mevt pointer to setup and stop functions from exynos4_mct_cpu_notify() and let them get evt pointer

Re: [PATCH 1/9] drm/exynos: add error messages if clks failed to get enabled

2015-06-03 Thread Alexey Klimov
in place in similar functions. For example, in master branch i see decon_poweron() instead of decon_enable() and fimd_poweron() instead of fimd_enable() in your patch. Is there any chance that it's slightly outdated? Best regards, Alexey Klimov -- To unsubscribe from this list: send the line

Re: [PATCH 1/9] drm/exynos: add error messages if clks failed to get enabled

2015-06-03 Thread Alexey Klimov
On Wed, Jun 3, 2015 at 7:59 PM, Alexey Klimov klimov.li...@gmail.com wrote: Hi Gustavo, On Wed, Jun 3, 2015 at 5:30 PM, Gustavo Padovan gust...@padovan.org wrote: From: Gustavo Padovan gustavo.pado...@collabora.co.uk Check error and call DRM_ERROR if clk_prepare_enable() fails. Signed-off

Re: [PATCH 2/2] [ARM] samsung-rotator: Add Samsung S3C/S5P rotator driver

2009-12-23 Thread Alexey Klimov
Hello, On Wed, Dec 23, 2009 at 1:08 PM, Pawel Osciak p.osc...@samsung.com wrote: The rotator device present on Samsung S3C and S5P series SoCs allows image rotation and flipping. It requires contiguous memory buffers to operate, as it does not have scatter-gather support. It is also an example