Received: by 10.223.185.116 with SMTP id b49csp7056174wrg; Wed, 28 Feb 2018 22:05:50 -0800 (PST) X-Google-Smtp-Source: AG47ELsXKPBkofWdnI5rC78sha+gK0MBfLJ1njhFwZQsolg2fQp0zUKzg3zbaw+bmj7OQFCGdShp X-Received: by 2002:a17:902:8491:: with SMTP id c17-v6mr819436plo.105.1519884350374; Wed, 28 Feb 2018 22:05:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519884350; cv=none; d=google.com; s=arc-20160816; b=Yych3XnCitLnaOpHtnmapsF7x9a1INs06IkyCpO22klMP3w6tiSx9eMhXH5f7F7k4H 8fQvi1y9VyJ1EhbU0arGYv6HbXBeMj91iXdSfDzVAr7jREXW41cohve7Ir5GF4LjkbaR o/SH72rTpWPOUHMRsB466cAR7SHj0KAMpcjN8lfbMVlSb/G7XJ+YA2MsQ0FWDAzhz6+/ l3HbqSXkicnFVf7LaN8ZTpWCCxPQg0af05ci2YxQECXfGdeoymm4ZFc/jMhOHVMFVLtL PJZZfyRzYRyO1PWp7kSgVbzQyI7hMTl4w+KnKLWE6ifPsTGzwH2uvFpVBMJrrJnftqL4 OvbQ== 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:references:cc:to:from:subject:arc-authentication-results; bh=TRPwl1ZvKzYhyF2zR1hfml1ZVyD8FFOzpmOHA83oM8A=; b=yHrZxNvnzIXghVY0szKZ55Hxt4B8qP8PoZcoGmqJyejVrY7n9wqbeSB8aOdEi4sxhZ 3mhDitpM5AIk+te7NzIOBiqhbobpaewz0xNcOLj7tjjW1TDv2Q1xr6EwUqJkcDui5gc/ M8VMfhDlI0e3iRslPWXoDEFkYaIUSauWxtWeqX/m5ZnaOwAG9bkv2qVPcu/8CANYkYj9 SCYYKgjpr9HPfEjN6D8O4fn0XgBHXco24DS7/GxG0uQ6C7cXUNTROm/JQCSDqYQ6av8t V1/7EsbLdeu4DzBKIwVlusYGshCkGupR1dRxEZIDDCG1ZyTchm2w3WoVIOiY7s5+atqe O8Ew== 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 g2-v6si2490412pll.556.2018.02.28.22.05.34; Wed, 28 Feb 2018 22:05:50 -0800 (PST) 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 S966254AbeCAGEw (ORCPT + 99 others); Thu, 1 Mar 2018 01:04:52 -0500 Received: from goliath.siemens.de ([192.35.17.28]:56213 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966073AbeCAGEv (ORCPT ); Thu, 1 Mar 2018 01:04:51 -0500 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w2164ILl026839 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Mar 2018 07:04:18 +0100 Received: from [167.87.4.216] ([167.87.4.216]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w2164Hv6025514; Thu, 1 Mar 2018 07:04:18 +0100 Subject: Re: [PATCH] arm: Initialize hrtimer-based broadcast clockevent From: Jan Kiszka To: Russell King , linux-arm-kernel Cc: Thomas Gleixner , Jailhouse , Linux Kernel Mailing List References: <86a7e675-11bd-3b8b-22a0-8f440db96293@siemens.com> Message-ID: <8f2fd3b9-416a-992e-5ca6-fc83aad5700d@siemens.com> Date: Thu, 1 Mar 2018 07:04:17 +0100 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: <86a7e675-11bd-3b8b-22a0-8f440db96293@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-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. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux