From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752609AbbKYQFx (ORCPT ); Wed, 25 Nov 2015 11:05:53 -0500 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:40282 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751198AbbKYQFu (ORCPT ); Wed, 25 Nov 2015 11:05:50 -0500 From: Jisheng Zhang To: , , CC: , , Jisheng Zhang Subject: [PATCH v4 0/2] clocksource/drivers/dw_apb_timer: improve performance a bit Date: Thu, 26 Nov 2015 00:01:51 +0800 Message-ID: <1448467313-5626-1-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-11-25_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=inbound_notspam policy=inbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310000 definitions=main-1511250281 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.6.2