Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2890964pxb; Sun, 15 Nov 2020 22:53:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwBicONiZcySMkeM+ILOa6iLpBMaznhJxo7JqBSWA2BsDncp6nQ/NsmspVRIkHFDIWk6bf X-Received: by 2002:a17:906:1458:: with SMTP id q24mr13870100ejc.541.1605509629795; Sun, 15 Nov 2020 22:53:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605509629; cv=none; d=google.com; s=arc-20160816; b=NmJA+8gofk7cPLYEQYQ8gDtwOur4qEmwWxn4vj2vgFFFjV9WNkX0Mj+m5STEr82sh2 AN6Owa8ZsYkQrlDmLKz00nKv4CyRQ8tt9choeoz0NPfr8SucftXKWauX6onsN6UWb8+E YRp3jbrSOzeTBVNtJ0sbpZAG9DAnkqFkSRs9lbTHNcxk5W+TwpCZGkvd9XZLH86s7d3R CDS11Ng/CBavRIe+dnWSXtl6X/cB1SGLwY9ndA0jP48U12kJymCEHbRIKwr4ihaV7z23 CqK66SJNOEAdnJTOzDcfgm3lKqbL7NCaxonVD3swl5ZmqnF4deo3COO0njisDahEbckE i3EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=id0WyB3l6ApTEElgNQinUcCO84XlRTA+elvOOki8E+o=; b=ZLGaWwPe78TiPalvAS/aDJTi0omy50vkboqfYMcrVcStB5/8JcRr0YgG2pNrQU0yP4 4jdABfrVa3nHTnL2W9lrxGnIEyO9YCcwklSazuTsc5yTQaaFCp9y/COjj52uasoeYB8B Y/XaO8OvBDN7VZFPDbnzvFd+6RuuTkZwZyiyn5Nww3upmg5LKP8QHpTqAFjOwNWpQ1W3 b2yhaHjIxAv84sm+vk2cGZNKs4J5CIUGTX8KC4xJ2ZOZnzD+Xb4Ly4dvzu5uh9+l1MiH QlSSqb62axa95JveaNlOUwwCOsqICQ8viKSGiGMRX23ZawsgjXgduJaJ0FtMkVgOwdwG GdUA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 g1si10782521edh.491.2020.11.15.22.53.26; Sun, 15 Nov 2020 22:53:49 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727200AbgKPGvB (ORCPT + 99 others); Mon, 16 Nov 2020 01:51:01 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:59517 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727166AbgKPGvB (ORCPT ); Mon, 16 Nov 2020 01:51:01 -0500 X-UUID: ffa5188b57fd4f078e325a969e0568ed-20201116 X-UUID: ffa5188b57fd4f078e325a969e0568ed-20201116 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 603744827; Mon, 16 Nov 2020 14:50:56 +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; Mon, 16 Nov 2020 14:50:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 16 Nov 2020 14:50:55 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 0/9] scsi: ufs: Refactoring and cleanups Date: Mon, 16 Nov 2020 14:50:45 +0800 Message-ID: <20201116065054.7658-1-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series simply do some refactoring and cleanups in UFS drivers. Stanley Chu (9): scsi: ufs-mediatek: Refactor performance scaling functions scsi: ufs: Introduce device parameter initialization function scsi: ufs-mediatek: Use device parameter initialization function scsi: ufs-qcom: Use device parameter initialization function scsi: ufs-exynos: Use device parameter initialization function scsi: ufs-hisi: Use device parameter initialization function scsi: ufs: Refactor ADAPT configuration function scsi: ufs-mediatek: Use common ADAPT configuration function scsi: ufs-qcom: Use common ADAPT configuration function drivers/scsi/ufs/ufs-exynos.c | 15 +--------- drivers/scsi/ufs/ufs-exynos.h | 13 -------- drivers/scsi/ufs/ufs-hisi.c | 13 +------- drivers/scsi/ufs/ufs-hisi.h | 13 -------- drivers/scsi/ufs/ufs-mediatek.c | 51 ++++++++++++++------------------ drivers/scsi/ufs/ufs-mediatek.h | 16 ---------- drivers/scsi/ufs/ufs-qcom.c | 27 +++-------------- drivers/scsi/ufs/ufs-qcom.h | 11 ------- drivers/scsi/ufs/ufshcd-pltfrm.c | 17 +++++++++++ drivers/scsi/ufs/ufshcd-pltfrm.h | 1 + drivers/scsi/ufs/ufshcd.c | 16 ++++++++++ drivers/scsi/ufs/ufshcd.h | 3 ++ 12 files changed, 65 insertions(+), 131 deletions(-) -- 2.18.0