Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp454610ybl; Wed, 4 Dec 2019 05:37:13 -0800 (PST) X-Google-Smtp-Source: APXvYqyAbQGLzTlFG4rZ8E4S/qpe9bhSzG78mVqo/93N5nWwIhAhhylwLU8Z/e8ZdfY0489x2fWQ X-Received: by 2002:a05:6808:2d0:: with SMTP id a16mr2340804oid.149.1575466633072; Wed, 04 Dec 2019 05:37:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575466633; cv=none; d=google.com; s=arc-20160816; b=Nhv0+cHf5Or8nRii2HL2fyxsttVUVPzhK/e2eNcGcvQdqBQPSVsC9sIFbMI6UyRbTN n9qNhs2hNBdpeR+pNFLOCzKM3bDLyY0iWsvCRnSSQpiRkX91bijkEM3uQHpTGYNhrHAH IQNXXT2dxlpRlFXR2gpkwWsspHc1S3Aro1PqkH1w50NUPkcQjj2Udr1qM+4lExc/Ngxl Q7UO73iCegsWEKTRF8P6x2HmMYWrRltPCf2NCcnEs+KIwNJmKbbAJP3SDUA+fACoW/x/ lJWxa2bVb2UeNlbj5uDfWPcOCAAcDqvevBL5KydmlIqOtGJIr+gLq+NzIf33yekmhc6H B1jQ== 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:dkim-signature; bh=xCS1lfwtIPofr9BfV2xLTa/QhcNCHCI0ym0C/edSDAw=; b=Vr9MsOSZvDsxuJ1y5KrmUc2TMkGBSXkB++BLdcFZxZh5SndpBzn6uXgYNgPXps6cwx Fu/Z/gaCL99nkDi5BOG8DCmlKi8mrZMYuEmUQCepXXAGx2daLYl8TfNnGvvz5wZtMh90 xCWfHf0nwsXwdnV2Rjsh/TaGIRDU4MtFBvrp+S7QzvTLE4rbKlSuza0ExV9rnSyJZmWv 1ARYd5YyCPC5TA3AGTVkQkThlB/6/45tYf4IbNsh/CHYjyQMJhJwC4YVL5uc8eBMVcRE 4+gBhVilKho4MZE4UhSIVAfiD36bIstmnr//W6z93Rt9UzTxtAr5sandrJYIILxm+fZ8 lLmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Le1QT0gf; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l21si3354492oic.126.2019.12.04.05.37.01; Wed, 04 Dec 2019 05:37:13 -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=@ti.com header.s=ti-com-17Q1 header.b=Le1QT0gf; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727980AbfLDNgV (ORCPT + 99 others); Wed, 4 Dec 2019 08:36:21 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:53522 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727530AbfLDNgU (ORCPT ); Wed, 4 Dec 2019 08:36:20 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xB4DZgfg076462; Wed, 4 Dec 2019 07:35:42 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575466542; bh=xCS1lfwtIPofr9BfV2xLTa/QhcNCHCI0ym0C/edSDAw=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Le1QT0gfKf0J1Zmr9pgZT9X4k12QhPopGG8dlQQnQX17lGcjpYaQEaHQIDQIuB5SZ Nau+DeyJIwhRkh8TnJxm2B8csKx1i7fkqPQeKFe6wB/yfcqY/zD+yUO53XMcrzdyz6 FvNdmCsdCiPdp3KBEcryhCKib2EYO0TMAtA5OIg4= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB4DZg7J115194; Wed, 4 Dec 2019 07:35:42 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 4 Dec 2019 07:35:42 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 4 Dec 2019 07:35:42 -0600 Received: from [172.24.145.136] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB4DZcZa084113; Wed, 4 Dec 2019 07:35:38 -0600 Subject: Re: [PATCH] scsi: ufs: Disable autohibern8 feature in Cadence UFS To: sheebab , , , , , , , , , , CC: , References: <1575367635-22662-1-git-send-email-sheebab@cadence.com> From: Vignesh Raghavendra Message-ID: <38cfe842-c07a-410f-97f1-f2bf13fd2655@ti.com> Date: Wed, 4 Dec 2019 19:06:09 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <1575367635-22662-1-git-send-email-sheebab@cadence.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/12/19 3:37 pm, sheebab wrote: > This patch disables autohibern8 feature in Cadence UFS. > The autohibern8 feature has issues due to which unexpected interrupt > trigger is happening. After the interrupt issue is sorted out autohibern8 > feature will be re-enabled > > Signed-off-by: sheebab > --- Tested-by: Vignesh Raghavendra You will have to repost patch 2/2[1] of your previous series as that patch no longer applies cleanly anymore given that we no longer want 1/2 to be merged. [1] https://lore.kernel.org/linux-scsi/1574147082-22725-3-git-send-email-sheebab@cadence.com/ > drivers/scsi/ufs/cdns-pltfrm.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/scsi/ufs/cdns-pltfrm.c b/drivers/scsi/ufs/cdns-pltfrm.c > index b2af04c57a39..882425d1166b 100644 > --- a/drivers/scsi/ufs/cdns-pltfrm.c > +++ b/drivers/scsi/ufs/cdns-pltfrm.c > @@ -98,6 +98,12 @@ static int cdns_ufs_link_startup_notify(struct ufs_hba *hba, > * completed. > */ > ufshcd_dme_set(hba, UIC_ARG_MIB(PA_LOCAL_TX_LCC_ENABLE), 0); > + > + /* > + * Disabling Autohibern8 feature in cadence UFS > + * to mask unexpected interrupt trigger. > + */ > + hba->ahit = 0; > > return 0; > } > -- Regards Vignesh