Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3661020imm; Sun, 10 Jun 2018 22:43:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL0gAtk+YFYUoNXhDMcU9B3HRtXiUWBPVjazZFJfdZVV8Yc/BGOgiBUGPyg6U0yovUceCAs X-Received: by 2002:a17:902:b216:: with SMTP id t22-v6mr16948756plr.199.1528695802799; Sun, 10 Jun 2018 22:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528695802; cv=none; d=google.com; s=arc-20160816; b=Rj3ztKDoUsW9C5/ODxJ1qgC6+xddcN9+jLs1XMLbnPC1fOomlBQT0sAtvMemJ5fjdP jptmUOuDmp454H3EiuWgj41S1ZBfv0ab95JOqyxeMq6d//LhXIcCie9B7WLcGXlPZjOq A6uEqYHxk7nODJ8TtgtgA0cElJQXH7UXCr/BFoo0MPda4z80yGVT/CmmWwW7B9N2V4Rd WA32zfT6vlVR6uVv+m+Umd1mEdJI9kVN5wye0SF5QJvt02J+TO262yB6f/k2jRFrg1LA 5TNGtNnfoUl2n05MIX1T/qJ60RJQNwOjxqnFQ1dO9fhFB8mRBKNL+Kj2UkybgubX11an Kb5Q== 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:autocrypt:openpgp:references:cc:to:from:subject :arc-authentication-results; bh=abZjPXyvD7epqjtuD3exDaUCA6vrpXIrA2aAOmjHOJ0=; b=mfIkQgOPF5OGP81fA3TMu+ocv4z9Hf8XF44V+6aXo9HWNOa6XX7eyLoA5isACmr1rG 5xO+o6ua5+u76qdMJy2I8BKQ1n2amMtgH1s5NDyBBhmoKR7i2Cy27ZYD2kI1a4ozjXgE FiVQT30igysGxJYQdk9ErbHpcO9PLWOuITffLkOTcym8fiSSj1g2mhdzt5XzVOg+NJT2 YiQxFLZbvZM9pdtyFoCBeNgkwIho1C7B+hkqqBcjHe+ri09B5fAsXFEA6qXToV7Vf3Jy FcBqLW4gOTdMKq75gn/ek5VRIGUGgkJmdvWnk1rggXJcXOKg12ohI2123/ScsRjlOY2W PZZQ== 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 t17-v6si12545366plo.343.2018.06.10.22.43.08; Sun, 10 Jun 2018 22:43:22 -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 S1753965AbeFKFmj (ORCPT + 99 others); Mon, 11 Jun 2018 01:42:39 -0400 Received: from goliath.siemens.de ([192.35.17.28]:44662 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753750AbeFKFmi (ORCPT ); Mon, 11 Jun 2018 01:42:38 -0400 Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w5B5g5tF008227 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 11 Jun 2018 07:42:05 +0200 Received: from [167.87.36.205] ([167.87.36.205]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w5B5g4s4019474; Mon, 11 Jun 2018 07:42:04 +0200 Subject: Re: [PATCH] arm: Initialize hrtimer-based broadcast clockevent From: Jan Kiszka To: Russell King , linux-arm-kernel , Thomas Gleixner , Arnd Bergmann Cc: Jailhouse , Linux Kernel Mailing List References: <86a7e675-11bd-3b8b-22a0-8f440db96293@siemens.com> <8f2fd3b9-416a-992e-5ca6-fc83aad5700d@siemens.com> <35966a15-8312-5ba9-ef76-33a6cfda1f32@siemens.com> Openpgp: preference=signencrypt Autocrypt: addr=jan.kiszka@siemens.com; prefer-encrypt=mutual; keydata= xsDhBEq0i8QRBAD2wOxlC9m/8t/vqjm1U9yQCT6OJ2Wbv/qys9DYM0CvcOTDMWQwmV1/VsZj KR5YgB5NPt+To7X6x5cjz15AGnx5Fb8Wnrq8EF9ZfHMwb7YMx1LdPYPDnXr37wE3XupFmkHB Mes4htyX7Dz8LvKDLnli4IsAmWG+kV1JI6LWKXLpSwCg8JRq4SWoB4VCQxbH3GjntgvwNc8D /2q5Dj0urJ7s7sdXhrH0hcFkpSFRmU5Yd6MCwcbFHm2paL5gqVjNNUUwDBKAL9eZaQVIHKwC 44BvNGO2gcQ26R3AuCHUQ+pZHg34tok1JCNZ6IEZccb+33Qq0qbcDMJJiDYp7ppp6ozifvc4 YaqJECX48IydxfE9+41oV7T5vNAzA/QL/UMJyTnu5jiOXcyn5iFQw535lXkwKsqeXzCowLho HICZ2jITJPdTT/+9pGWwMQqST/SS35Tx4EnS3z2BWsNMCLuXCPkxF1elaMJqMfMJxFD8rAgS 9GK6zP6fJlsA1wq/UvKSL8v4QPOnTNCVOsyqJVasGV0ZPcDfcj+ClNO4zR5KYW4gS2lzemth IDxqYW4ua2lzemthQHdlYi5kZT7CYwQTEQIAIwIbIwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA BQJOpoNtAhkBAAoJEIrUrG965ecUOPUAoK+Rh12KgCjplHAS0AoiGKwGOuq7AKDEVnBtRAoy VRvp3lOlOx+P2Ay56M7BTQRKtIvEEAgA2/PlX6oyi7dToH0CJCHq0eKmZaa7CmGaVnxyeepK vIfiM8n8Td76AbG64fjREMwgSpb4F/UytF3z/03tj4e49W/zKjbBRB2/wmFRlZBC9crg22Q+ bgvMOsxnC6uHXaWN8fL+jVei/5OoHOoFqaMsX8EvploitlI/BPj+VgW26jksf3YZyk1hncls Z/IYhXzgRmVJo4RiTW/YLQAkwndwc+fKPa/IYLEDW1Jc4kNLoK0P90b45zju0hpl0C00pVOR TOtzFK9G5Ha7qOAWJfAVJORHKAkkvwftf3hkpPdLyvZUWRHXvUexmA61fLvDBAFhRxYGD8t5 gz88SF5Tzq+0ywADBQf/YSkaYrEslPWiCA2wU6EW0yaqBQAobFsOMvsufJ6o2ntq5Ncq37VI 3KCT67eHPE9x+zPcENoZWsRrC9S9PCf1LOsi7ybZsR13AJqDFlRzJZ4klh9QwgwFZxUBzOdI vttwzG1QkzHx06RKZluFYpPF3DRduSMukdIJ2wmWCU+ohB+mYefe65JGjYQfHVs8mgYVFOPx bRea9VJACCMuspoZWpj43UdR1lLLyIUFYz+jqcPW7Hd/GTIw4N67pYl0dwPDmFd4ohJ5g4Zp q61toNysBGEuEm5GCcn0VmGtQpSYnR5cVm5b2yPz4bIuFOSuZUo/l7vitdY0iy0/wvKbBC+N K8JJBBgRAgAJBQJKtIvEAhsMAAoJEIrUrG965ecULvAAoKGvxs5T3IhyQT8I8sMsyAvCE4wH AJ46S16yab+OxNkvOeoOEX0EnHVHaA== Message-ID: Date: Mon, 11 Jun 2018 07:42:04 +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: <35966a15-8312-5ba9-ef76-33a6cfda1f32@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-04-04 17:54, Jan Kiszka wrote: > 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? > 3rd try: Could someone have a look at this and merge it - or at least ack it in order to move forward? Thanks, Jan