Received: by 10.213.65.68 with SMTP id h4csp889920imn; Wed, 4 Apr 2018 08:58:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/LIBV0VAaVLEf3T4GroS/qaJSWMSFPeM1rIEhSDtyZmvJyjKB3tVOFuW1Y3HBBJw5HL3pF X-Received: by 10.99.37.71 with SMTP id l68mr12331767pgl.440.1522857488864; Wed, 04 Apr 2018 08:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522857488; cv=none; d=google.com; s=arc-20160816; b=YWZ9vpDfUxr6HaPbCd4vmdS3szvdJh1/K0YumC9LuvXmPdfk0gi4jsdTBuqKBJHWb8 PTO7VOXV/XNPgrgdmgy2vgrkFekfYyxzOYDGpM0wUTK7V8jT3YYbbqITdPKVcG7W1MF/ vqgpCA7/n5Hw/iTACvtcRj29Yzt5/kD6xf9EZKXv84HFiU+L4sLXqnNA4auniTJiNVbu Xs4fSJcz56pdkVGYQdlZY54SbamAW5AG+seFk0wuuH59DQi7GVNXi6/96T8Ey6mp/eqt rYve4tM1vmaXzYSQRlHpSl4BoRFAT7P3RdEQdVn4qTeqWR6mB4g+LhL0S1icINkBpllo lebA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:references:cc:to:from:subject :arc-authentication-results; bh=sBn5uRcSu1+MItW8OfZwEIaSIBjwf9WV0/XtXaYKDkI=; b=E/+S5iVsydYMX7L1aGrrIaikdbc5xZVV8YA4q+O64UwvweaTJ9tkm7hPv8SITo7Ch5 ciffBza+D9dhBfGHJ3bi+U4Zn5s/XNwuuSm/wSMJZi5Y1dCdOxehJZ4u7twIXdL5MCcO XKmKoYIFBV6djue0EsnDnPhpMxrll4zHPg9NN8+ZcxqrFjFRR2YP7zUFpKPeEcp/7PXA Sy/wOs+WSfZuZqjjA5oBjWCtC0BN3aPIW4yRoR7i5uPYPfum1FlPVRh0jkL1RoDiegTJ ubwRxdKpvT+3Mef/EXsJmcWsUmeWsaP54/9/MudeHVVEKKecfQOHzsJGZzmA6JZa/Uqx 3svA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t132si3839114pgc.350.2018.04.04.08.57.54; Wed, 04 Apr 2018 08:58:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbeDDP4L (ORCPT + 99 others); Wed, 4 Apr 2018 11:56:11 -0400 Received: from thoth.sbs.de ([192.35.17.2]:58531 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752070AbeDDP4K (ORCPT ); Wed, 4 Apr 2018 11:56:10 -0400 Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w34FsaJZ017346 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Apr 2018 17:54:36 +0200 Received: from [167.87.69.113] ([167.87.69.113]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w34FsWAs019038; Wed, 4 Apr 2018 17:54:34 +0200 Subject: Re: [PATCH] arm: Initialize hrtimer-based broadcast clockevent From: Jan Kiszka To: Russell King , linux-arm-kernel , Thomas Gleixner Cc: Jailhouse , Linux Kernel Mailing List References: <86a7e675-11bd-3b8b-22a0-8f440db96293@siemens.com> <8f2fd3b9-416a-992e-5ca6-fc83aad5700d@siemens.com> Openpgp: preference=signencrypt Message-ID: <35966a15-8312-5ba9-ef76-33a6cfda1f32@siemens.com> Date: Wed, 4 Apr 2018 17:54:32 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <8f2fd3b9-416a-992e-5ca6-fc83aad5700d@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-03-01 07:04, Jan Kiszka wrote: > On 2018-01-22 07:06, Jan Kiszka wrote: >> Analogously to 9358d755bd5c, this registers a broadcast clockevent in >> case no hardware broadcast timer is available and the per-CPU timers can >> be stopped in deep power states. >> >> Partitions of the Jailhouse hypervisor fall in this category. >> Registering the workaround timer allows to enter high-resolution mode in >> that case. >> >> Signed-off-by: Jan Kiszka >> --- >> arch/arm/kernel/time.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c >> index 629f8e9981f1..0a45d861ef8e 100644 >> --- a/arch/arm/kernel/time.c >> +++ b/arch/arm/kernel/time.c >> @@ -12,6 +12,7 @@ >> * reading the RTC at bootup, etc... >> */ >> #include >> +#include >> #include >> #include >> #include >> @@ -121,5 +122,7 @@ void __init time_init(void) >> of_clk_init(NULL); >> #endif >> timer_probe(); >> + >> + tick_setup_hrtimer_broadcast(); >> } >> } >> > > Gentle ping, just to avoid that this falls through the cracks because > it's so small. > 2nd ping. Should this patch be routed via ARM or rather some tip/timers tree? Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux