Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1751919pxa; Sun, 2 Aug 2020 20:02:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbnyzdcsP5BF0tzlD81Cf6xwRs823dmDPjwxih5Amb2MYB6T11ipYdkfTHeDUGZSGbbn8p X-Received: by 2002:a17:906:c18d:: with SMTP id g13mr14314708ejz.239.1596423775861; Sun, 02 Aug 2020 20:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596423775; cv=none; d=google.com; s=arc-20160816; b=bPRG2iW3C7x67JQWZdtN93xPZ9/05gl3V7KwZyCaDL8qbXyT7pphiwScGuqwCEc9v6 E8tbH46CPHJ4v7t20KlukJEBqBgedtG/rKlz+G+i1WNuER3mLEKq79917n3g7x6juwd7 lrWxXqcCEvyX0V8YAJ5jz+AMWp2ebhjRGMUBRTjymjez+pjuXl09Otp0P3LK1FcRZZdU IXN3xeROYxEzb1LbiA0nftySqqsPGi7t1U7X2Uios1Iv8RXEBYH1q9d+XHkzBlAGUvnk ElUctVvNeiZSEVnO/TdHfvdYWBwpVF8idaFBhXjm2sfJtQ1vZvsbox8AJ3Fuh/S6xq2P 0iGA== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=/kxTQE9CDzhxGuGgPlgmP9bTn/KdeKuThJByduvI1ik=; b=zVuahgEx8NXBNweCS2zNm+0qVf0MZSybHQgWL+pGZ/KEO2wVsMj2cDgQZYVRIYmGVl rFsVFNfR0vnJHCI/vq/X8oOL1tHYkemN6xQbUw1W67Jgh65OqOZ+utl+28v7W09Y++bL UbVAcTm6yyi2fqMuklJC598F5kZyOwKOuUfcWgiKZGccsxP04K8yaQBc4tV9Naluofb/ ASC5pMYq2M3qiXNzbyowqy+qnL86ydoZpLkPcaJEiM2hga2uHeBfkGk8j+UaRW88pklt f9jfz/9xPNxcfmeYNTdNqSnyYa0bSdByiBBhZvVbRFSjkVxXTNjMasyDWJdoDlsMvgn5 bXjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qYEeL6Um; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si9610265ejr.295.2020.08.02.20.02.33; Sun, 02 Aug 2020 20:02:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qYEeL6Um; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727008AbgHCDBR (ORCPT + 99 others); Sun, 2 Aug 2020 23:01:17 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:7067 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725820AbgHCDBR (ORCPT ); Sun, 2 Aug 2020 23:01:17 -0400 X-UUID: 11a4f73b12764248aca85402975a2288-20200803 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=/kxTQE9CDzhxGuGgPlgmP9bTn/KdeKuThJByduvI1ik=; b=qYEeL6UmeDwja9PEB1awHXwpS2301M1SP6niWgTjTRRQDukZABIHDMI0ipKo4zUqkYjleWDMvH/8glNbey/umuz2DpwG9akUht0Wi9WigeduCXpbRbBYWGe2pvYRNQsQweYjKwzbcjddTLuAX5Cn1822JV0Zb02jRezl0/5liXk=; X-UUID: 11a4f73b12764248aca85402975a2288-20200803 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2102964621; Mon, 03 Aug 2020 11:01:00 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Aug 2020 11:00:54 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 3 Aug 2020 11:00:54 +0800 Message-ID: <1596423655.32283.7.camel@mtkswgap22> Subject: Re: [PATCH v4] scsi: ufs: Cleanup completed request without interrupt notification From: Stanley Chu To: Can Guo CC: Bart Van Assche , Avri Altman , , , , , , , , , , , , , , , , Date: Mon, 3 Aug 2020 11:00:55 +0800 In-Reply-To: <548b602daa1e15415625cb8d1f81a208@codeaurora.org> References: <20200724140246.19434-1-stanley.chu@mediatek.com> <1596159018.17247.53.camel@mtkswgap22> <97f1dfb0-41b6-0249-3e82-cae480b0efb6@acm.org> <8b0a158a7c3ee2165e09290996521ffc@codeaurora.org> <548b602daa1e15415625cb8d1f81a208@codeaurora.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 7BEEB55B31B76E69631748D3316DAD708D36573F0300CB39663BDF23985A638A2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQ2FuLA0KDQpPbiBTYXQsI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aXMgdXNpbmcgaXQuIElmIHRoZSBjb21tYW5k IHdhcyBhbHJlYWR5IGNvbXBsZXRlZCwNCj4gPj4gdGhlbiB0aGUNCj4gPj4gICAgICAgICAgICAg ICAgICAqIGxvd2VyIGxldmVsIGRyaXZlciBiZWF0IHRoZSB0aW1lb3V0IGhhbmRsZXIsIGFuZCBp dA0KPiA+PiBpcyBzYWZlDQo+ID4+ICAgICAgICAgICAgICAgICAgKiB0byByZXR1cm4gd2l0aG91 dCBlc2NhbGF0aW5nIGVycm9yIHJlY292ZXJ5Lg0KPiA+PiAgICAgICAgICAgICAgICAgICoNCj4g Pj4gICAgICAgICAgICAgICAgICAqIElmIHRpbWVvdXQgaGFuZGxpbmcgbG9zdCB0aGUgcmFjZSB0 byBhIHJlYWwNCj4gPj4gY29tcGxldGlvbiwgdGhlDQo+ID4+ICAgICAgICAgICAgICAgICAgKiBi bG9jayBsYXllciBtYXkgaWdub3JlIHRoYXQgZHVlIHRvIGEgZmFrZSB0aW1lb3V0DQo+ID4+IGlu amVjdGlvbiwNCj4gPj4gICAgICAgICAgICAgICAgICAqIHNvIHJldHVybiBSRVNFVF9USU1FUiB0 byBhbGxvdyBlcnJvciBoYW5kbGluZyANCj4gPj4gYW5vdGhlcg0KPiA+PiBzaG90DQo+ID4+ICAg ICAgICAgICAgICAgICAgKiBhdCB0aGlzIGNvbW1hbmQuDQo+ID4+ICAgICAgICAgICAgICAgICAg Ki8NCj4gPj4gICAgICAgICAgICAgICAgIGlmICh0ZXN0X2FuZF9zZXRfYml0KFNDTURfU1RBVEVf Q09NUExFVEUsIA0KPiA+PiAmc2NtZC0+c3RhdGUpKQ0KPiA+PiAgICAgICAgICAgICAgICAgICAg ICAgICByZXR1cm4gQkxLX0VIX1JFU0VUX1RJTUVSOw0KPiA+PiAgICAgICAgICAgICAgICAgaWYg KHNjc2lfYWJvcnRfY29tbWFuZChzY21kKSAhPSBTVUNDRVNTKSB7DQo+ID4+ICAgICAgICAgICAg ICAgICAgICAgIC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