Message ID | 20241001091917.6917-1-peter.wang@mediatek.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8E2FCE7CE7 for <linux-mediatek@archiver.kernel.org>; Tue, 1 Oct 2024 09:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Kw1ihwJTHHKc5mPxp99TPSiZEROPElBOqpLMJ7vzjvE=; b=zBRUxqjJQC2pqXvHAONz6MhVNR xiSjwFSuA35R+Y5bpJsDiw9D8KPn1Iqf7qWCZdfjpUfNgudWMSpSNr1x8aUQewvLbVOgXuKzm8O6c WrmYF3IXFEdp5GHT1U4L/2S2KpvWubnZioATaYBvYCuww/j/3JvDYf7TQ7wn2H8i481Ir4wzInNeV OlJqcBYg90IOlwc6CUj1t88NqlLssi80upwhaBKqgzHHujvStalfGOnyivGNwX/tEmdfCZyPdJIFS JeFExwn2lB5PvhgC5JMl3mQjiboN17jwaHJpzCnnFUQHy6vr6VDsxfjqfb8JOHzo7pv4VtPTrRuWz PbcoPDSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svZ2X-00000002Ctb-41eE; Tue, 01 Oct 2024 09:19:29 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svZ2U-00000002Cs1-3lyy for linux-mediatek@lists.infradead.org; Tue, 01 Oct 2024 09:19:28 +0000 X-UUID: 3de54e427fd611efba0aef63c0775dbf-20241001 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=Kw1ihwJTHHKc5mPxp99TPSiZEROPElBOqpLMJ7vzjvE=; b=opjNCxTKMyq8SRGMmQgb+w4x9aXDCM4CoTLCovWM5ijS3C2/oU9j5cgrR7RTKGWBOFoEpEPycnLRzMM1X9X8yAP+LuJkE3VGZbNrdFbxMUDSxg4edASwQ0SOoJKPUhWrn5AMNdDV+jqgvU0xrBmwhXA6yGJGz5HuobI0qB81pX0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.41,REQID:746c4878-db3e-41a3-a150-22869cf4278e,IP:0,U RL:0,TC:0,Content:-20,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-20 X-CID-META: VersionHash:6dc6a47,CLOUDID:511b8918-b42d-49a6-94d2-a75fa0df01d2,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:1,EDM:-3,IP:nil,U RL:11|1,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES :1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: 3de54e427fd611efba0aef63c0775dbf-20241001 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from <peter.wang@mediatek.com>) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 993762424; Tue, 01 Oct 2024 02:19:20 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by MTKMBS09N2.mediatek.inc (172.21.101.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 1 Oct 2024 02:19:18 -0700 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 1 Oct 2024 17:19:18 +0800 From: <peter.wang@mediatek.com> To: <linux-scsi@vger.kernel.org>, <martin.petersen@oracle.com>, <avri.altman@wdc.com>, <alim.akhtar@samsung.com>, <jejb@linux.ibm.com> CC: <wsd_upstream@mediatek.com>, <linux-mediatek@lists.infradead.org>, <peter.wang@mediatek.com>, <chun-hung.wu@mediatek.com>, <alice.chao@mediatek.com>, <cc.chou@mediatek.com>, <chaotian.jing@mediatek.com>, <jiajie.hao@mediatek.com>, <powen.kao@mediatek.com>, <qilin.tan@mediatek.com>, <lin.gui@mediatek.com>, <tun-yu.yu@mediatek.com>, <eddie.huang@mediatek.com>, <naomi.chu@mediatek.com>, <ed.tsai@mediatek.com>, <bvanassche@acm.org>, <quic_nguyenb@quicinc.com> Subject: [PATCH v10 0/2] fix abort defect Date: Tue, 1 Oct 2024 17:19:15 +0800 Message-ID: <20241001091917.6917-1-peter.wang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_021926_975960_A459DD73 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org |
Series |
fix abort defect
|
expand
|
On Tue, 01 Oct 2024 17:19:15 +0800, peter.wang@mediatek.com wrote: > V10: > - Requeue OCS: ABORTED request in MCQ mode. > > V9: > - Revise the OCS content printed. > > V8: > - Remove the abort variable to simplify the abort process. > - Correct error handler successfully aborts release flow. > - Ingore MCQ OCS: ABORTED. > > [...] Applied to 6.12/scsi-fixes, thanks! [1/2] ufs: core: fix the issue of ICU failure https://git.kernel.org/mkp/scsi/c/bf0c6cc73f7f [2/2] ufs: core: requeue aborted request https://git.kernel.org/mkp/scsi/c/8fa075804cb3
From: Peter Wang <peter.wang@mediatek.com> V10: - Requeue OCS: ABORTED request in MCQ mode. V9: - Revise the OCS content printed. V8: - Remove the abort variable to simplify the abort process. - Correct error handler successfully aborts release flow. - Ingore MCQ OCS: ABORTED. V7: - Use a variable instead of a flag. - Add a check for MCQ mode when setting this variable to UFS_ERR_HANDLER. - Print OCS information for OCS_ABORTED and OCS_INVALID_COMMAND_STATUS. - Add a MediaTek quirk for handling OCS_ABORTED in SDB mode. - Skip notifying SCSI from ISR during SCSI abort (ufshcd_abort()). V6: - Add err handler check before set flag true. V5: - Change flag name. - Amend comment and patch description. V4: - Remove nullify SQ entry abort requeue. - Add more comment for flag usage and set description. - Fix build warning. V3: - Change comment and use variable(rtc) for error print - Change flag name and move flag set before ufshcd_clear_cmd - Add SDB mode clear UTRLCLR tag receive OCS_ABORTED requeue V2: - Fix mcq_enabled build error. Peter Wang (2): ufs: core: fix the issue of ICU failure ufs: core: requeue aborted request drivers/ufs/core/ufs-mcq.c | 15 ++++++++------- drivers/ufs/core/ufshcd.c | 20 ++++---------------- 2 files changed, 12 insertions(+), 23 deletions(-)