Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp759958ima; Wed, 6 Feb 2019 07:57:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IbUsOsTK9g1xCAR5j+d0H1fwUhzx7G73zpWaTMl5N4F/MAektM08e5HM2TJcZbMCUoPpsdN X-Received: by 2002:a17:902:b489:: with SMTP id y9mr11520422plr.193.1549468678373; Wed, 06 Feb 2019 07:57:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549468678; cv=none; d=google.com; s=arc-20160816; b=Ff6XrAFE/HDtc+6BkZDBw7YwxiogACpDvVIOrM03niWiZMdBEjjGXGgts/WVVJv73W 53lkKWHWmgrxPi0m2FyZrbzlYAQlu+TPQlHDx9sUi+xL3o3O6RroSXkjC5i6Wyv6vC+/ 5zpUdKnzSaEaWKeyt6YPzcHNLmZuIjULXQ4I8AYSij4YSDzrFh2BWB2vTv94Lh2Bks0T +rLhmKEGo0ZK73KbFTLb3SqnYTPQn/b6TrrB2K6/VzVPUBMN8j2Q+C8Lr82LEnYyjNJX akawmnGJdHH3Lsg3lenBVo5SMSzTAo3voeNNaMzUSzpnTqGuBPTJZz8++wgnhRyMGl5T PuFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=fGc9t+qAKh+UmfOSoe3MQfcQUFrn9wN01lqhBQq18mw=; b=M917xaxUbNy/CtcF/0cvvN16jPsxF7Fy7EqtWRqltmfgicG1iPPS6AWy84Q0wMCwDE 5drx83mNkgClnq8i1u0CIK5cZg+aRL3QgFIM5VApayKPruBXBa71f28N8h9ZqzF0FUKw Gvv7nh3t0cLcZa2uDA3MVyOyK0dTsBGmiff95B3EMdiH+pwQp+6UGOWnRhazIpMJCDeV jJawLCUmOqEAdrqiu8CgiFKbagFzFjZPLWnJiqSjgXbPrHi1+2PN1drZCXkeB1t+i1CE +zn/NCh5XJWOTVOgJEUvaIanrh3ZIUxncSDoW275MwQT9qeiId1viJFnUiU/4+Nphcip 06ng== 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 93si1847055plc.2.2019.02.06.07.57.43; Wed, 06 Feb 2019 07:57: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; 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 S1730127AbfBFPws (ORCPT + 99 others); Wed, 6 Feb 2019 10:52:48 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:46654 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbfBFPws (ORCPT ); Wed, 6 Feb 2019 10:52:48 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 0D05413F8C8; Wed, 6 Feb 2019 16:52:12 +0100 (CET) Subject: Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device" To: Alim Akhtar , MSM , LKML Cc: Jeffrey Hugo , Bjorn Andersson , Andy Gross , David Brown , Evan Green , Douglas Anderson , Avri Altman , Pedro Sousa , Subhash Jadavani , Bart Van Assche , SCSI , Hannes Reinecke , Subhash Jadavani References: <70618c25-83f0-b9db-51a3-c1d74b605a45@free.fr> <5f2a8378-1f22-6a52-356d-56d3b393ab1d@samsung.com> <05d2d193-4181-12ce-b4fb-4e8dec5aef27@free.fr> <7610c262-1451-9bb2-48a6-4daf6f534f6c@free.fr> <42c86292-22e9-4c5e-d64d-bc6107af45bf@free.fr> <740e6332-b54f-ab62-915a-0aec6be450d3@samsung.com> From: Marc Gonzalez Message-ID: <2a59c11a-037f-c8c3-235a-9b21183a0801@free.fr> Date: Wed, 6 Feb 2019 16:52:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <740e6332-b54f-ab62-915a-0aec6be450d3@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/02/2019 16:27, Alim Akhtar wrote: > On 06/02/19 8:29 PM, Marc Gonzalez wrote: > >> [ 2.405734] regulator_disable: ENTER vdd_l26 >> [ 2.405958] regulator_disable: EXIT vdd_l26 >> [ 2.406032] regulator_set_load: vdd_l26 = 0 uA >> [ 3.930447] ufshcd-qcom 1da4000.ufshc: ufshcd_query_attr: opcode 0x04 for idn 13 failed, index 0, err = -11 >> [ 5.434358] ufshcd-qcom 1da4000.ufshc: ufshcd_query_attr: opcode 0x04 for idn 13 failed, index 0, err = -11 >> [ 6.938318] ufshcd-qcom 1da4000.ufshc: ufshcd_query_attr: opcode 0x04 for idn 13 failed, index 0, err = -11 >> [ 6.938414] ufshcd-qcom 1da4000.ufshc: ufshcd_query_attr_retry: query attribute, idn 13, failed with error -11 after 3 retires >> [ 6.946959] ufshcd-qcom 1da4000.ufshc: ufshcd_disable_auto_bkops: failed to enable exception event -11 >> [ 6.958523] ufshcd-qcom 1da4000.ufshc: dme-peer-get: attr-id 0x1587 failed 3 retries >> [ 6.967730] ufshcd-qcom 1da4000.ufshc: dme-peer-get: attr-id 0x1586 failed 3 retries >> [ 6.975576] ufshcd-qcom 1da4000.ufshc: ufshcd_get_max_pwr_mode: invalid max pwm tx gear read = 0 >> [ 6.983306] ufshcd-qcom 1da4000.ufshc: ufshcd_probe_hba: Failed getting max supported power mode >> [ 8.506314] ufshcd-qcom 1da4000.ufshc: ufshcd_query_flag: Sending flag query for idn 3 failed, err = -11 >> [ 10.010352] ufshcd-qcom 1da4000.ufshc: ufshcd_query_flag: Sending flag query for idn 3 failed, err = -11 >> [ 11.514313] ufshcd-qcom 1da4000.ufshc: ufshcd_query_flag: Sending flag query for idn 3 failed, err = -11 >> [ 11.514412] ufshcd-qcom 1da4000.ufshc: ufshcd_query_flag_retry: query attribute, opcode 5, idn 3, failed with error -11 after 3 retires >> [ 13.050354] ufshcd-qcom 1da4000.ufshc: __ufshcd_query_descriptor: opcode 0x01 for idn 8 failed, index 0, err = -11 >> [ 14.554313] ufshcd-qcom 1da4000.ufshc: __ufshcd_query_descriptor: opcode 0x01 for idn 8 failed, index 0, err = -11 >> [ 16.058313] ufshcd-qcom 1da4000.ufshc: __ufshcd_query_descriptor: opcode 0x01 for idn 8 failed, index 0, err = -11 >> [ 16.058421] ufshcd-qcom 1da4000.ufshc: ufshcd_read_desc_param: Failed reading descriptor. desc_id 8, desc_index 0, param_offset 0, ret -11 >> [ 16.067654] ufshcd-qcom 1da4000.ufshc: ufshcd_init_icc_levels: Failed reading power descriptor.len = 98 ret = -11 >> [ 37.074334] ufshcd-qcom 1da4000.ufshc: link startup failed 1 > > Can you check if your UFS device RESET_N is asserted correctly. It might > be connected to some regulator and may be you can try keeping that > regulator as "regulator-always-on" from your DT node. How do I check RESET_N? In software or hardware? Do you think it is not a good idea to revert 60f0187031c05e04cbadffb62f557d0ff3564490 ? Regards.