From patchwork Thu Feb 23 15:27:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Po-Wen Kao X-Patchwork-Id: 13150522 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F18F1C61DA4 for ; Thu, 23 Feb 2023 15:28:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234571AbjBWP21 (ORCPT ); Thu, 23 Feb 2023 10:28:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjBWP2Z (ORCPT ); Thu, 23 Feb 2023 10:28:25 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45A3243921; Thu, 23 Feb 2023 07:28:21 -0800 (PST) X-UUID: b12571d6b38e11eda06fc9ecc4dadd91-20230223 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=GEcfKLC4qBFQtVKfOBmpbt6Vx+1YFodMzmUJx79oJJE=; b=tWEKHGFTzylMhp5YryiwKU4tOrgqWf1r1bd8BOHk4XohZhukG+FCTBpZLCbJv8+YKpTyJp80QQIvjEHriDUZXh26Fdnc+ENJ42E6Ow1P+5x5hnN7KP5T9TAXBuhm8KWOEYdvBwWnCMF9qrmeulQYYPXt7qVQLJ5yFcN1NBquK7Q=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:e7901f9f-7dc1-46ed-ad51-e5ed4c0ebd42,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.20,REQID:e7901f9f-7dc1-46ed-ad51-e5ed4c0ebd42,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:25b5999,CLOUDID:315962b1-beed-4dfc-bd9c-e1b22fa6ccc4,B ulkID:230223232817RCA911DL,BulkQuantity:0,Recheck:0,SF:38|29|28|17|19|48,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 ,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-UUID: b12571d6b38e11eda06fc9ecc4dadd91-20230223 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 48017338; Thu, 23 Feb 2023 23:28:15 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Thu, 23 Feb 2023 23:28:14 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 23 Feb 2023 23:28:14 +0800 From: Po-Wen Kao To: , , , , Matthias Brugger CC: , , , , , , , , , , , Subject: [PATCH v3 0/6] Several UFS MCQ Code Changes Date: Thu, 23 Feb 2023 23:27:50 +0800 Message-ID: <20230223152757.13606-1-powen.kao@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org v2 -> v3 - Remove "scsi: ufs: core: Add hwq print for debug". send later when error handling is ready. - Rename patch title to match convention "scsi: ufs: ufs-mediatek:..." - Add explanation for (nr_hw_queues = MAXQ + 1) - Remove dummy line v1 -> v2: - Add 2 new patches - Update MTK driver for mcq - Export symbols for MTK driver - Fix commit message in "scsi: ufs: core: Fix mcq nr_hw_queues" - Split name change and fix into two patches Po-Wen Kao (6): scsi: ufs: core: Fix mcq tag calcualtion scsi: ufs: core: Rename symbols scsi: ufs: core: Fix mcq nr_hw_queues scsi: ufs: core: Remove redundant check scsi: ufs: core: Export symbols for MTK driver module scsi: ufs: ufs-mediatek: Add MCQ support for MTK platform drivers/ufs/core/ufs-mcq.c | 8 +- drivers/ufs/core/ufshcd-priv.h | 2 - drivers/ufs/core/ufshcd.c | 13 ++- drivers/ufs/host/ufs-mediatek.c | 193 +++++++++++++++++++++++++++++++- drivers/ufs/host/ufs-mediatek.h | 33 ++++++ include/ufs/ufshcd.h | 7 +- 6 files changed, 243 insertions(+), 13 deletions(-)