From patchwork Fri Nov 27 20:01:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Smarduch X-Patchwork-Id: 7714951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2D5FBBEEE1 for ; Fri, 27 Nov 2015 20:04:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6D3E5206C5 for ; Fri, 27 Nov 2015 20:04:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D6E520684 for ; Fri, 27 Nov 2015 20:04:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a2PDw-0000ib-M1; Fri, 27 Nov 2015 20:02:28 +0000 Received: from mailout3.w2.samsung.com ([211.189.100.13] helo=usmailout3.samsung.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a2PDt-0000fj-A8 for linux-arm-kernel@lists.infradead.org; Fri, 27 Nov 2015 20:02:26 +0000 Received: from uscpsbgex2.samsung.com (u123.gpu85.samsung.co.kr [203.254.195.123]) by usmailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYH00IIDOZEWD50@usmailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 27 Nov 2015 15:02:02 -0500 (EST) X-AuditID: cbfec37b-f79996d000007764-4f-5658b6b9f1c5 Received: from usmmp2.samsung.com ( [203.254.195.78]) by uscpsbgex2.samsung.com (USCPEXMTA) with SMTP id B8.A7.30564.9B6B8565; Fri, 27 Nov 2015 15:02:01 -0500 (EST) Received: from sisasmtp.sisa.samsung.com ([105.144.21.116]) by usmmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYH00BJIOZDKR40@usmmp2.samsung.com>; Fri, 27 Nov 2015 15:02:01 -0500 (EST) Received: from localhost.localdomain (105.160.5.6) by SISAEX02SJ.sisa.samsung.com (105.144.21.116) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 27 Nov 2015 12:02:01 -0800 From: Mario Smarduch To: will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com Subject: [PATCH] arm64: Enable selection of CONFIG_IRQ_TIME_ACCOUNTING on arm64 Date: Fri, 27 Nov 2015 12:01:37 -0800 Message-id: <1448654497-3492-1-git-send-email-m.smarduch@samsung.com> X-Mailer: git-send-email 1.9.1 MIME-version: 1.0 X-Originating-IP: [105.160.5.6] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsVy+t9hP92d2yLCDP5tsrH4O+kYu8X7ZT2M FpseX2O1uH2Z1+LvnX9sFt+/fWOzePnxBIsDu8eaeWsYPVqae9g8fv+axOixc9Zddo/NS+oD WKO4bFJSczLLUov07RK4MqZ8+8pasIGjYumMLvYGxg9sXYycHBICJhJXJzxkhrDFJC7cWw8U 5+IQEljGKPHuYAczhNPEJLFu4UqozDZGif3XLjGCtLAJ6Ersv7eRHcQWEYiQmLP+FytIEbNA I6PE3NmXwYqEBfwlJnxuBbNZBFQlZrf3sIDYvAKuEq+adrJD7JaTOHlsMitEXFDix+R7QDUc QIMkJJ5/VgIJCwG1brv5nBGiXF5iy/Y29gmMArOQdMxC6FjAyLSKUay0OLmgOCk9tcJIrzgx t7g0L10vOT93EyMknKt3MN79anOIUYCDUYmHVyI9PEyINbGsuDL3EKMEB7OSCO/KGRFhQrwp iZVVqUX58UWlOanFhxilOViUxHnvSMiFCgmkJ5akZqemFqQWwWSZODilGhgD9+mFhfkpX5X9 ukPjovi7DgvLf49/8uxXnTarXmYVl7mj96SkpIvFF0JvLI3jCisI6TFjZ7o46xXT/aV33n1t 9uYTfJdu9mHBnZmVijE1Xt+ubpnYNflhVXE8N0N8t4usiOSXJfGx36fsYi6YfsO/TNOa8avr SdNNcj6trFmCj7b0aNWtlVRiKc5INNRiLipOBABcvSA6YwIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151127_120225_435962_BB411061 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marc.zyngier@arm.com, linux@arm.linux.org.uk, robherring2@gmail.com, arnd@arndb.de, Mario Smarduch Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently 'simple tick accounting' and 'full dynticks accounting' can be selected on arm64. simple tick accounting doesn't accumulate per-cpu irq time and full dynticks accounting doesn't accumulate softirq time. This patch enables selection of "Fine Granularity task level IRQ time accounting" which accumulates irq, softirq times. All three modes accumulate guest time. This patch is against 4.4.0-rc2 commit 5a44ed0d was tested on Juno in 'periodic', and 'tickless idle' - modes. Running a ping flood or lmbench timer - benchmark results in un-accounted cpu time usage. Signed-off-by: Mario Smarduch --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9ac16a4..080dbf1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -92,6 +92,7 @@ config ARM64 select SPARSE_IRQ select SYSCTL_EXCEPTION_TRACE select HAVE_CONTEXT_TRACKING + select HAVE_IRQ_TIME_ACCOUNTING help ARM 64-bit (AArch64) Linux support.