Received: by 10.223.164.202 with SMTP id h10csp870150wrb; Thu, 9 Nov 2017 16:13:58 -0800 (PST) X-Google-Smtp-Source: ABhQp+RwwqceUtEXDvyXuhTpj8Lzot05C5pCJjxH75epTCRDezqtuZxYtXqOiBtbmKzMCR1WQ155 X-Received: by 10.98.200.20 with SMTP id z20mr2267421pff.65.1510272838608; Thu, 09 Nov 2017 16:13:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510272838; cv=none; d=google.com; s=arc-20160816; b=dNa+o3y/GUhuIf7mFaQfLNIlRv7idXQAdpw7HsVCg//9v5EAPuW5cWm+WAh++tTQYm WFT2cROeYE1WR2Hck1ufeLApmqC4EYki0V65slBN2mkl71pLJT1cjRGvjIwK8I7sAqqS qHgLW/4n1YqQ0ZpomfF58JM5bHYSWNCH/4ajRoUL3BDpGy/Ndat3iRn8WvqYbIV9nQ0j khhxuxwc4QDyO0FQip5Z3ou8ytNt8g0cFFIiOUAF0aewXxoyIKACgrw64xuG68wX5Xk9 cgnKdKzso1V+P1yMh59wxYYEnmRdqEOQvLAGeBzjjMUarZvXe1Gv/rpOl4LRgNEx8gNF CuBQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=9LRgs79Dh0Ezm06A+55tG+RfEy7WKx4GY6686NsenMI=; b=MgbINS7MIWTTB9aBFWELSYtWI12P2eOiXoT3Gy3GMtle+jDxtgzK4wPXkX37xNuB0k FTIlByIGRBqXyZaQzXyquliqH9GLs6OY7aPTZBSaEt9kKEEVzi91CvswOYZMPMRdoMrL SmIa5priRjGr3WkH0PwMtXGu7CBLGJjyEfb4ajjP5qz2xN+DPEPUCAVWxeTHh6/2xHkR PdZobuQLfCQccSWDC2gSoOpV1Nh/1q+JXZnB9WgveE3L0BWXz/DEw/GgEA20C2+Ezz11 Ja5WLqvvzP73JcavBmrb+/DFU3+NUCrd3nMr5KakcAozTLr2XhbleHqo6YioQZ1tVUd1 m9hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gkhpph6i; 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 m2si7297976pll.429.2017.11.09.16.13.47; Thu, 09 Nov 2017 16:13:58 -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=gkhpph6i; 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 S1755342AbdKJANG (ORCPT + 83 others); Thu, 9 Nov 2017 19:13:06 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:56629 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755196AbdKJANE (ORCPT ); Thu, 9 Nov 2017 19:13:04 -0500 Received: by mail-pg0-f67.google.com with SMTP id z184so660566pgd.13 for ; Thu, 09 Nov 2017 16:13:03 -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:content-transfer-encoding:in-reply-to :user-agent; bh=9LRgs79Dh0Ezm06A+55tG+RfEy7WKx4GY6686NsenMI=; b=gkhpph6i89PmJ1tIP6PB1hZE0dgRJ5bKfS2RgwnCN5eYijQO2G+Ucc3kRHCP20HJsJ 318ihwbXB4xlyCkcKdi6XmQQIr2N7cxYy2NzW1IMt7vMuQAkSATQXxLeKODCtpyyeRKj bBQjh/qT7RXs9V0EmgsdDXwy0OPjLmorVKAe0= 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:content-transfer-encoding :in-reply-to:user-agent; bh=9LRgs79Dh0Ezm06A+55tG+RfEy7WKx4GY6686NsenMI=; b=dTMG/WVDr2Z0uB/rCok3A99ptS/3ZIbgn4HMj4JmtkbhUt2A0QDQtZMwou2F6fDV7R opHGLFOjKhFt61jbYhd40E8Hah0r+DCVVmCFe3+MMjPydqm9Uq6HGx4g6uBsOEh1dOFE d14gNfijgjKMD2ds219doKNN5p4cCxytp04/FyDUdz4NwenuxhOkrkkFVudSxtZEXe9n xCIugNEtviOB/rhlYl+uNVOJyypZ2AaoQa8CKgUtMb2ncxiJfN0Oc6twTst49R2I35lr ZUdFp/pTvzv0QYarjfWdPP1PF6Glx6zXBr8FZsDy5tQTdrk8d6eS4f0wQlKLX3lZZEaZ CBXw== X-Gm-Message-State: AJaThX7ifCFEwSChYj5Z8aXS5EZZjTud9NpZ+DUE+muvOwa31DcctzlI 3Bl7lCj5Eg2iRNn8JpFUCtAKRw== X-Received: by 10.101.75.14 with SMTP id r14mr2214730pgq.232.1510272783426; Thu, 09 Nov 2017 16:13:03 -0800 (PST) Received: from minitux (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id y5sm15138821pfk.3.2017.11.09.16.13.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Nov 2017 16:13:02 -0800 (PST) Date: Thu, 9 Nov 2017 16:12:59 -0800 From: Bjorn Andersson To: MyungJoo Ham Cc: Chanwoo Choi , Kyungmin Park , "rafael.j.wysocki@intel.com" , "chanwoo@kernel.org" , Inki Dae , lkml , Linux PM list , Vinayak Holikatti , Vivek Gautam Subject: Re: [PATCH v5 0/7] PM / devfreq: Use OPP interface to handle the frequency Message-ID: <20171110001259.GD28761@minitux> References: <1508722332-10628-1-git-send-email-cw00.choi@samsung.com> <20171109235654epcms1p29b8d05dce899f1b11919823ed66cbd1c@epcms1p2> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171109235654epcms1p29b8d05dce899f1b11919823ed66cbd1c@epcms1p2> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 09 Nov 15:56 PST 2017, MyungJoo Ham wrote: > > On Sun, Oct 22, 2017 at 6:32 PM, Chanwoo Choi wrote: > > > These patches makes the devfreq to use the OPP interface and clean-up codes. > > > > > > > Hi Chanwoo, > > > > This patch series breaks UFS support on modern Qualcomm platforms > > (e.g. MSM8996). > > Could you please show us the code location of it?� > The driver is drivers/scsi/ufs/ufshcd.c function ufshcd_probe_hba() calls devm_devfreq_add_device() without there being an opp table associated with hba->dev. This used to return fine and ufshcd_devfreq_target() was called with *freq = UINT_MAX. Unfortunately the driver seems to be designed in such a way that without a call to ufshcd_devfreq_target() with *freq 0 or UINT_MAX some clock is left off, causing my board to reboot; so there's unfortunately a few levels of issues to fix here. Regards, Bjorn From 1583634836793899106@xxx Thu Nov 09 23:57:50 +0000 2017 X-GM-THRID: 1582010376374599170 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread