Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4294006ima; Mon, 4 Feb 2019 13:48:57 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia1otptjGe4iRYFHUah8MScbxKJp4GF4jdAEEVo47T7bDirwBA2l/II9Ehjp3Fy70iE19Uv X-Received: by 2002:a17:902:29a7:: with SMTP id h36mr1579766plb.244.1549316936951; Mon, 04 Feb 2019 13:48:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549316936; cv=none; d=google.com; s=arc-20160816; b=Z8C0v18dsTmMHMkNOI7T5Ci53MldKsRr088jY0tXXZcnqChX1W5eW406ItrkoK1pQo N4V4vv358woup+oXojTIXzBo7+XPlFsRMzOpSuYE4dYGzvi7CAb1cr6w0kPx9Zibx7ud 5TJjyDcbDi+7HXFTEUC5OF0flfYlNorHVRORf0TnmOu1foCaJ7pXSpo/Fut0vq5y/sX5 niAGa10eH7+fT+QCqRlcT0aFUrwlXLUsWTCdshz3V8tXqG/IDKOI1oOAQqUPiwEtQi0d LPGaKo3MXs5oCPhu9PSAe2+yhv6n+QCLfZjEmBK1HWVeB9lOz17WuhgX/3oGv5nMtVCL AmmA== 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=wdLSqhLPKN2EEKdx2B0HGi5sPc58D9gc3rPgD0nedGg=; b=Sl3zALJ6i01oRcdwzcV2ZcsX4XSi471ZZ55m+DCJggzJ3B+VhG4b0kRHS35PPazeGT NkvlMOS9BJzl2y86WFMQnvdABhrHFrUXblnd20wO5/wgBeYMunzwvJFogaLoTrbpDnbe wpRdZkzOdxyZvHAj49xdMAcf/aInZLzKztgOKv78DMWNeh/zXOwM1GTNcqimTc+Bv3QD 6cHq2PbXuH3jeQ75LZbukC8ZUROMkuE3SoXPgsIL74cRxzEdNRPf2Tq3nxnLNbunX5v3 dPgIZmMnM9E7FwzAycRStZR5lUEUjA0kthRbaLj2rslUxXBOs2NfG+bBp03YZwb+QqPl i61Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EZjsx4x3; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si101229plt.394.2019.02.04.13.48.40; Mon, 04 Feb 2019 13:48:56 -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=pass header.i=@linaro.org header.s=google header.b=EZjsx4x3; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729174AbfBDU1I (ORCPT + 99 others); Mon, 4 Feb 2019 15:27:08 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:33490 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728864AbfBDU1I (ORCPT ); Mon, 4 Feb 2019 15:27:08 -0500 Received: by mail-pl1-f193.google.com with SMTP id z23so472563plo.0 for ; Mon, 04 Feb 2019 12:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wdLSqhLPKN2EEKdx2B0HGi5sPc58D9gc3rPgD0nedGg=; b=EZjsx4x3T0oQiRaP7p9OJImga+MBjmPDT6b2gq8aT8WjJYRC2zQL1volGBIG6NTEIc VZOyiJfqlnXurJdFmDQk019b1xLIGT87O5XDaAPGjJz2bliWqjt+7ovWyF1tlqGFen42 fbIy4wphTtfwH7GFwKDRMTuSyITER4ZsHVpI0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wdLSqhLPKN2EEKdx2B0HGi5sPc58D9gc3rPgD0nedGg=; b=umdf+y4VrZSmT2wk5vI0rSYrf1rTDZt4bX83siUHmDR692cyWCArplTUCmGV4/lhhA lkQGvEC1LOJoU+oRvbnubQOZuerY324hJqCLt/4Hb1LzhA7pfc4lkD+Q6TkZhPl/t3Mi WKkq0H9GthPqCdJgB3tdXk6qij5Y40MVQ3gG5VAV17iPSN3jDQ8EQr+nKEQqaDaoEJas w4flY31uhP2wpBSvS33zUkuo3cEhqkmIZUVZf0ULol5y2vf7QNpT9EqLbpxSyPGNtc1Y HPC4VRcT7LKGuPdTsOhjuSITytdkfnIgihbiffQuFJAw6XazuPE6PLTMcJFAo++rs47u /3Yg== X-Gm-Message-State: AHQUAubwUctAcKjpn4xRZYp8fnt4/eG+4TjajvXbx5wPEkveUdaTKTeD FdT5BYYDyV8fAGkrPmwM9oxndCyFvh8= X-Received: by 2002:a17:902:be03:: with SMTP id r3mr1246221pls.68.1549312027465; Mon, 04 Feb 2019 12:27:07 -0800 (PST) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id r187sm2491204pfc.63.2019.02.04.12.27.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Feb 2019 12:27:06 -0800 (PST) Date: Mon, 4 Feb 2019 12:27:04 -0800 From: Bjorn Andersson To: Avri Altman Cc: Marc Gonzalez , MSM , LKML , Jeffrey Hugo , Andy Gross , David Brown , Evan Green , Douglas Anderson , Alim Akhtar , Pedro Sousa , Subhash Jadavani , Bart Van Assche , SCSI Subject: Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device" Message-ID: <20190204202704.GA31919@minitux> References: <70618c25-83f0-b9db-51a3-c1d74b605a45@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 04 Feb 11:51 PST 2019, Avri Altman wrote: > > > This reverts commit 60f0187031c05e04cbadffb62f557d0ff3564490. > > > > Calling ufshcd_set_vccq_rail_unused hangs my system. > > It seems vccq is not *not* needed. > This patch essentially implements the UFS_DEVICE_NO_VCCQ quirk, > Which is needed for both Samsung and Hynix devices. > Once acked by those vendors, can be removed from the quirk list as well. > If a device does not need VCCQ, for some reason, then why is the VCCQ supply specified for this device? Disabling unused regulators is already handled by the regulator framework, so why does the UFSHCD driver take this role as well? Regards, Bjorn