Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2381599ybk; Mon, 11 May 2020 20:33:22 -0700 (PDT) X-Google-Smtp-Source: APiQypLNaPnWkwG1Ocgs+KkDD7eBygzs5J+CQHbPDk4s0q6an/cuiTvQOxdo4X0kLouVLKqqbY3B X-Received: by 2002:a17:906:2e4a:: with SMTP id r10mr13295232eji.116.1589254402781; Mon, 11 May 2020 20:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589254402; cv=none; d=google.com; s=arc-20160816; b=A3ZAiJ3Aj9tPT010gfDdsqVbZOrH2q1Y9nkC0t/OzkHR3My8AFIvfJi5f4R7X1jZCY EbADmrdZzA37NeznLhLyn9AAIPDchtkiZV6MfagSZKM1p0fY2WpZrI29gLAf+ji7vIGr /R9WRxTvsedle8YzBJol7t8lRW0QaCPao/s0710ppkWRUXTERuKmr4dy2ISz8fbiqLQa BivuRfuNJVMrjwo4Q1q+p4v9YfX7Qa1prf2V2WxXwchpwGXmssJLKGiA85KXZ22y7Fny Pv2qfUYTxHOWkYvzURhF3WRRb6quyhMagrx7rU9kwkyo6eQ06p5XZlzMGE41FGNF0Cwd ZLcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MUBSiWVQtghSeYGKdUfODIsM/8mICmZoZz5eTdHLjdY=; b=YVPyTv/BQWFmlrDuuFUHw84pf4G+kWRl8R2uLyX1d5eah94hh36DHA0HFcq/eRgzV1 ZsR8Vq9jhZ7yuOjjWS0Qfd4NWi6PM950XAaT6teVe8wFNHRx0kcQB2k5LqsMuJEGOdQ/ JQOONE7gKX9wC6xQAzCDeTaRwHqSDGhzG+PRHUmNUE8BYMPsaQpQ5GAF99lqdI2xSGGT Tl5nzmB+QRB9MbX6/Bds/m0LZ5mr66Xj0okPF4wCb247VaUXs0im7G7cHd5rUOqpMiir bHinHs6oviGRT9sOq+1KmRVGyWjJckgRnw0iVrYUN/8KvNlHMbr8RDZ3tE4bx0tYkRjj PiEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=G4jxhVjR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz15si6471796ejc.391.2020.05.11.20.32.59; Mon, 11 May 2020 20:33:22 -0700 (PDT) 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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=G4jxhVjR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728759AbgELDbU (ORCPT + 99 others); Mon, 11 May 2020 23:31:20 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:35386 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728073AbgELDbU (ORCPT ); Mon, 11 May 2020 23:31:20 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04C3N2vI072886; Tue, 12 May 2020 03:30:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=MUBSiWVQtghSeYGKdUfODIsM/8mICmZoZz5eTdHLjdY=; b=G4jxhVjRE8F3SYvnsq5Z66JVXSD2YZ80qMzCvufL/wZ/IrGa06NcMCZ4RIRh0WBJGF/F ihPe3rHKgljBGso8c1SHumqPoQ+glcm9vjUh608fisY7FK5+dHq+XSMuNjfa4XnEYFoN pYvFzuJAQbavg/xPCqqAg6S/miQfiWGwGZQaPXJdjSdsFys5hEkxHB/uyT/bB9+xTqvV tM6kAXQ1MyZGDYjvNT1Krp9rrvaK5HkEhDJZ+LScv16Xs4+wG0zYZbvHCdrk26JMjQcf 6gMXL0LBq9dX4317rUhkZKdblbGGDylQVy6Br6J6G21//4mBMVGfCKZXLq2zHh6cFN1w Ug== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 30x3mbrgj8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 May 2020 03:30:51 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04C3MU8Q016039; Tue, 12 May 2020 03:28:50 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 30xbggtm6r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 May 2020 03:28:50 +0000 Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 04C3Skk4004003; Tue, 12 May 2020 03:28:47 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 May 2020 20:28:46 -0700 From: "Martin K. Petersen" To: linux-scsi@vger.kernel.org, Stanley Chu , jejb@linux.ibm.com, alim.akhtar@samsung.com, asutoshd@codeaurora.org, avri.altman@wdc.com Cc: "Martin K . Petersen" , andy.teng@mediatek.com, linux-mediatek@lists.infradead.org, bvanassche@acm.org, linux-arm-kernel@lists.infradead.org, chun-hung.wu@mediatek.com, kuohong.wang@mediatek.com, cang@codeaurora.org, linux-kernel@vger.kernel.org, matthias.bgg@gmail.com, beanhuo@micron.com, peter.wang@mediatek.com Subject: Re: [PATCH v8 0/8] scsi: ufs: support LU Dedicated buffer mode for WriteBooster Date: Mon, 11 May 2020 23:28:32 -0400 Message-Id: <158925392374.17325.4875533206353375605.b4-ty@oracle.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200508080115.24233-1-stanley.chu@mediatek.com> References: <20200508080115.24233-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9618 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=889 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005120029 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9618 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 impostorscore=0 mlxscore=0 suspectscore=0 bulkscore=0 mlxlogscore=918 phishscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 adultscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005120029 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 May 2020 16:01:07 +0800, Stanley Chu wrote: > This patchset adds LU dedicated buffer mode support for WriteBooster. > In the meanwhile, enable WriteBooster capability on MediaTek UFS platforms. > > v7 -> v8: > - In exported funtion ufshcd_fixup_dev_quirks(), add null checking for parameter "fixups" (Avri Altman) > > v6 -> v7: > - Add device descriptor length check in ufshcd_wb_probe() back to prevent out-of-boundary access in ufshcd_wb_probe() > - Fix the check of device descriptor length (Avri Altman) > - Provide a new ufs_fixup_device_setup() function to pack both device fixup methods by general quirk table and vendor-specific way (Avri Altman) > > [...] Applied to 5.8/scsi-queue, thanks! [1/8] scsi: ufs: Enable WriteBooster on some pre-3.1 UFS devices https://git.kernel.org/mkp/scsi/c/817d7e140283 [2/8] scsi: ufs: Introduce fixup_dev_quirks vops https://git.kernel.org/mkp/scsi/c/c28c00ba4f06 [3/8] scsi: ufs: Export ufs_fixup_device_setup() function https://git.kernel.org/mkp/scsi/c/8db269a5102e [4/8] scsi: ufs-mediatek: Add fixup_dev_quirks vops https://git.kernel.org/mkp/scsi/c/62c2f503b54c [5/8] scsi: ufs: Add "index" in parameter list of ufshcd_query_flag() https://git.kernel.org/mkp/scsi/c/1f34eedf9bc1 [6/8] scsi: ufs: Add LU Dedicated buffer mode support for WriteBooster https://git.kernel.org/mkp/scsi/c/6f8d5a6a78cf [7/8] scsi: ufs-mediatek: Enable WriteBooster capability https://git.kernel.org/mkp/scsi/c/29060a629135 [8/8] scsi: ufs: Cleanup WriteBooster feature https://git.kernel.org/mkp/scsi/c/79e3520f82cb -- Martin K. Petersen Oracle Linux Engineering