Skip to content

clocksource/drivers/dw_apb_timer: improve performance a bit

Jisheng Zhang linux-arm-kernel lkml 2 versions Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyApplied
  2. v32 patches 1 replySuperseded

Changes in v4 from the cover letter

- fix commit msg: we measured 4096 rounds of function call. So add this information into commit msg to avoid confusion.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2clocksource/drivers/dw_apb_timer: Inline apbt_readl and apbt_writeldrivers/clocksource/dw_apb_timer.c+3 -30 replies
2/2clocksource/drivers/dw_apb_timer: Use {readl|writel}_relaxed in critical pathdrivers/clocksource/dw_apb_timer.c+18 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] clocksource/drivers/dw_apb_timer: improve performance a bit

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(-)
Signature · 1 line
2.6.2