From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751948AbcKQQ6Q (ORCPT ); Thu, 17 Nov 2016 11:58:16 -0500 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:50967 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752790AbcKQQ5P (ORCPT ); Thu, 17 Nov 2016 11:57:15 -0500 Subject: Re: [PATCH] ARM: Drop fixed 200 Hz timer requirement from Exynos platforms To: Krzysztof Kozlowski , Russell King , Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1479148025-469-1-git-send-email-krzk@kernel.org> Cc: Ben Dooks , Lee Jones , Arnd Bergmann , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Sylwester Nawrocki , Tomasz Figa From: Javier Martinez Canillas Message-ID: <6f15ef88-aa9e-4a3c-4a75-1d3216d734d5@osg.samsung.com> Date: Thu, 17 Nov 2016 12:40:41 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1479148025-469-1-git-send-email-krzk@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Krzysztof, On 11/14/2016 03:27 PM, Krzysztof Kozlowski wrote: > All Samsung platforms, including the Exynos, are selecting HZ_FIXED with > 200 Hz. Unfortunately in case of multiplatform image this affects also > other platforms when Exynos is selected. > > This looks like an very old legacy code, dating back to initial > upstreaming of S3C24xx. Probably it was required for s3c24xx timer > driver, which was removed in commit ad38bdd15d5b ("ARM: SAMSUNG: Remove > unused plat-samsung/time.c"). > > Since then, this fixed 200 Hz spread everywhere, including out-of-tree > Samsung kernels (SoC vendor's and Tizen's). I believe this choice > was rather an effect of coincidence instead of conscious choice. In > fact Exynos can work with different timers. > > Few perf mem and sched tests on Odroid XU3 board (Exynos5422, 4x Cortex > A7, 4x Cortex A15) show no regressions when switching from 200 Hz to > other values. > > Reported-by: Lee Jones > Reported-by: Arnd Bergmann > Signed-off-by: Krzysztof Kozlowski > > --- > > Testing on other Exynos platforms would be appreciated. I tested this patch on an Exynos5800 Peach Pi Chromebook with different HZ values (100/200/250/300/500/1000), and found no issues. Tested-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America