Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp383210ybh; Wed, 22 Jul 2020 03:08:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsFu+arAlSTNxT04qqL0DVTdJXe9S8FNbGmWAi0dJLzfIy57EW1Xdp9hanfjEk/kLLv5ak X-Received: by 2002:a05:6402:2c5:: with SMTP id b5mr29011978edx.316.1595412518360; Wed, 22 Jul 2020 03:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595412518; cv=none; d=google.com; s=arc-20160816; b=qoO8+SJ35hV0WvUkzLwCOEd2Eo+oYJ8pZ03/4Lx5zTJPplTReriytwpqczycE90koc QoZTbIku5i3eyYzB5WXVHK70rQ/CP5sjTudJI67qDnItcXhYQS4TVcEHH+UuG5Ze66c4 7AEUrrmhrO6WNUIzXZ18MMyH9jB/97X9YG1xhEeTnmtrsad4AjcQnemPxBBRtOhv5xL0 E3LasFgwTZC4s5X9y6/snlPD7DVMLNlE+MOw+PNTJM7DlIl0zRk4OEBaFeEdzjAhb8pJ xjkWwhy7SJtj2gOgc9xpWw3xNNh71YyqljT9w78b+BLuRmfcAvC2eOLx5MKO0YDoALEo SBdQ== 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=hpw2HAjj+VZcqiXE9JCKu3K69kU6aLIL+g4N7qmAH6w=; b=im4BhGtEQiVFnosGHzIws/ojjcjGcXNcRgLwvk9QUB6jHPg9I9d/EZBtkhRjYzHKKA 1sg7fCcwGG1U4Oqr8hXy585BJj5sC1Pap/oQxeMixRHnax4lhkUoOH9YblQ2XAHBjv9H SmWnQkDb6SagP3Awl1G16DEcTTc0YXt+y6EzOoR/H5c6utekOlh/RHatQyMtkz14VtXF WXNCXGJbxrphVDlRn5W1xPrAQ+xd6oRI2naby+IXOOIbIpNd5UO9lR+p3stK74JBxsu4 CtJoSP02AZM5B7BqQQktvyqrfZUK6Ppu8wpqJe2PZO385HZfezLwCtJkn0IFol+IPzgT LzIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mRHGFzuK; 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 bq21si14486236ejb.301.2020.07.22.03.08.15; Wed, 22 Jul 2020 03:08:38 -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=mRHGFzuK; 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 S1730378AbgGVKHo (ORCPT + 99 others); Wed, 22 Jul 2020 06:07:44 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:53379 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726153AbgGVKHo (ORCPT ); Wed, 22 Jul 2020 06:07:44 -0400 X-UUID: 173e8a484fba49b2a7d3d912af0f09fb-20200722 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=hpw2HAjj+VZcqiXE9JCKu3K69kU6aLIL+g4N7qmAH6w=; b=mRHGFzuKX9VZw96ff4c5f+9dfqcbnhKnypVjEdvx0T5KV1k4oP6RFw4kVncj2pVoQda4IKsJ4OtFALdk1eJSyo3oHZuseqxJn9ceDA0E8IyOvEUUdbneUyiDDTuvxZkOJm8pOuqHExboSGjjCc+KLfEUz+uKS4Or1vsw62KCgvU=; X-UUID: 173e8a484fba49b2a7d3d912af0f09fb-20200722 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 365314642; Wed, 22 Jul 2020 18:07:39 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Jul 2020 18:07:36 +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; Wed, 22 Jul 2020 18:07:36 +0800 Message-ID: <1595412457.27178.36.camel@mtkswgap22> Subject: Re: [PATCH v3] scsi: ufs: Cleanup completed request without interrupt notification From: Stanley Chu To: Bart Van Assche CC: Avri Altman , "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" , "alim.akhtar@samsung.com" , "jejb@linux.ibm.com" , "beanhuo@micron.com" , "asutoshd@codeaurora.org" , "cang@codeaurora.org" , "matthias.bgg@gmail.com" , "linux-mediatek@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "kuohong.wang@mediatek.com" , "peter.wang@mediatek.com" , "chun-hung.wu@mediatek.com" , "andy.teng@mediatek.com" , "chaotian.jing@mediatek.com" , "cc.chou@mediatek.com" Date: Wed, 22 Jul 2020 18:07:37 +0800 In-Reply-To: <912623e8-5915-8380-f39a-fac7b5868a6d@acm.org> References: <20200706132113.21096-1-stanley.chu@mediatek.com> <3d509c4b-d66d-2a4a-5fbd-a50a0610ad31@acm.org> <1594607245.22878.8.camel@mtkswgap22> <912623e8-5915-8380-f39a-fac7b5868a6d@acm.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 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 SGkgQmFydCwgQXZyaSwNCg0KT24gVHVlLCAyMDIwLTA3LTE0IGF0IDIxOjAwIC0wNzAwLCBCYXJ0 IFZhbiBBc3NjaGUgd3JvdGU6DQo+IE9uIDIwMjAtMDctMTMgMDE6MTAsIEF2cmkgQWx0bWFuIHdy b3RlOg0KPiA+IEFydGlmaWNpYWxseSBpbmplY3RpbmcgZXJyb3JzIGlzIGEgdmVyeSBjb21tb24g dmFsaWRhdGlvbiBtZWNoYW5pc20sDQo+ID4gUHJvdmlkZWQgdGhhdCB5b3UgYXJlIG5vdCBicmVh a2luZyBhbnl0aGluZyBvZiB0aGUgdXBwZXItbGF5ZXJzLA0KPiA+IFdoaWNoIEkgZG9uJ3QgdGhp bmsgeW91IGFyZSBkb2luZy4NCj4gDQoNCkFzIHRoZSBjb25jZXJucyBvZiBiZWxvdyBxdWVzdGlv bnMsDQoNCiJzY3NpIHRpbWVvdXQgaXMgMzBzZWMgLSBkbyB5b3UgZXhwZWN0IGFuIGludGVycnVw dCB0byBhcnJpdmUgYWZ0ZXINCnRoYXQ/Ig0KDQpBY3R1YWxseSBpbiBteSB0ZXN0IHNjZW5hcmlv LCB0aGUgZmxvdyB3b3JrcyB3ZWxsIHdpdGhvdXQgcmUtY2hlY2tpbmcNCiJvdXRzdGFuZGluZ19y ZXFzIiBpbiAiY2xlYW51cCIgc2VjdGlvbiBpbiB1ZnNoY2RfYWJvcnQoKSwgc28gSSB3b3VsZA0K cmVtb3ZlIHRoaXMgY2hlY2tpbmcgZmlyc3QgYW5kIHJlc2VuZCB0aGlzIGZpeCAod2l0aCByZWZp bmVkIGNvbW1pdA0KbWVzc2FnZSBhY2NvcmRpbmcg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