Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3026718imj; Mon, 11 Feb 2019 12:32:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IaY2GG8pcetg9WnbcYeAXivZwPyvePOEVicuEczS+r/VE4GvoiEcBGeecfRlZ7AhM6MrXmO X-Received: by 2002:a17:902:ba90:: with SMTP id k16mr87642pls.214.1549917132241; Mon, 11 Feb 2019 12:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549917132; cv=none; d=google.com; s=arc-20160816; b=LyPJvk3VRv4Dkt6y8Bql/6jzjMTU85kzvtgs5Zk++EYa+Zh4ETDHV68nRPxfXJM7qK W5qdQQ7lpjZkVliavnAwaEMfweWKcML9naQ8SQ0AGdnjur1mb4YIgKTSrogc7P2Hv3Tz fBI1gDIMC9XOHOuXHW73Its6SD0e+z/Lfnh+oIr2G/gEuGcwvYtxT9uPUFqSWixFtU3H atuFA4/NjKPrYr2Pa8Zr6PVYlen2UhG8WaG7fSL2lC6tLKTJXI6Cj562T7FA1LH5/Duc nAZaqKkGye9CHe+vpU0dDMuVWqzUmnrBb1yIuCGGt3ldah8e1OeM5f7XSu9gO8X5YLbL zsqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=39jttpbGpX55E2F7AHZhg+5THDFbiNREVysQAZd+ftE=; b=RjcDZfDf36rJU3RLy+JR1Gl2rlxK0CFn+YZz5VvMyisOuh7jR9/NoAj0+6eDoR20ZY ADLkp7RssFcQbCFhceoHkcXH4e+a+kF5tbYW7eqxVsgVt++PRQ1SFU7CO0XZ7LKj6vr1 xzeqoW8ebdmYvR8Ca+rM/VXKTLWhMyVUHXcfU1IJdq6CtELB9dA04m9K8hKt8mGzeIDn v7ApRz+gzDoEKnO6mkP7yZcs5QpyskABrwj1KOLNghx1lDc+Paoj92S0B+2nO4JvotrJ P106ckZzP4M3DywNOT1BEGE0ZBEFE4BdY14F24C8s0gjscK0fSQIDowcxd9f8RYsk0gD oTTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=R0b4TVal; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d72si3393276pfm.284.2019.02.11.12.31.56; Mon, 11 Feb 2019 12:32:12 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=R0b4TVal; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727620AbfBKRX5 (ORCPT + 99 others); Mon, 11 Feb 2019 12:23:57 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:33278 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726243AbfBKRX4 (ORCPT ); Mon, 11 Feb 2019 12:23:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=39jttpbGpX55E2F7AHZhg+5THDFbiNREVysQAZd+ftE=; b=R0b4TValXqp7595lEgrt09l6u g6zSUoRLNkGp4olk4XvejNLdsy3/c4EE41/iqOjz44VE4m2uTMuJTxLBB5s3UMQpgaooiV0vOOUst jlx1sxhrkctS4ptpOQX7uivHlkdMXgk4rLprvfq5lvnZFP9QT7RqQnC0zCCsgubGortpM=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gtFIy-0005ML-Us; Mon, 11 Feb 2019 17:23:40 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 5D74D11280BD; Mon, 11 Feb 2019 17:23:40 +0000 (GMT) Date: Mon, 11 Feb 2019 17:23:40 +0000 From: Mark Brown To: Marc Gonzalez Cc: SCSI , LKML , Jeffrey Hugo , Bjorn Andersson , Evan Green , Douglas Anderson , Alim Akhtar , Avri Altman , Pedro Sousa , Joao Pinto , Liam Girdwood , Rob Herring , Bart Van Assche , Stanislav Nijnikov , Alex Lemberg , Ohad Sharabi , Venkat Gopalakrishnan , Subhash Jadavani , Yaniv Gardi , Gilad Broner , Raviv Shvili , Hannes Reinecke , Kyuho Choi , Martin Petersen Subject: Re: [PATCH v5 1/2] scsi: ufs: Do not disable vccq in UFSHC driver Message-ID: <20190211172340.GG22391@sirena.org.uk> References: <494cd639-89a7-8868-b63a-ea7cdcba9777@free.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Cp3Cp8fzgozWLBWL" Content-Disposition: inline In-Reply-To: X-Cookie: Tell me what to think!!! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Cp3Cp8fzgozWLBWL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 11, 2019 at 02:32:15PM +0100, Marc Gonzalez wrote: > Unfortunately, this optimization breaks UFS on systems where vccq > powers not only the Flash chip, but the host controller as well, > such as APQ8098 MEDIABOX or MTP8998: ... > In my opinion, the rationale for the original patch is questionable. > If neither the UFSHC, nor the Flash chip, require any load from vccq, > then that power rail should simply not be specified at all in the DT. If the supply is physically connected it should be valid to represent this in DT regardless of how or if the supply gets used at runtime. However it does sound like this support needs to be better thought through to make sure we have represented the supplies to the flash chip and the controller separately - it seems like right now there's no tracking of the supplies needed for the controller and the assumption is that only the flash chip needs managing which is breaking things. --Cp3Cp8fzgozWLBWL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlxhr5sACgkQJNaLcl1U h9DznAf+PetfOWZBsXUecbqnEpq3HNh++HyGkM2V6YeTI2IexM+xHc7igRo1ouCC fuKl0fPPAY8LEN0UPRMKNN/BDasMYDIq5N5LbMLC/an/eVXql6PKz9zLYNyf823p UwY6H779Ah947Qb2BZNKLNmO5wbp9gvq1DyRFvSAz62mMe7aWAx+B9xLyULe23MV 6+iR9ud/p5qIrHRat/4ey0S2z6ENntgOtGMvSE7t4Ks/nrgpmsl/Tj+V+rXBf9eX W5DXlbC7OqFbynBEx+Zco/9S2VpNyIrpA6JLcRX/d/kk5owY36MIArTaKCf//Fjz mzG6c4B1j3+gWSPmwgj9F0Nqj1Q2Lw== =Eslj -----END PGP SIGNATURE----- --Cp3Cp8fzgozWLBWL--