Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3989623pxu; Mon, 12 Oct 2020 06:47:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy70juSOAZP27ZW1MBanY2M0fg7EV9vUSLPrgeAMXpXDp+CuMUwgfPMFW1EuHKwyIer4pOP X-Received: by 2002:a17:906:4ec7:: with SMTP id i7mr28272594ejv.439.1602510464873; Mon, 12 Oct 2020 06:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602510464; cv=none; d=google.com; s=arc-20160816; b=xZyi3vMqS5iczWrkyWc8zDK+WpVmRgrKxT6r/4R2iXwleazS8PfLixLkt9ZUlXIHTZ oloW92qO9Y7w+xtCJ2PezP569HhmRACQ+ak9J/kToFm+tpZWuVHc0Ed+dPxjmaUDSbXA wd1q956jotT+s6QiuJxSwBQZxlVlKqnccmezvH33QinRMrr9KbgqSHD7ILFvgBWo1+ML 9+1wO+uYLDtRi6wiWUA3QdQv/1/IFa13X1vhWUpda/R/F1F4i6LCncCoyqweke2nZ6m2 2LYKf4EQgbXD/Oz6Hl/zwzJg6lpMncuLN9wEoPQDO72QwFUwvtOj8Drb/kqODMKCpW/7 JlPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bYiXYspH2opih7gxxr1y5tB08BScTIHRL/lNV0ZG6iI=; b=ZvS9Nm0GVVii36F8OWipxG3xm9nna1L00Xm7vjXhQyknmzDGQri38BSYI6s+/fMjnp kzL7Eo8G/LemfBg+bxFq1VsdAXSU4aGkjDThSoLfn3lCZTsYgMqEton9yz9DUQyB/UCr lkZ0rrPGwDMfGR+jbODsWRFXiKVIyI7/YW84/gjCtP1waKCcXdEdz5sA0lkH1l3vrcOJ GbP0pYYeMW9w5SXOTjMlF4boN7Jzx0XQgvg/lQsVkxRYRSh4bDDqTRzHT5nDdNTIxwmA sQCzcpNZKwS2ccKKCiRmR+TYHaxGWhUcOVFB02O5/sPO9PGNgrWwavSwuX09BlWjpCsI QmlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=txq0RQbt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lj15si11516565ejb.612.2020.10.12.06.47.21; Mon, 12 Oct 2020 06:47:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=txq0RQbt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389328AbgJLNn1 (ORCPT + 99 others); Mon, 12 Oct 2020 09:43:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:47114 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388714AbgJLNmQ (ORCPT ); Mon, 12 Oct 2020 09:42:16 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 764AE208B8; Mon, 12 Oct 2020 13:42:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602510136; bh=rTaWeqywKyHZNaFmITXkZVv9/PkyyIX816PW7SNWlxw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=txq0RQbtTjH1t5L8PQng/aUUdcMyaEzgTF+Wdyor97lV/8MLcOQW522Cc7p0+wZIh QTgQ6Gds2xMhmUY9a0ADQL9x8mq6x4TVtK/rmyZg/9pVApNdabFVzRmVn14HHBvRTh k8+7TagrYe2Q2oWy43gCLXwEkUklTz+syiyCL4Fs= Date: Mon, 12 Oct 2020 14:42:11 +0100 From: Mark Brown To: Sascha Hauer Cc: Christian Eggers , Shawn Guo , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Clark Wang Subject: Re: [PATCH] spi: imx: Revert "spi: imx: enable runtime pm support" Message-ID: <20201012134211.GE4332@sirena.org.uk> References: <20201009042738.26602-1-ceggers@arri.de> <20201009073944.GA11648@pengutronix.de> <2670390.HS4A6M72fu@n95hx1g2> <20201012132821.GE11648@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C94crkcyjafcjHxo" Content-Disposition: inline In-Reply-To: <20201012132821.GE11648@pengutronix.de> X-Cookie: Fremen add life to spice! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --C94crkcyjafcjHxo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 12, 2020 at 03:28:21PM +0200, Sascha Hauer wrote: > On Mon, Oct 12, 2020 at 12:59:34PM +0200, Christian Eggers wrote: > > What is the benefit of controlling the SPI clock with runtime PM instead of > > doing it manually? > The clocks are reconfigured less frequently with pm_runtime. Especially > when enabling/disabling PLLs are involved pm_runtime can increase > performance. In particular pm_runtime has support for deferring the actual disable so if you get lots of activity in quick succession you don't actually ever disable things until the activity stops. This can really help reduce overhead. --C94crkcyjafcjHxo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl+EXTIACgkQJNaLcl1U h9A2Igf/WNXC40I0lSAeUPBKRg2IXrUnfh2VeWaz5yiHlMmmwFIF9/ZtJWMTVQyx fXXw3bDDp4zeFexvmfjRCa8hJcF2YCZQ03LH5iq0ME7oxZ48PFZephUgbrL5TZon 8gJeup8UsLcmuNd3gapzw3ZvlRpUWIMOpNJuq9sfkKy8I62eULIKPkNM9xAZ7jqA T+kTdUrqi9WeiphNu32wFk0aDCn9xKGWTs3msPLDjJDdagbFd4woXbGWl0Hneuwi wgiSMiHQ5z8JAGq8WNaGiaS+9hXQ45OSP9XfLv3FqAW/+vXVJHyLR3EAW9qDh2ra vfCRe+uh3oLM+GCLoYwa6Nj0DRN34Q== =snZ0 -----END PGP SIGNATURE----- --C94crkcyjafcjHxo--