From patchwork Wed Apr 3 13:20:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 13616169 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 E20E1150995 for ; Wed, 3 Apr 2024 13:20:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712150415; cv=none; b=QaGoJMcinWP6tUD346Q8RTzftDGIFFknDo/JOGEQi1B+Z5cZW+UAKJ2fbLp6milHuEIQ7ae6uLC0yGLL+pSeOcV8OuN2f5HyP8Pze7t3+WaZ3qDRxFz0K7f78H49eI+KFdOMem4PY4rjhsY2bdg2enu7+5DI/+DUGiUVQo9T7sQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712150415; c=relaxed/simple; bh=I/WssGKzx2pu9m1OGtbWNQp8YlFg6iKJZjVi11y1FHs=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=TgpxSUNSESnt0NJSAxWhs2gtjGhEqihq995L0Re7aHc1t5NQGuUny0qrlH3tWrCLXaFPoXyPDC9FnoF8X28d7cY8cBAvlPXMdAULg9KKBm0DnhcKuWsWDNt7mOICbKOqwC1DoIaylxpTZTtR8Udc7CuECE2KYLsKdWLJOMFs2TM= 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=oZPTkmoF; arc=none smtp.client-ip=209.85.210.173 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="oZPTkmoF" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6e8f765146fso5403426b3a.0 for ; Wed, 03 Apr 2024 06:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712150413; x=1712755213; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=JEsqOJgrZKfiF2/lAe/0WeYJIosNuSPi2rFlnClcirQ=; b=oZPTkmoFnRDD0YGlx/b7FzKkhWl6Z+m7h4hniLRZELTDa2C0jeYjittfFrbZKrfzww +xyReQkZivoTWqLcsc39/GYXMuFuhnudE1yx5P+F8SrZtM5Tq5zDpSfr6Bj+5ge2qVT4 sz8CioULMUeNlqOWjvN7w9Hh9eLACNylY1EzEYHQXwg/UKkmYFLXlmQhgZNCy30uwgpk r7RlY/Mud8ehE3sCI5Yh9UVgSBM+SkVhJH6sokzi6StJdmhFVcPDDt27nJhcXdsh+Vr7 /n0c60M57/lnuvBGpG+6XjY4GIueLBe3qlXaJiFM2GKMJaTd6eKWmExu3aj6xGKsYFNG pX8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712150413; x=1712755213; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JEsqOJgrZKfiF2/lAe/0WeYJIosNuSPi2rFlnClcirQ=; b=KTQ0c+M0tympYtVhur8eU13BtThWkk7Kii5KwH47FNmjCz0KU1fIerpRGhb0YFUdUu TUla64j4GlRHXEim+BHaSgdyqFzjR7WKbojbr1sz/v9b7hstBbvNkhqHNHvQF7g38hA3 wYQXQONng6tGizkeDKZF3LoIoJPD5X5RqaKmPvNRbpWe/gOA8KcTyNjJa/qeWljxgJEN p9R1Au803zEAbY7U7YxrSZyh6AFqJDeKnBAOtQni8EXPUJc6oOn0xRGHS0L7MIh5sS14 KoYBnEtJHV85VgKAf5YlEyiGhR8lWlnuzqTai72XrogrA1oeQTnWap0fiAlECIRkPeGd vl9Q== X-Forwarded-Encrypted: i=1; AJvYcCVzv/GgenKYowNsCi9Tf+XRmLe5cTnZKDqxntxR7p0QWfDeKC0cNwbGu4M3LnP/2eL5+jPBOlku8I02pcK+/iHRsZtbD+ZgXSSFeg== X-Gm-Message-State: AOJu0YzcVGcARmK6HjrT0wcjXICtxmmbGTSyjDnYI2aqestbj+JA7cqC ZNBcUyGHlEtKC2w4b/xhiltB/Rzbhv3lsplmDyQvx4vT91hEgxEgClCOhxv2Pw== X-Google-Smtp-Source: AGHT+IE+mv0vqUVj752A8+B5uK4aKOSeJFS0d13jC9TEMRJbt33Mn6Zcv6SnMhyVyxPHw+XjYiPyLQ== X-Received: by 2002:a05:6a00:4b46:b0:6ea:f369:f204 with SMTP id kr6-20020a056a004b4600b006eaf369f204mr12783329pfb.5.1712150413075; Wed, 03 Apr 2024 06:20:13 -0700 (PDT) Received: from [127.0.1.1] ([103.28.246.48]) by smtp.gmail.com with ESMTPSA id r1-20020aa78441000000b006e69a142458sm11640518pfn.213.2024.04.03.06.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 06:20:12 -0700 (PDT) From: Manivannan Sadhasivam Subject: [PATCH v2 0/2] scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5 Date: Wed, 03 Apr 2024 18:50:02 +0530 Message-Id: <20240403-ufs-icc-fix-v2-0-958412a5eb45@linaro.org> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIJXDWYC/22MQQrCMBAAv1L27Eo2jRQ8+Q/pIUk37YI0ktSgl Pzd2LPHGZjZIXMSznDtdkhcJEtcG+hTB36x68woU2PQShtlFOErZBTvMcgbSfd+8JYcmwu04pm 46eN2HxsvkreYPse80M/+/xRCwt5Zb8hNwQ729pDVpniOaYax1voFL2GfbacAAAA= To: Bjorn Andersson , Konrad Dybcio , "James E.J. Bottomley" , "Martin K. Petersen" Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Amit Pundir X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=896; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=I/WssGKzx2pu9m1OGtbWNQp8YlFg6iKJZjVi11y1FHs=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBmDVeJnTVsB5vVtzC1XXd+71BouXk1NUPDkQH8U XZE4J+Gjk6JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZg1XiQAKCRBVnxHm/pHO 9cW5B/sFuhC43fGkXLgFBtBpf9x+bFYfUF6omoJDt7oqWbnol3Lx66367osNuqO0sYm/sv0XGQ/ ZhrBvtltB37VYds+n2KStqf2qOjNvxpDhCPYyHTlnyZm4F1ZQFXbtpNYYy5S3GUOwL0XBaAwUkM WNb2Jy8eiHEGElIfZi8qGeVM94X03RXe2Ihw8lyV043M2tQo6YNP9Q00IPn0VUwJFVQIGNOc5fU tt5tNPI/qSusT4yIjlCyeyhfKVQ8sjYH9nc75942mJ/ftHs9ff3StuFij/1FkJBqEPcpESyLtcK n3zKHOD6dMuac8unAvfEkUGFPwvoKAOajqJgdTPrfslZ2R/7 X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 Hi, This series adds the interconnect bandwidth values for Gear 5 to the Qcom driver and also adds the check for the unsupported gear/lane values. - Mani Signed-off-by: Manivannan Sadhasivam --- Changes in v2: - Added sanity check for gear/lane values - Collected tags - Link to v1: https://lore.kernel.org/r/20240401-ufs-icc-fix-v1-1-3bac41bdfa7a@linaro.org --- Manivannan Sadhasivam (2): scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5 scsi: ufs: qcom: Add sanity checks for gear/lane values during ICC scaling drivers/ufs/host/ufs-qcom.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240401-ufs-icc-fix-123c7ca1be45 Best regards,