From patchwork Tue Jun 6 11:32:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?V2VuYmluIE1laSAo5qKF5paH5b2sKQ==?= X-Patchwork-Id: 13268969 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 39138C77B7A for ; Tue, 6 Jun 2023 11:33:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236116AbjFFLdA (ORCPT ); Tue, 6 Jun 2023 07:33:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233663AbjFFLc7 (ORCPT ); Tue, 6 Jun 2023 07:32:59 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C212E5B; Tue, 6 Jun 2023 04:32:57 -0700 (PDT) X-UUID: df8fb52a045d11eeb20a276fd37b9834-20230606 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=hWQ30+yCMXmpdnJYjYXC6Zz/30400LVyGU7/esOpB1E=; b=n/muHkqkya99BTkfAEyjor+ub8p4W+Ac2J3KnTJ5j/tSyArqEFJa7825LxSCuw0LK8aTrheZxraZngs4x3qrMtQNIdiGBBIyZ23Flpc6+K2uWdhNmWRBvh9oxrXxkXlADDHAkmyTzzPJIqSq0DacGNhIQVrPvZmQn9ou+ayGnxs=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:0de73b88-02f3-4ae0-99d3-690d717c91f5,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:d5b0ae3,CLOUDID:c625326e-2f20-4998-991c-3b78627e4938,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-UUID: df8fb52a045d11eeb20a276fd37b9834-20230606 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1244205171; Tue, 06 Jun 2023 19:32:52 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) 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.1118.26; Tue, 6 Jun 2023 19:32:51 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 6 Jun 2023 19:32:50 +0800 From: Wenbin Mei To: Ulf Hansson CC: Chaotian Jing , Matthias Brugger , AngeloGioacchino Del Regno , Adrian Hunter , Ritesh Harjani , "Asutosh Das" , , , , , Wenbin Mei Subject: [PATCH v5 0/1] mmc: mtk-sd: reduce CIT for better performance Date: Tue, 6 Jun 2023 19:32:48 +0800 Message-ID: <20230606113249.28057-1-wenbin.mei@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org change v5: 1. add version change log and the previous patch link 2. change comment in msdc_cqe_cit_cal() to increase readability. 3. change the type of hclk_freq from "u64" to "unsigned long". 4. don't open code FIELD_GET. change v4: 1. remove else case in msdc_cqe_cit_cal() function due to it doesn't need. 2. fix build error. change v3: 1. add msdc_cqe_cit_cal() function to calculate the CIT value. change v2: 1. add more comments.