Received: by 10.223.176.5 with SMTP id f5csp3892217wra; Mon, 29 Jan 2018 22:04:39 -0800 (PST) X-Google-Smtp-Source: AH8x226Mta8gBT6Ryfp5Hw+Mg+M723nqm4gz0xRq/VEEyfolwMkL9iR4dd0Re9Rv6PmzHhs6OFYh X-Received: by 10.99.125.88 with SMTP id m24mr22727008pgn.277.1517292279459; Mon, 29 Jan 2018 22:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517292279; cv=none; d=google.com; s=arc-20160816; b=ucIwtM8Xqf1mKoZl51vb6CCsII/7cJppkwhX6pLL1Yd2acSLgB17WMNPSNvlNKvHtV Sv35yjXWl3NDWDuoy7Ga8gllEfDkffoSTOK+SDXvxutJ0EYN6hPNANKElcYLS7tg+l2R IpTlZdDgtnaQcetJXnOvmdvdTTdk6Mu7pGro1qX0Sjw7SHvbANDGp5a/0Ao6Lt2U6xfw H58ZVifJYMRopczq+fptM3QqHeCmgVEAWAQk6EPSyXsnaxQI/Hry9wdqgClcxT8sEmrm CVvf24+um9Iu11N65W59Xc17PhTbmNsG87N7Y4EyfI87CcEKmQr9Wji/dZspkxz0bthS VVgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=WoIKNHb5wcvXTfZ3Dy6GnHhSiyOzlWQyUG77LlmTB3A=; b=s9QY250oWKH19Pd1+tKGf1nfVBUk/PpaIui6HuMi1W1kfEoDubHYokO/N409OV5clO Del/coD0K/hcfETrsLJkDU/MZR4KRchVQRDQpGqWJamJpCoa0Exa6piwbTy2pilztMZE bCgKIBnR2RoOIPpbbOo6NMLTmKWzFj2fpw8+zstlJ/nHOcmfm9WOeHq9BG+xSfBHUzlV 1rG8NvUzZ95ErkYHRL8pY7Hh0s4l3MxW0KMxPE3ANRsvZ/wfqEUozYTTqVk/x3zIDG3J p5iNO32nNSoUDbvih/vcFR74FAhWjvpM7pgiLPk35SnmwAmWXPscH2AHn9uTJHjXrwpZ R09w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=kNgXgFA8; dkim=pass header.i=@codeaurora.org header.s=default header.b=kNgXgFA8; 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 x21-v6si1080999pll.229.2018.01.29.22.04.14; Mon, 29 Jan 2018 22:04:39 -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=@codeaurora.org header.s=default header.b=kNgXgFA8; dkim=pass header.i=@codeaurora.org header.s=default header.b=kNgXgFA8; 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 S1752700AbeA3GDl (ORCPT + 99 others); Tue, 30 Jan 2018 01:03:41 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:46424 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752325AbeA3GDj (ORCPT ); Tue, 30 Jan 2018 01:03:39 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EA0476024C; Tue, 30 Jan 2018 06:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517292218; bh=wTdYs7rOq3A1NmN0WRo4rBgrQPkp7xMWyC302e3WEhc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=kNgXgFA8vYPMH5Smho/D0Z5Zb1y0gBcdYhp4ybt8xyw8UOurcIpGYNpdhoC6SIOlH iISZlWAbPIoXeFButEnJ5DppG7+oH9GLgCQUnhI/vsm5I4QZPTUrHbK8xfEA8uq2SO 0lIXyuDvTHuQIilr4Ju+GDWbhTGKdG5DzkPhISXs= 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 [10.79.40.100] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id F28EC6024C; Tue, 30 Jan 2018 06:03:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517292218; bh=wTdYs7rOq3A1NmN0WRo4rBgrQPkp7xMWyC302e3WEhc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=kNgXgFA8vYPMH5Smho/D0Z5Zb1y0gBcdYhp4ybt8xyw8UOurcIpGYNpdhoC6SIOlH iISZlWAbPIoXeFButEnJ5DppG7+oH9GLgCQUnhI/vsm5I4QZPTUrHbK8xfEA8uq2SO 0lIXyuDvTHuQIilr4Ju+GDWbhTGKdG5DzkPhISXs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F28EC6024C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org Subject: Re: [PATCH 1/1] scsi: ufs-qcom: remove broken hci version quirk To: Asutosh Das , subhashj@codeaurora.org, cang@codeaurora.org, rnayak@codeaurora.org, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, open list References: <1517287281-8622-1-git-send-email-asutoshd@codeaurora.org> From: Vivek Gautam Message-ID: <1cbfdeb0-084d-8f8b-ed66-d00fbed4a968@codeaurora.org> Date: Tue, 30 Jan 2018 11:33:32 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1517287281-8622-1-git-send-email-asutoshd@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Asutosh, On 1/30/2018 10:11 AM, Asutosh Das wrote: > From: Subhash Jadavani > > UFSHCD_QUIRK_BROKEN_UFS_HCI_VERSION is only applicable for QCOM UFS host > controller version 2.x.y and this has been fixed from version 3.x.y > onwards, hence this change removes this quirk for version 3.x.y onwards. > > Signed-off-by: Subhash Jadavani > Signed-off-by: Asutosh Das > --- This patch and all other ufs patches that you have posted recently, do they all fall under one 'ufs-qcom fixes' patch series for fixes that we would want to do? If it is so, then please club them together in a series, so that it's easy for reviewers and maintainers to review, and keep track of all the patches that can get-in after the reviews. If they belong to two or more separate patch-series then please create such patch series. It's difficult to read through a lot of [PATCH 1/1] ... patch. Regards Vivek > 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 2b38db2..221820a 100644 > --- a/drivers/scsi/ufs/ufs-qcom.c > +++ b/drivers/scsi/ufs/ufs-qcom.c > @@ -1098,7 +1098,7 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba) > hba->quirks |= UFSHCD_QUIRK_BROKEN_LCC; > } > > - if (host->hw_ver.major >= 0x2) { > + if (host->hw_ver.major == 0x2) { > hba->quirks |= UFSHCD_QUIRK_BROKEN_UFS_HCI_VERSION; > > if (!ufs_qcom_cap_qunipro(host))