From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C69ED1C6FE3 for ; Mon, 10 Feb 2025 10:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739182428; cv=none; b=INqaqQnX1LnpxNs9MxjnnoNEEAhw7qVD2QIXDjtQSqPjW+PcjSeiucJQBcG8uo1Pz2A56pIpXEXl1Cde9TBxN+QEGmCmfcdh2Tu/ndh9KB7XVvoLsdd3XKZ9wgCcpRjVAQylJ891ZjC6QnGLO+Dp+qwjBp5OWFdXYqdyS4PP6vo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739182428; c=relaxed/simple; bh=yj9rNLDdRjUxGP5fU6NuyeHJVUHXyiKig/1natwetyo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qVgKNhOGA5dlb4ZXtXqfU/Mp3FAAS11X5s2HhqjoVbegq0URNdMZNLD/f3UiDT+If85vOD7VcGupu+TOM/fd0O2/5RHlMnq5+FmxNxFwfLR7/u9vi8+RtasLtE3TgMxG0yQzam9rw3RbzEznjkupTfEpZB95wPeeTOLxC3tP8bw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=mj5b6uYH; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mj5b6uYH" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-21f62cc4088so35675855ad.3 for ; Mon, 10 Feb 2025 02:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739182425; x=1739787225; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=YVno5Sq7zwbs75yBnVZY8GdclIkXa079v3wSCbF6j08=; b=mj5b6uYHOl13szZ59naCjJ0synW1GL5Tae4JBeX43Ddwjmg7kdxrW2GON3IG0bw4iR UMLdf0ef6S/IxmYfxDugx8BThvXDR5LnO0E9njC02HCRLZLr8JqMdws2Nq8T9STbmgo/ rLsDDNDmL6WMEebre6TxDHkgoJ78id9L9pqb0akSOtDKRTAyJYNK+xM5+2ArSp752RUS CLF4rrtdGAHv9FXgefNkVb+7tc7up86Wbzsq1KTuUc2Bi1/5VIWJ4GZrR3OOwnSf55DM 2IolmAJUUAz/f1L0dsVtVmRO9u//7tS4486HvFHiBNSi2VCDGaz0g0bjPB/W5u5f/1QU V8Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739182425; x=1739787225; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YVno5Sq7zwbs75yBnVZY8GdclIkXa079v3wSCbF6j08=; b=InVylDKgCcuhnW0U8WBUnA/Ke741pR/ApmQ0SLZV3pCf9sDXKevY+SZF66ipAcYwS0 I74TvK8MVS2fc2giMMAXdnKm+JT7RcpmxMKH3CM22PUGGEZIHkKaWZMdi/Jc2d3XcaHE d3Hv+U7rSjq88+RPnZ3TjQcGbMNdh1Opy5BlF26QI6CO5L70vtyKD1sld1eSR67EPjiy ZZ3sSyh1yUrYoaKzVAUzDy7phliq6/BpPAhSmoDbCJJOLWIdDyoRKuKfATkoIDdT9MFD FBaJ8SjZkZep1Z5xno6iUvgBPGvXpyBtePsRc+1+U9EhlvvumXBAUYFI1HANA4d+AM/8 n3Gg== X-Forwarded-Encrypted: i=1; AJvYcCUJC/Q00UMClfHGGuP3Y1NaM0uXsVpU7uEhmPwP8l0Xk7osGbxtYDKJ23IQzFNpP1iD0s1KC4DCU+NI@vger.kernel.org X-Gm-Message-State: AOJu0YzGQoFYIF5HtjejXUS1vMWwXYZuxYOd6kYKnbRF+2SJWq08TTtW WDXhholh4dI3dWwmvgCxAvvm3GMerMfH0nDH1fCdWroXupo6oj8D8+EhOga+5o5TsLIQSp6qnzk = X-Gm-Gg: ASbGncu39ZB6RNYGFNSDagJ0EBYScSFFldtAPkGKkaq/OF+3nc2AK+cm3/oW+bKrh0v hS3A5kSMQBQZNP73tegoFcGsGaWbsODajjtODYPGis4YuBk19+/Rtz0wWYOlphVevbDWOge4KB1 9Y3sKdVwZhsQRP8N0aTJhEe7DfOSQhC7ww8fv+wMM7qNqp/iicQbxfhfG1i37poeN7rkxmoioAT uMT/VtFLaXn/o6dGGA35PDfl3gcIa7HK+NtY/p3rK6X/VXSI9sUFDF3CjK+l0MjBZQAcI0qetiE yUuW4BkjmteOznl8yJAd539MICYR X-Google-Smtp-Source: AGHT+IGUVt1XLeTQyYh8zx2PixPGHrQEZjH5CD8Qy4yBx4PREyPgzsVLxt7fw++6KdqziWtaewNdvA== X-Received: by 2002:a05:6a20:d705:b0:1ed:a72f:dab5 with SMTP id adf61e73a8af0-1ee03b64561mr26246724637.36.1739182425181; Mon, 10 Feb 2025 02:13:45 -0800 (PST) Received: from thinkpad ([220.158.156.173]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-ad54e4a0049sm2072320a12.63.2025.02.10.02.13.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2025 02:13:44 -0800 (PST) Date: Mon, 10 Feb 2025 15:43:38 +0530 From: Manivannan Sadhasivam To: neil.armstrong@linaro.org, quic_cang@quicinc.com Cc: Konrad Dybcio , Melody Olvera , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Avri Altman , Bart Van Assche , Bjorn Andersson , Andy Gross , Konrad Dybcio , Satya Durga Srinivasu Prabhala , Trilok Soni , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Nitin Rawat , Manish Pandey Subject: Re: [PATCH 0/5] Add UFS support for SM8750 Message-ID: <20250210101338.boziqlrxl2cei775@thinkpad> References: <20250113-sm8750_ufs_master-v1-0-b3774120eb8c@quicinc.com> <20250209152140.cyry6g7ltccxcmyj@thinkpad> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: + Can (for the MCQ query) On Mon, Feb 10, 2025 at 10:39:04AM +0100, neil.armstrong@linaro.org wrote: > On 09/02/2025 16:21, Manivannan Sadhasivam wrote: > > On Fri, Feb 07, 2025 at 11:47:12PM +0100, Konrad Dybcio wrote: > > > On 13.01.2025 10:46 PM, Melody Olvera wrote: > > > > Add UFS support for SM8750 SoCs. > > > > > > > > Signed-off-by: Melody Olvera > > > > --- > > > > Nitin Rawat (5): > > > > dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: Document the SM8750 QMP UFS PHY > > > > phy: qcom-qmp-ufs: Add PHY Configuration support for SM8750 > > > > dt-bindings: ufs: qcom: Document the SM8750 UFS Controller > > > > arm64: dts: qcom: sm8750: Add UFS nodes for SM8750 SoC > > > > arm64: dts: qcom: sm8750: Add UFS nodes for SM8750 QRD and MTP boards > > > > > > You still need the same workaround 8550/8650 have in the UFS driver > > > (UFSHCD_QUIRK_BROKEN_LSDBS_CAP) for it to work reliably, or at least > > > that was the case for me on a 8750 QRD. > > > > > > Please check whether we can make that quirk apply based on ctrl > > > version or so, so that we don't have to keep growing the compatible > > > list in the driver. > > > > > > > That would be a bizarre. When I added the quirk, I was told that it would affect > > only SM8550 and SM8650 (this one I learned later). I'm not against applying the > > quirk based on UFSHC version if the bug is carried forward, but that would be an > > indication of bad design. > > Isn't 8750 capable of using MCQ now ? because this is the whole issue behind > this UFSHCD_QUIRK_BROKEN_LSDBS_CAP, it's supposed to use MCQ by default... but > we don't. > > Is there any news about that ? It's a clear regression against downstream, not > having MCQ makes the UFS driver struggle to reach high bandwidth when the system > is busy because we can't spread the load over all CPUs and we have only single > queue to submit requests. > There are hardware issues on SM8550 and SM8650(?) for the MCQ feature. Apparently, Qcom carries the workaround in downstream, but I got tired of pushing them to upstream the fix(es). Maybe Can Guo can share what is the latest update on this. - Mani -- மணிவண்ணன் சதாசிவம்