[PATCH v3 0/2] clocksource/drivers/dw_apb_timer: improve performance a bit

Jisheng Zhang jszhang at marvell.com
Wed Nov 25 07:50:49 PST 2015


On Wed, 25 Nov 2015 23:48:32 +0800
Jisheng Zhang wrote:

> These two patches try to improve the dw_apb_timer clocksource/clockevent
> performance.

These patches depends on the apbt_readl return value fix patch:

http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/388250.html

thanks,
Jisheng

> 
> 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(-)
> 




More information about the linux-arm-kernel mailing list