Message ID | 20240910-topic-ufs-enhancements-v1-8-3ee0bffacc64@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp206085wrc; Tue, 10 Sep 2024 02:21:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXb9vacPGgFjRvuQw0YkzvFt76+gBUmYuSOUOfP3+fKg0e038jYqWUxO/AsnLpNS9+MUEkqFQ==@linaro.org X-Google-Smtp-Source: AGHT+IGaoLx8xIk06epgKvvwNcOhrde9x4l6LH7QXWhFOQhhjTo+R4jNyEgrRJ/jvBFI1Y9PKOtm X-Received: by 2002:a05:6000:184e:b0:378:7e74:cc25 with SMTP id ffacd0b85a97d-3788967e4e6mr13062012f8f.39.1725960118376; Tue, 10 Sep 2024 02:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725960118; cv=none; d=google.com; s=arc-20240605; b=blWNXcZDQ55X0gIET38ZoIBP6lAsLXo2SZzSKblcM39kxFVESA6QF4tDuPtcMU1/dL uVUH4qCv92kYmMY0ms4N5BoFinEdKyh+KEhx3C4UOH0LHGvdaPkWt3Z6H7Y23tc9VddS hfMDd9CJGNYpBXS49qVSK5SxKu28DS0s0/qX934NGDUDvx9a+w2fBluAhOQZypufuVYS 4OMExViKvMDJCcbiESj/ZJWG8NM9Npvazg11iW5Zyu3zccZ/JlsUirALSSIxUjc+wx19 IF2v7IBL8Wb0suaUSZr5UEWO8DAO3wFtHVPZSNipj6moZfkehcqFYBdtLaxy6dKlEHeX PKkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=pXv5ZgubOL3yjfLM9ECp2Jx1KLJbtiMwclsA2KmrMo4=; fh=uVKLv1QSS99cNt9xKJtMKFbrHuaW/J+XdopzN72C91A=; b=AYax8z1MNnZWUbVbfUjxRhFzSNINXWWYS51eg38z8+E2bKVzrQD8Tw6SYaKVG6eI6C MpUKpwsU85neBimeUjLbAHQFL4wRr2pzMDIMcBRrz+HnYcc52vn34CilGH4KAwzbDAbG gSKFuhF0UYPAGzSJQqSWkuskoMNXn3l2AZ267ZkuK/dtYM3O8ftPUfYp9Sg2PmxDTHGI mdOTEb2GX2INERt5ezFs64Tlyj+fqeNRKeopVTtADlg6ZRjmQdB+9phgFvxCH9XNYNGO 6ckHjDLCd97stcnk8O4V04Qq2S2y3levNzvgPjBEiXFwbO8TAE9NdZxxircUZq9uU/mn CiNw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sx88d2oG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ffacd0b85a97d-378956b93a2si2929730f8f.596.2024.09.10.02.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 02:21:58 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sx88d2oG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 146B088F8F; Tue, 10 Sep 2024 11:20:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="sx88d2oG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9D47A88F9A; Tue, 10 Sep 2024 11:20:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B8EE388F86 for <u-boot@lists.denx.de>; Tue, 10 Sep 2024 11:20:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=neil.armstrong@linaro.org Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-428e0d18666so48344705e9.3 for <u-boot@lists.denx.de>; Tue, 10 Sep 2024 02:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725960035; x=1726564835; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=pXv5ZgubOL3yjfLM9ECp2Jx1KLJbtiMwclsA2KmrMo4=; b=sx88d2oGVrLUvxEdFcK3rDA9E03jP5cTLQsjD/4Wna86s9LwdKk+gKRwByUpfrYRhH MPazQaVog3wA8QoHpm1gGqKcGHDubLrIaI2h29Y/O1fYU9W28b73EIG8VTy9r7EhfM3j q9N6Gj+a0zPbKZoXzoxntMWCGE3pe782c+biTCJErC12IrErhN3FQdZx3nnlOHmBYBik +l00s8ccWrxNgA9mBiZoPX2xnJ7wazNXfkVxsAgsDznWpwlVsUTRGylSOwEk6AZUJW9q Ukoz6Ku88SkWegk5ofja946+lBsbMxZSEXkObW54j4uUKPuRXtmEXVKFLS7ud2ud0IXT Q0Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725960035; x=1726564835; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pXv5ZgubOL3yjfLM9ECp2Jx1KLJbtiMwclsA2KmrMo4=; b=SCuS5RzWCQ5ouhbv+1lZjfJChyaiyYHrJAoGRQXYBzy/DXr3YOEc/OoPcn+ToKVCq3 u+AFdYUVZAA0Mch8PQ5B0YBoRP2hcxvVdODSqM8OR3DNAldq3fz8Jrdvn5Z9Th3hnlwe x3Z6WgziEsb95VlrBesx4r/dnLXqG3YdXkDa7NIEJ5PVobyVEIwPL8J6+BOTBCzIdUNn LFr0+sbOVv2C2VOfGNdzNYQehztF34iAmev7SjuigswxiKmnu+BgdO9iMJKyOh2pyPAY wwZUbAn88CONgX3xOokzG02mBqPVcZxbhUjUHFVPm9LC4ba+e0fFcG3bGPzHLlltXijq Yl1Q== X-Gm-Message-State: AOJu0Ywm6JkcaV6y9PUBkcfri36xprLY1gdMtCyCs+cwH16hD3XmlA9Z 547RECmIyAkBJ+BkcZp+8VXflV2KJHs+nq+h38Em/ngODmplas3q+v7mqy1Ni8zEGetRJAeUBP+ x X-Received: by 2002:a05:600c:3c8d:b0:426:647b:1bfc with SMTP id 5b1f17b1804b1-42c9f9d385emr98631195e9.30.1725960034596; Tue, 10 Sep 2024 02:20:34 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42cb099acf6sm101256245e9.9.2024.09.10.02.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 02:20:34 -0700 (PDT) From: neil.armstrong@linaro.org Date: Tue, 10 Sep 2024 11:20:25 +0200 Subject: [PATCH 08/13] ufs: Clear UECPA once due to LINERESET has happened during LINK_STARTUP MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240910-topic-ufs-enhancements-v1-8-3ee0bffacc64@linaro.org> References: <20240910-topic-ufs-enhancements-v1-0-3ee0bffacc64@linaro.org> In-Reply-To: <20240910-topic-ufs-enhancements-v1-0-3ee0bffacc64@linaro.org> To: Tom Rini <trini@konsulko.com>, Bhupesh Sharma <bhupesh.linux@gmail.com>, Neha Malcom Francis <n-francis@ti.com> Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io, Neil Armstrong <neil.armstrong@linaro.org>, Bhupesh Sharma <bhupesh.linux@gmail.com> X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=727; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=zS0wWmluBSs9D3MV9MEogWQo9jfQBO7Fvm6JkMA7XQ8=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBm4A9YiqiTELH8pKi5tTUq2w9sk5mWmQbb5kCys7aN 6+r1j+OJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZuAPWAAKCRB33NvayMhJ0SH4D/ 9HpVAshxTVrcMD7xuXz5vbKKrmXqktPkB3d+3sqG6MCqm1H5w1i6Rj828769vD6DLkugiXbNdGFGQB 9zQOywB8b+Z8WVuM2jWFUXVtthuJpbNZyvvY1Y9HlKHX+frAz5ONyDzsZ/545GAjWuyRttquFPj+rB 6hn6rqfQBi+zWiEW0l12QmhpCZFVcAnGU4GfLoerbuIo7uy772EICTI7T6Jx8VXalnqK6pbNhmDfM2 VSj94h4KpSStgjGYsbHsZUn5XdHzlyIW6YpgwubG3FaWhuhZYJB/nH45khSVZgShmUZxaW4MPLmdOO TqnpMoDGTlWeVvdDieoEZb380Uy/ffEWy6jZYhPoAc8kThm96FJ9D6oKDuuOho+QTyGVAHwEMPD1M/ unQDhn8G/k7Slpmus5sY2WCQDo+2wECKyWn0tWPzvhiPAEPrXuayUjyexJHe3kOjL4dg8fAFjFp7/T kJhlQeObGDTqD8JJX5H2bDpCbuUXUYDmpcFp/EUPRXRCOeQF/WkkkweAnnn5oHZFqlbUCrKfTV85t0 7hblavDGlN0Idti2a5RR0za5dNlcOjyxzOFjLLKgNlAaNQqzUvwJZbjt1rMoai8dmyTn3inR0NfRXR VQgFPqYotRfvYuYrsZjDOAdPonJnBfUWeJIdpvaH5wdBbSCJgmGHG9wY3Sjw== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
ufs: enhancements to support Qualcomm UFS controllers
|
expand
|
diff --git a/drivers/ufs/ufs.c b/drivers/ufs/ufs.c index d99dcdef7d0..565a6af1404 100644 --- a/drivers/ufs/ufs.c +++ b/drivers/ufs/ufs.c @@ -504,6 +504,8 @@ link_startup: if (ret) goto out; + /* Clear UECPA once due to LINERESET has happened during LINK_STARTUP */ + ufshcd_readl(hba, REG_UIC_ERROR_CODE_PHY_ADAPTER_LAYER); ret = ufshcd_make_hba_operational(hba); out: if (ret)