From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Tue, 15 Dec 2015 21:42:05 +0100 Subject: [PATCH v4 0/2] clocksource/drivers/dw_apb_timer: improve performance a bit In-Reply-To: <1448467313-5626-1-git-send-email-jszhang@marvell.com> References: <1448467313-5626-1-git-send-email-jszhang@marvell.com> Message-ID: <56707B1D.10807@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 11/25/2015 05:01 PM, Jisheng Zhang wrote: > These two patches try to improve the dw_apb_timer clocksource/clockevent > performance. > > These patches depend on the apbt_readl return value fix patch: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/388250.html > > since v3: > - fix commit msg: we measured 4096 rounds of function call. So add this > information into commit msg to avoid confusion. > > since v2: > - only use relaxed version in critical path > - inline apbt_readl/apbt_writel > - add some performance numbers > > since v1: > - correct the wrong sentence in commit msg about writel performance on > CA9 with outer L2 cache. Thank Arnd for pointing out this in another > thread. > > > Jisheng Zhang (2): > clocksource/drivers/dw_apb_timer: Inline apbt_readl and apbt_writel > clocksource/drivers/dw_apb_timer: Use {readl|writel}_relaxed in > critical path > > drivers/clocksource/dw_apb_timer.c | 30 +++++++++++++++++++++--------- > 1 file changed, 21 insertions(+), 9 deletions(-) Applied. Thanks ! -- Daniel -- Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965551AbbLOUmF (ORCPT ); Tue, 15 Dec 2015 15:42:05 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:34850 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932365AbbLOUmD (ORCPT ); Tue, 15 Dec 2015 15:42:03 -0500 Subject: Re: [PATCH v4 0/2] clocksource/drivers/dw_apb_timer: improve performance a bit To: Jisheng Zhang , tglx@linutronix.de, arnd@arndb.de References: <1448467313-5626-1-git-send-email-jszhang@marvell.com> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Daniel Lezcano Message-ID: <56707B1D.10807@linaro.org> Date: Tue, 15 Dec 2015 21:42:05 +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: <1448467313-5626-1-git-send-email-jszhang@marvell.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 On 11/25/2015 05:01 PM, Jisheng Zhang wrote: > These two patches try to improve the dw_apb_timer clocksource/clockevent > performance. > > These patches depend on the apbt_readl return value fix patch: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/388250.html > > since v3: > - fix commit msg: we measured 4096 rounds of function call. So add this > information into commit msg to avoid confusion. > > since v2: > - only use relaxed version in critical path > - inline apbt_readl/apbt_writel > - add some performance numbers > > since v1: > - correct the wrong sentence in commit msg about writel performance on > CA9 with outer L2 cache. Thank Arnd for pointing out this in another > thread. > > > Jisheng Zhang (2): > clocksource/drivers/dw_apb_timer: Inline apbt_readl and apbt_writel > clocksource/drivers/dw_apb_timer: Use {readl|writel}_relaxed in > critical path > > drivers/clocksource/dw_apb_timer.c | 30 +++++++++++++++++++++--------- > 1 file changed, 21 insertions(+), 9 deletions(-) Applied. Thanks ! -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog