Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2511354imm; Wed, 16 May 2018 14:11:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqCkcukx9GL+vmjAHaw2BRJ2yToxYvfolOmcSn7cWouvd/MpM1ft8lzEmN3JJXJJcEGLSWa X-Received: by 2002:a17:902:a711:: with SMTP id w17-v6mr2507030plq.292.1526505116715; Wed, 16 May 2018 14:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526505116; cv=none; d=google.com; s=arc-20160816; b=XSEnvKHQOjpOT+Yi2D9v4O1ilMYmaZycCP1/oNocE2g5b61N2llLOuMp2cCtJokaeQ 5bdoeyHIH4eWaYD09s4p86Uuu4UKthbhTjv/ipL5rINoUFdycXhwCR2e6CDeaqNAx8Z9 r9kEiFmL6OYIir3WgMpoFGURxRwOH3MIkdhCHcBTJTE8QqX/iYtF2fGVqK5BNic6/SZi G+PkjqwGL45WlhhuRDFHgdqPJggFTQunjzOr+MoIRiykl0gqKf/bTQ3x+79kF+9AVSyD KdnhDXcZcly3Miyy+nTohlAuTQHW3Q0S5fCVnU4UOxOsk2BaFtlO1RzV8ZCcsQdb9lAB pj+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=oJ4KqHndK80BwQQWZRBhIPdwenoZBijl9KXymroXB40=; b=oVTKmJuQikNs5v8rPlLWonJzp/t4MxkygOV6TmS+CZqZBkDt48Fvi7jjb2risvBNIn 1MnWA5U/NhKH16ZAtLMVeQQXC0GrYbAveMfRV/RN4OrATtgP7rqjMms/Jt+1nwWF9U3j W1z+JPs7TFHDHcqzekKcZgYa+TSrwjcuetIGGdoDXPGPv7GavjbduQKhqgBN00ZZ1vUn tfkt3GXsueqYRM/YjHxGrNeRlmTeGxAydcc6GifELOBTKGHOPZHYB7KTYVSmvzzV9iDz 83PT0gu0coB+rulMsDWFlAC4w5e0XYQ+gF1JDtCevWrDkIRcuKo1Ve/I51kXFdsa/GYf a2Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=WKse1DdB; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZGqZOQXY; 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 k75-v6si3402695pfk.369.2018.05.16.14.11.42; Wed, 16 May 2018 14:11:56 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=WKse1DdB; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZGqZOQXY; 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 S1752240AbeEPVKz (ORCPT + 99 others); Wed, 16 May 2018 17:10:55 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:53294 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbeEPVKx (ORCPT ); Wed, 16 May 2018 17:10:53 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 809DC601EA; Wed, 16 May 2018 21:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526505052; bh=51vJTFajDL51WBNqCImBGNoj+4LPSX0ehmX4MpTcHmI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WKse1DdBVqWeBQth4u6UUBW76xNTlcCPO6+fHLxI/xwMKqrs+80YHp+mb/p+SQyiL EFQT0X5SdP2xL4qLLYVCipezDmRioiTQXd/yqx+ENwFOSxmHv/GxoDMmFyujPuNlRd M+zqehPBktP2X7EYt03z8C+Cj4SnzSwwpJKwMH3w= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 5B4DE60209; Wed, 16 May 2018 21:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526505051; bh=51vJTFajDL51WBNqCImBGNoj+4LPSX0ehmX4MpTcHmI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZGqZOQXYodZF3mm2Q3vNMrs7d2ZjDwvMu2ploAbMUR2kpGdTvVwSNdFsF56JdsxCA y+r//7C3rQJAyuTUyIdkpbc51RtfWzOzbAZopqNece9SkT+D4psoDEBz1o7c1x5MMs bE3wGjyCZn0viw1EAdNvZNaJsKpLNEpN2/T4BlkQ= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 16 May 2018 14:10:51 -0700 From: Subhash Jadavani To: Asutosh Das Cc: cang@codeaurora.org, vivek.gautam@codeaurora.org, rnayak@codeaurora.org, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-mmc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 02/10] scsi: ufs-qcom: Enable UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE quirk In-Reply-To: References: Message-ID: X-Sender: subhashj@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-05-03 04:07, Asutosh Das wrote: > Enable UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE quirk to avoid failures > in seen on some UFS devices. > > Signed-off-by: Asutosh Das > --- > drivers/scsi/ufs/ufs-qcom.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c > index 4563d2e..d9edef8 100644 > --- a/drivers/scsi/ufs/ufs-qcom.c > +++ b/drivers/scsi/ufs/ufs-qcom.c > @@ -1105,7 +1105,7 @@ static void ufs_qcom_advertise_quirks(struct > ufs_hba *hba) > > if (host->hw_ver.major >= 0x2) { > hba->quirks |= UFSHCD_QUIRK_BROKEN_UFS_HCI_VERSION; > - > + hba->quirks |= UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE; > if (!ufs_qcom_cap_qunipro(host)) > /* Legacy UniPro mode still need following quirks */ > hba->quirks |= (UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS We may not need this. -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project