Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752929AbbKCIcV (ORCPT ); Tue, 3 Nov 2015 03:32:21 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:34379 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751359AbbKCIcT (ORCPT ); Tue, 3 Nov 2015 03:32:19 -0500 Subject: Re: [PATCH v2 1/4] clocksource: rockchip: Make the driver more compatible To: Caesar Wang References: <1443147298-12603-1-git-send-email-wxt@rock-chips.com> <5632E765.4010207@gmail.com> <56334995.6090103@linaro.org> <21587719.mnFBFBzBeI@phil> <56379D46.1000402@linaro.org> <56381547.5070109@gmail.com> Cc: Heiko Stuebner , devicetree@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Caesar Wang , Arnd Bergmann From: Daniel Lezcano Message-ID: <56387110.4060805@linaro.org> Date: Tue, 3 Nov 2015 09:32:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56381547.5070109@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3241 Lines: 93 On 11/03/2015 03:00 AM, Caesar Wang wrote: > Daniel, > > 在 2015年11月03日 01:28, Daniel Lezcano 写道: >> On 10/31/2015 12:47 AM, Heiko Stuebner wrote: >>> Hi Daniel, >>> >>> Am Freitag, 30. Oktober 2015, 11:42:29 schrieb Daniel Lezcano: >>>> On 10/30/2015 04:43 AM, Caesar Wang wrote: >>>>> Hi Daniel, >>>>> >>>>> 在 2015年10月01日 03:14, Heiko Stübner 写道: >>>>>> Hi Daniel, >>>>>> >>>>>> Am Dienstag, 29. September 2015, 06:18:03 schrieb Daniel Lezcano: >>>>>>> On 09/25/2015 04:14 AM, Caesar Wang wrote: >>>>>>>> Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform, >>>>>>>> There are some failure with build up on timer driver for rockchip. >>>>>>>> >>>>>>>> Says: >>>>>>>> /tmp/ccdAnNy5.s:47: Error: missing immediate expression at operand >>>>>>>> 1 -- >>>>>>>> `dsb` >>>>>>>> ... >>>>>>>> >>>>>>>> The problem was different semantics of dsb on btw arm32 and arm64, >>>>>>>> Here we can convert the dsb with insteading of dsb(sy).The "sy" >>>>>>>> param >>>>>>>> is the default which you are allow to omit, so on arm32 dsb()and >>>>>>>> dsb(sy) >>>>>>>> are the same. >>>>>>>> >>>>>>>> Signed-off-by: Caesar Wang >>>>>>> Acked-by: Daniel Lezcano >>>>>> as you have "just" Acked these patches, I guess you are expecting >>>>>> them >>>>>> to go >>>>>> through the same tree as the devicetree changes, right? >>>>> >>>>> I'm wonder if someone will apply this series patchs but the wait.:-) >>>>> In fact, I'm no sure that the Acked is really meaning.:- >>>> >>>> Yes, by acking the patch I say I am ok with it and I agree it can go >>>> through another tree. >>> >>> although I guess the two clocksource changes could very well just go >>> through your tree. dsb() -> dsb(sy) is supposed to be equal and the >>> second >>> one is just cosmetics. The Kconfig and dts changes need to wait in >>> any case >>> for 4.5 ... but I guess that may be true for the clocksource changes >>> as well? >> >> Heiko, Caesar, >> >> I am wondering if the dsb() is really necessary. Is it possible you >> test the timer by removing this instruction ? Otherwise I will have to >> setup my board again and it will take awhile. >> > > As the @Arnd suggestion, > > That's seem ok for me. > Although the writel_relaxed() and writel() a bit different with DSB() > and L2's sync. > > Do I need send the patch v3? I will test that on my board. > > I'm no sure that why the clocksource driver didn't use the > writel_relaxed() to work. > Okay, I think we should according to the suggestion or required. I think the patch is trivial enough I can do the change myself if you test the change on your side. But it would be a good practice to send the patch you have tested. Up to you ;) Thanks ! -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/