From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 EF0E91C701D for ; Mon, 10 Feb 2025 10:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739182427; cv=none; b=YIsI1MG5C8n7VPGynITqN7PWVIL0fUDGUA9ZMhhtHqR8WwVW6r2Aj8ixPAf3ncPwJBq/sNlrvz9OBWUU6+TEjqqXwGrH18PCLvWuxIrOxDthcwVSe74J3MU6tE2kg8mijpD7m67DPytigKYGdTXuJVubbhHcOzLtiNE6SILQVA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739182427; 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=E9DWyQwf/sjKFVj5sxcNMGXupgY8k/8W8AKM7ky6wMglykVZadBwAKcAk96OuuTydRm6N7s9zprCy4AfJzCXUJ6Vv7XexYw8nTBc58XFU4L0i6DiudC7QWvSuX4y7Wlj3aKmgDzjIbGNWVge9bAh3Kp9jY3AJ2exOIF/l4nzI9I= 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.174 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-f174.google.com with SMTP id d9443c01a7336-21f55fbb72bso43289885ad.2 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=oqRyE/x27Z8z8fOMQSi7LSGZ+U37I761C7PhZU54OtLp+CfYTYr6Vik8xEt/jgHlH8 p8pk8H6SYyNcxj1kcx0wgdGC+jew/k3BcEOI3pTdKp4MxRZ75hnrwNKd6CYK1HHRQaDy J3XPv5XXIBtmelr+93jTifWjidGufIzKKbxeJ9dr0z4eairN3vFdtuwduAzUTOFq7DxT tdJVHKzsReJhDuv7k+cdybBRSMJSMRmPWXjvsWdlRiDVeK3gUq31K7v1eM4hDA35Qz2n 0qmuDtHjhlPouC5Y+MVNJRHgNRozJwCRsWVkzGt1oLePdLoXBK/0BMIVYqRFZpWY3NJy Rj4g== X-Forwarded-Encrypted: i=1; AJvYcCXU0vQL62/oaywvA0ianHqh/qPp4UbMxAkanxy/Exp4JjNntTXty0qnDP43MWKmXpx9qtWTgiU95N7SFaJb@vger.kernel.org X-Gm-Message-State: AOJu0YzW7kJ5R4dIu+P+PbSQdAhBwaWJ7MPYOCXyja4IOb3fkjOll3c8 qdfdtIBG3aMFqTvNCooCF6zOKvryuFxvRn0OCKSyIjE+j45cs3RSN+6XEhPojA== X-Gm-Gg: ASbGncstgDBs6HoDJmYas9ISrq6lx6vDgC+NZlPJz0MUkZrNL0e7x+Jh0pDsdC/++OU AXgP+4MdcP8C62ZgaVPjC4P6/3utnbRAjpl6J0NLcELKI6A1fGUFu1fRLM5fpkZiplJEjYQOAbp jjAp6Hwa6BwMLi/iEZmdnBc2o7TZeq6eNoaBrg5IjGlcHCb+Pr9OoWsPYYJQXFGC55hDACOW0/a lpgDQrFzWBKYhrwcQ1riblfM3HsOW7xh/Z8a8SLnhW0fwZ2YEnuQKBIg/lv4u3pw+SmfS3GaU14 AE1eMBO7QU42mZGU3U9VG/K/KuJF 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-arm-msm@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 -- மணிவண்ணன் சதாசிவம்