Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4079152imm; Mon, 25 Jun 2018 09:21:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJI3Cjvf9cGI4mMyKAhTPHcNnNjZWU2m2fFbj7kPjDmfZGdLZi0wIHoQ7T7SbuLewPprK/u X-Received: by 2002:a17:902:b611:: with SMTP id b17-v6mr12946512pls.284.1529943689475; Mon, 25 Jun 2018 09:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529943689; cv=none; d=google.com; s=arc-20160816; b=u0adPqmceZWQavkm1JCbMZcI0qxMTwpk55z37iTQPo2Kcf6+s20268psu2gAdUNu/p JUzxjOTvB4/NIhAw2b3f4LEz88lertp+Dr9GgiQX6f/lespTAkBiCb3q0ymRiGbk180m k01hydyT7QPiHDRSk4s7BCPqX3y98qqT63pMMFePTgE1Q+GuwEJVrYY3Sw7em6QqDeBE FCl8TsEMxNmutOI+ATAO9gjLVu0HB6GPfFK1XlFN+62y/bOnyNT2EBxpUfmgCPnDZ73U BpL4xRc4KuUCLGGDfL06NBRpSnj3dAhVIj+cBXTFDFyO4fBKBiToKr0Q8ZO0lXgVKBvT 7VLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=HryL/iAYUMFnIzUvv0jRYiu8jxuVaDYuttuOXJKz9Hk=; b=ElYn0SRwTOKIzYL6pCqw7IOiaQUN9k9Uz1Cp6UahPPY9ocHtAysnekFcTXFvtpWE61 zQ5apygIoOeOCwynMntLkwZOJJwSVplh2zjN3Wca5N4AukudcRqb9w1LNfv0E8RlPzJN lmMlLBsJymcvrJQ6rL0HxL62MBj+c5QQ6sVeJExludOu1T3+eQhJk95O0BNydb0CyWWe +boCSoawCXzdR6bpVYfg26syn2M/WupuGRni4jSKScStoNAFXo2zOd/u9aHy9Dz7yx+S t5IstiG0YXQYSk3F6ImVoUux21HHBUEsZ2UcEirNUPrdgorzExMPAgvOB/ol3sTfaLoC f+mw== 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 5-v6si9383030pls.450.2018.06.25.09.21.14; Mon, 25 Jun 2018 09:21:29 -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 S1754723AbeFYQTd (ORCPT + 99 others); Mon, 25 Jun 2018 12:19:33 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:47029 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752211AbeFYQTc (ORCPT ); Mon, 25 Jun 2018 12:19:32 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fXUCW-0003Nr-8I; Mon, 25 Jun 2018 18:18:48 +0200 Date: Mon, 25 Jun 2018 18:18:47 +0200 (CEST) From: Thomas Gleixner To: Baolin Wang cc: john.stultz@linaro.org, daniel.lezcano@linaro.org, arnd@arndb.de, tony@atomide.com, aaro.koskinen@iki.fi, linux@armlinux.org.uk, mark.rutland@arm.com, marc.zyngier@arm.com, broonie@kernel.org, paulmck@linux.vnet.ibm.com, mlichvar@redhat.com, rdunlap@infradead.org, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, pombredanne@nexb.com, thierry.reding@gmail.com, jonathanh@nvidia.com, heiko@sntech.de, linus.walleij@linaro.org, viresh.kumar@linaro.org, mingo@kernel.org, hpa@zytor.com, peterz@infradead.org, douly.fnst@cn.fujitsu.com, len.brown@intel.com, rajvi.jingar@intel.com, alexandre.belloni@bootlin.com, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 1/8] time: Add persistent clock support In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 24 Jun 2018, Thomas Gleixner wrote: > The clocksource core already has all the registration/unregistration > functionality plus an interface to reconfigure the frequency, so > clocksources can come and go and be reconfigured and all of this just > works. Just for completeness sake. If this extra suspend clocksource is not needed, i.e. because the system is not suspended, then it does not need to be enabled. clocksources already have an enable/disable callback exactly for that purpose. So instead of having the clocks running during normal system operation the thing can be OFF and save power and only be switched to ON when it is actually needed, i.e. when going into suspend. Thanks, tglx