Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp27602lqr; Tue, 4 Jun 2024 19:33:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVOrdCEqls+Efrchc1AIp7DMjPEEsKiwbcI08oPZ41gAX0UB7MhrUHmim8PAbdknBcH3k++43dtVdiXMRvf+RU8exxicZJ8a2q5pIIZPQ== X-Google-Smtp-Source: AGHT+IE+0a95UKQaF8tujE+7FUOv5fMxl0s9opRmI2VqC2l75MqHAbjB9bpRYhgl8XvVVIibITr0 X-Received: by 2002:ac8:5e08:0:b0:43a:b542:d1dd with SMTP id d75a77b69052e-4402b61d838mr12066901cf.36.1717554815361; Tue, 04 Jun 2024 19:33:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717554815; cv=pass; d=google.com; s=arc-20160816; b=kP91oqjJK6JSVoGsF9Zrpfxk+H8jIf7l6o1SXwQrK9IKQTW5UPOntprx8+rfK+GVBC 3eOV1L72BJu0akP5OEOfG+n2F+aSuOmvIP5cK4QUasp10ZsATpNAHTMZ9VGmhxsYKcrz CFUl+NmCX96sVDJaHw8FfdSOoQbTfcBvj+cvVKeu14s9JlHFXmgP2cxFBj1bZpc5qTh+ Wtu6Uo7U0YrSJT5PDwrSDV75pH5eBSpgtIuPJBIeAXhCpcOgoCpHQt3UjEfDAIL4W+6X jpVEIOeKP9X1vKmT01P53xRbQNlZuThKxi1WomejbQLvYmSVF4YIadPSGCMagnODiJ52 +mbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YF1pZmbtrrh0JQYfM/Nk+W3XPvlIGS4AclEO2b/dAQE=; fh=CdAt9j2sJ4KxQGcV7l6M2uQN0hW9JlrmNwFzZSGJIDo=; b=DW0Vi5tot7vowYWI0MTvsvS//fvI5ysMNFgv7Sb1Wq9jYU56b5zt3vUaB8mI7+1Wm8 qGddZphAtPwU1c5efDcS21cYm3zQzxxSHUi5uT6d69sp4V+Khn3TlT3jNiVxVBtXW/mE +jC6W93NLeMfOFamIN7BCBrmDO/VEDPOjDtrSTuy0dRjq5k2QY2tmKhdYUUmk/cGS3Zq CJZ1E7exEp0VR8lF80X4mEzpllcJSP1ABtueGjrK3neFVc8bdwo5YZeTRXNqlcaR/CsL zklPWB0NZxLRIUZOwGmXu0neHLpZNDIuIP6yz3jPy48Kg3bkgDnSIaV8HxLNl2+NmC/B SldQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=Iots8wdS; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel+bounces-201692-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201692-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oracle.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44026dabe55si22832521cf.732.2024.06.04.19.33.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 19:33:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201692-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=Iots8wdS; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel+bounces-201692-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201692-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 19A5C1C21D1B for ; Wed, 5 Jun 2024 02:33:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DD5361FFE; Wed, 5 Jun 2024 02:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="Iots8wdS" Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AD90184E; Wed, 5 Jun 2024 02:33:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.177.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717554806; cv=none; b=s62Hex+ihXd6uxSfxFav7gCweA0U7zI9M/n+ImMxnQ/12i38p+/iTW21otETAMjDhcE9R8yObWu4MeQwZskJZYOWFrKyo3jbLP8HmHzcTA2SMavo69yfMaoQo4yxwH5lj+wlKMVdPDko3aRFlIRml4eO4DF8XPLJr09yxaK0Or0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717554806; c=relaxed/simple; bh=dxJjjcht5HLUS6ZRJqfRkpTQibrrKD4SwhpETJ6qPKQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=U3KKqA6YKXeEniDkrsCpkb2soFbwGvFG34Q0JvCApI4KLxCDQ97ExurWcZztdN2kH02DAUYXDoZQBu5ifXFwldxrwNm4o4VC3Hd5X3csY+xTW14OB1gog/kJeSDbJbMrK0L2VYHA40Abp+M0S8R0dv6/X1Tsze1MUsG71roEMig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=Iots8wdS; arc=none smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4551DvBU005217; Wed, 5 Jun 2024 02:33:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc : content-transfer-encoding : content-type : date : from : in-reply-to : message-id : mime-version : references : subject : to; s=corp-2023-11-20; bh=YF1pZmbtrrh0JQYfM/Nk+W3XPvlIGS4AclEO2b/dAQE=; b=Iots8wdSWoiz57TB2gtpxKdUv3BBFUKX2egezCAlB/zCanJJ7akQitZRbvXE5WfKHuHw EIiwCmJDsYovbdP9qkBYXobskN4g7FsIw0E3ZPQHpQpVodEl2OhGuFytvGxzX/5MoHw1 badrYRstaQ2AUKqaYnPKlx2S0d1SjyMbzeUpS38GDcDQDZA5ff9BqezEhkFsNIxGM30C CKwvcaCXI+iXZnRJbWJg/JNT2Xb38BRnIV22+ZIYtfOkJ9tRAjkqtPWGr8//qlL0gqrK M/MDGHkKyeu1SJPyOxMf5EeINWoTEY4Uxnq7/VklsBgeBI8gDW180B3nLkZFB4Ig3uGG tQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yjbrs865f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jun 2024 02:33:17 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 4550ZM70015573; Wed, 5 Jun 2024 02:33:16 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrjd4bm9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jun 2024 02:33:16 +0000 Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 4552XFLs011499; Wed, 5 Jun 2024 02:33:15 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3ygrjd4bky-1; Wed, 05 Jun 2024 02:33:15 +0000 From: "Martin K. Petersen" To: Avri Altman Cc: "Martin K . Petersen" , Bart Van Assche , Bean Huo , Peter Wang , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 0/3] scsi: ufs: Allow RTT negotiation Date: Tue, 4 Jun 2024 22:32:37 -0400 Message-ID: <171755313984.3904072.6642162030397966521.b4-ty@oracle.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240530142510.734-1-avri.altman@wdc.com> References: <20240530142510.734-1-avri.altman@wdc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-04_11,2024-06-04_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=722 phishscore=0 adultscore=0 bulkscore=0 spamscore=0 malwarescore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406050018 X-Proofpoint-ORIG-GUID: EV8AbOhiJ7-fEUVMSSzMlYuC0efHq3bp X-Proofpoint-GUID: EV8AbOhiJ7-fEUVMSSzMlYuC0efHq3bp On Thu, 30 May 2024 17:25:06 +0300, Avri Altman wrote: > The rtt-upiu packets precede any data-out upiu packets, thus > synchronizing the data input to the device: this mostly applies to write > operations, but there are other operations that requires rtt as well. > > There are several rules binding this rtt - data-out dialog, specifically > There can be at most outstanding bMaxNumOfRTT such packets. This might > have an effect on write performance (sequential write in particular), as > each data-out upiu must wait for its rtt sibling. > > [...] Applied to 6.11/scsi-queue, thanks! [1/3] scsi: ufs: Allow RTT negotiation https://git.kernel.org/mkp/scsi/c/9ec54934ce85 [2/3] scsi: ufs: Maximum RTT supported by the host driver https://git.kernel.org/mkp/scsi/c/e75ff63300c5 [3/3] scsi: ufs: sysfs: Make max_number_of_rtt read-write https://git.kernel.org/mkp/scsi/c/600edc6620a4 -- Martin K. Petersen Oracle Linux Engineering