Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4560723rwb; Mon, 31 Jul 2023 08:39:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlF6+OA0q/N2+ebiPznos3fBxbKNbxItVIk+yQIwYmKNvsKETVQyXCGQEbpS7ons4+A+hGkw X-Received: by 2002:a2e:959a:0:b0:2b6:f21a:3dae with SMTP id w26-20020a2e959a000000b002b6f21a3daemr204025ljh.44.1690817958756; Mon, 31 Jul 2023 08:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690817958; cv=none; d=google.com; s=arc-20160816; b=UybY45vZTy/tHQ2JOsyWmvlHYH7c6YP3gj9d2tunZgpCn2YSQrC8jTGCVwyZ8Ix7Ov CLq3CcfAA9eX8YyxGCuFEYFGAqrzJ1ughgitc9a2uRQ7uFzSh6xwQnHzfmT+hLicAWHA ecVQPWng458+TEdQIkHcK4hcdbeLHsYoJP4Qmcm2JQABoAjFbn3xPvwij/oPMtSrsKra BtmdfbRTzWHRoAqgsgkTSmwdmtWY9Jel8iNFJsM5Kke0j6BZkVDkLKJgQwcgWebZ4ipq wgYo+wvr5mpmLRCXZeek8pzQjUkFjVTJt+4EhcoHQIYMCfCtKbOW0aprdtdJ2pIGjGjG QkcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jzYKaWJBV7r6FBoOWy19q9Vp5WCRs4zk2VoX6XkHWd8=; fh=n5pjL4gXwVadGfbVrEv7+W71hOerwEQehIHw9ipILy0=; b=WtCN4c6uZ1GxC2r2V7x2fT8Nv9sLA7EdwWQKieNr3tUlGADdWe9QGxuGY/L6gOYfdf WYtJr9R00Lwv8sqa8DpSb/8aCuOCCvih4qZ/FXE7twqpcGUfp5FyncXA0woGFM6JYElZ c0Uw3f1l/X6Z0DkDgfSBJLG0t756bLthi2iEP8s8TNoObPlDBg/R/c82PQDsekrwUuZz wft7olxkDb9Y/IStJWEHA+aRqyRHHVbL6fQcOm7c0OXAi2zW9lgP22CvUKvsShJIpwvW gIDS1iZsNF/P4e4p6x8bWlfbdWEV8L4MniK4VjydiPbpfTUX/fOWV3gnEyof9iuRDQrK I7xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FiV/Ypzo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020a170906970d00b00991c32f3565si7210760ejx.30.2023.07.31.08.38.52; Mon, 31 Jul 2023 08:39:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FiV/Ypzo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232413AbjGaOuo (ORCPT + 99 others); Mon, 31 Jul 2023 10:50:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232490AbjGaOun (ORCPT ); Mon, 31 Jul 2023 10:50:43 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDDC01BE for ; Mon, 31 Jul 2023 07:50:40 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1b9c5e07c1bso39175835ad.2 for ; Mon, 31 Jul 2023 07:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690815040; x=1691419840; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jzYKaWJBV7r6FBoOWy19q9Vp5WCRs4zk2VoX6XkHWd8=; b=FiV/Ypzo1L9irb459PibZEA01bTRKxCauVE3RYfPGl/Ly3CSCK0JZk5J7sG9j6Ps5x WU51Z0H5kNiiVoVthnZfzx/Ow4FXg1lZdalT9fqp9Mwk4Yy21l3cSapyxEUtcTDdjNd6 uk7qcY7YC5zfrNCpOvk2cp4hs/98yCgROAwsDkQ0bt8a0UAjBy1tkGZ0smCyReG8Vbsb cc+66Hc+oqpoZEHOCdc4g203alAeo5xoT6MfQ6V23oQehMpgVCchD/GqH7UPRnL06RiK p0jtrhBjkG8rzzqFqKyoJOjvWW/WkkMNqs6coYXfgaOeuu+b1DZxGpzVoDpGRzAVHrgl NwNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690815040; x=1691419840; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jzYKaWJBV7r6FBoOWy19q9Vp5WCRs4zk2VoX6XkHWd8=; b=BVdLGr9Hze4oiz5dRSJiphbRldqPdiDKRLL5uXf3t21UvJQ2mAQPEsQyHL/BBtGiLd 7DLzH9M1DtkhF/FvhKnXHOggGppabEVm0QXAzLkHBx4uEcnWSuX68zQrISSfC9MaEauj WHb4hM91wuZ6TIWBMvl8qnhFoRfRjxAZyPYOj81MEZKr8IXY1/SVlnbcq4tocCCzQsWQ 93VfbTZI2YCkVIDDvQHzvj7jrd7JycxsTDYpI7mj2eOEyxgL9XugkaIpoQ/UOfh1B/JA SY/ecTV8hkXKyKx++KvuBFT9FRt4g3yhErHbec+Y4vb3w3Cp3RniV9BfvMwt8jRFynMk Le4g== X-Gm-Message-State: ABy/qLZ8frkOsS1dwFNJRzd/7KRqNcuPSTL+K9VfmwOp/TeoIKvfOkAU lzjcKXu0b/yM/2hVve74+lbr X-Received: by 2002:a17:902:7894:b0:1bb:c7b6:493a with SMTP id q20-20020a170902789400b001bbc7b6493amr9632018pll.21.1690815040268; Mon, 31 Jul 2023 07:50:40 -0700 (PDT) Received: from localhost.localdomain ([117.193.209.129]) by smtp.gmail.com with ESMTPSA id y4-20020a170902ed4400b001b06c106844sm8730185plb.151.2023.07.31.07.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 07:50:39 -0700 (PDT) From: Manivannan Sadhasivam To: andersson@kernel.org, konrad.dybcio@linaro.org, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 0/2] scsi: ufs: qcom: Add interconnect support Date: Mon, 31 Jul 2023 20:20:18 +0530 Message-Id: <20230731145020.41262-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds interconnect support to Qcom UFS driver. Interconnect support is added to Qcom UFS driver for scaling the interconnect path dynamically. This is required to avoid boot crash in recent SoCs and also to save power during runtime. More information is available in patch 2/2. Credits ======= This series is a continuation of previous work by Brian Masney [1]. Testing ======= This series is tested on 96Boards RB3 (SDM845 SoC) and RB5 (SM8250 SoC) development boards. NOTE: This series is a spin-off from previous OPP and interconnect series: https://lore.kernel.org/all/20230720054100.9940-1-manivannan.sadhasivam@linaro.org/ Since the devicetree patches are already merged to Qcom tree, they are excluded from this series. Thanks, Mani [1] https://lore.kernel.org/all/20221117104957.254648-1-bmasney@redhat.com/ Manivannan Sadhasivam (2): scsi: ufs: core: Add enums for UFS lanes scsi: ufs: qcom: Add support for scaling interconnects drivers/ufs/core/ufshcd.c | 4 +- drivers/ufs/host/ufs-qcom.c | 131 ++++++++++++++++++++++++++++++- drivers/ufs/host/ufs-qcom.h | 3 + drivers/ufs/host/ufshcd-pltfrm.c | 4 +- include/ufs/unipro.h | 6 ++ 5 files changed, 143 insertions(+), 5 deletions(-) -- 2.25.1