From patchwork Tue May 12 10:47:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanley Chu X-Patchwork-Id: 11542951 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95D6D159A for ; Tue, 12 May 2020 10:47:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 763E320722 for ; Tue, 12 May 2020 10:47:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="V2y017hV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729511AbgELKrx (ORCPT ); Tue, 12 May 2020 06:47:53 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:48135 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726187AbgELKrx (ORCPT ); Tue, 12 May 2020 06:47:53 -0400 X-UUID: 83a232f5747248bc9fedafc9abff1c4c-20200512 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=PUUW7PULaCne9XtBwUXC3VWmohwibLK+zV12aIK8IVo=; b=V2y017hVlNQObzlmvGrdemUb7f0GnILy/dqFWzhNjN0h7tFDeS+NSUw0L6/LbyxbU1XIWehx1F+PdYJNsSqbK8bVI515eCu8CikWn0g2YaL5Iu5NfYkET+940QaeozpaoWbVtSC0G6sRGSJgMpwBtrTAyzzriYTyehG+dXstiR8=; X-UUID: 83a232f5747248bc9fedafc9abff1c4c-20200512 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 247812614; Tue, 12 May 2020 18:47:51 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 12 May 2020 18:47:50 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 12 May 2020 18:47:50 +0800 From: Stanley Chu To: , , , , , CC: , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 0/4] scsi: ufs: Fix WriteBooster and cleanup UFS driver Date: Tue, 12 May 2020 18:47:46 +0800 Message-ID: <20200512104750.8711-1-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Hi, This patch set fixes some WriteBooster issues and do small cleanup in UFS driver Stanley Chu (4): scsi: ufs: Remove unnecessary memset for dev_info scsi: ufs: Allow WriteBooster on UFS 2.2 devices scsi: ufs: Fix index of attributes query for WriteBooster feature scsi: ufs: Fix WriteBooster flush during runtime suspend drivers/scsi/ufs/ufs-sysfs.c | 13 ++++++-- drivers/scsi/ufs/ufs.h | 1 - drivers/scsi/ufs/ufshcd.c | 59 ++++++++++++++++++------------------ drivers/scsi/ufs/ufshcd.h | 2 +- 4 files changed, 42 insertions(+), 33 deletions(-)