Message ID | 20240930-topic-ufs-enhancements-v3-8-58234f84ab89@linaro.org |
---|---|
State | Accepted |
Commit | 002afccdafdea6b6f0e4422e838649567b41e29d |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:66c8:0:b0:367:895a:4699 with SMTP id k8csp1927989wrw; Mon, 30 Sep 2024 05:45:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVEEAEzw7K6HQc6s6nGPLziPA8ZvX6Sc14+14OqJFwIGWoWVHmP1kl6tuWddjdPxQs1rbj5Zg==@linaro.org X-Google-Smtp-Source: AGHT+IGUgMRlet396T2j0SB0hileaYI2g4mAa0p5LFMvTmekzvpNU0LZohzoNrhAPlF5fk6Y1eD8 X-Received: by 2002:a05:6e02:17c7:b0:3a0:90c7:f1b with SMTP id e9e14a558f8ab-3a3451692a1mr104890605ab.12.1727700352691; Mon, 30 Sep 2024 05:45:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727700352; cv=none; d=google.com; s=arc-20240605; b=X3Qp953Be0HVYpuui1sIECV1Cmo4ZV1t1SCp5pCV/s0rs9PtOwA7jVNWiYgQnlDhb4 HkYfbDzsIZ1D3VSgVIOQZR/SktSYxjYBkFekbi4BQJLZ+ZVqoP70aWoW8nnYaLeAgGDz QYudP3JtSYcEM50P3eT6rJwoca1IXPTpshYawfbzaRa5F46RlYGiWKkZ7ryqm+vNy3TY LvnSS8/ApGazWqJKvtvA7PVhcZy6wO74Q/RG9QvXIGCaoTobNvzIZmNXPIlJ5yuSr2Kp snc/IJPjx+T+daX3p/4GGR11q8JJl89ktoVXUQO4AG5wp+ufoTTSFB2o9NQ9JR1Wq1Ez j7Gg== 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=oRI+braAFRkLtW1tYqHypYCrr66AgFi3eAXR8xLFtVg=; fh=1eubrHFNEU2kCMeZEMKz+ZkE0OOdeGzdkg/tuZ1YA6k=; b=OpHwSBzFL5OrkISBUYPzJE1IRXXJwN88rhXNE1O55llb7cCCvvKnS6+NvVenVkBujk efjdC1axdIrfQi7C8epL/1vbWWq+R/zvC+LmW5hOL62ga5tlExRkFnDXeJ35gcf5qAHF dn7YX0SjbsEEKGy+ZA1FvQO8PsGPINIOfjX5RjFh3cr1khKz/MqY9hYwPkuVXY7b3LY9 aUczUhYl+8Mlu2cEwVwn/vs6x2qYm5MPcWPAIbFbUgo2jUhFjBoSXth9o0kMbbS4sbev mQE1z4CypWTgXqnGWd7oJQvn1Tc0m1fahth+HV0mavCmoeIj+tOeFE5o/VtuY/leQWHY l/hQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gd0Nfif6; 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 e9e14a558f8ab-3a344de9979si35027825ab.108.2024.09.30.05.45.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 05:45:52 -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=gd0Nfif6; 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 4EAE388E3A; Mon, 30 Sep 2024 14:44:47 +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="gd0Nfif6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E404388EF8; Mon, 30 Sep 2024 14:44:42 +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-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 01EFA88E63 for <u-boot@lists.denx.de>; Mon, 30 Sep 2024 14:44:41 +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-x333.google.com with SMTP id 5b1f17b1804b1-42cb1e623d1so40168545e9.0 for <u-boot@lists.denx.de>; Mon, 30 Sep 2024 05:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727700280; x=1728305080; 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=oRI+braAFRkLtW1tYqHypYCrr66AgFi3eAXR8xLFtVg=; b=gd0Nfif6gNx28xwkoXTbSv/eEhaj5nAoISdvrmZaL8xc4heHn2dJgJDcUobCNS0gcs 35OWV+YlSnHRRTgALM24QSI+COd2VQn60aWv4/Bar3WcgYhucliSh6neYFubQ+Ahwajw ZgOQtsQeERgtfKCsvI3KYSYbOoOQHrAYO8TGD8y4Iy8sDzYwcSo81jsIns4bXs/0Vntf gUbLCIYF56zkBCCi3LqGU+8ev3/ZmLBxVijYz35uGACiVSEieuiYapG2sXtJdv1EfjM6 +kDXejBc/0e0QszvIp6d5nVqr7qXp8+P1vBfBZNJb3LVys9OCasRKR49x1uK+CYg7vv4 AAXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727700280; x=1728305080; 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=oRI+braAFRkLtW1tYqHypYCrr66AgFi3eAXR8xLFtVg=; b=I8CkAqMUM+c/cgbWvIU08OBKvq+cM8iF9169Xvzi+MAgT+1xrxzR5KREhxyeizj+DE 2qNgYRcE+WpvNhwBX8dTv/qwUVvae/r/9zGXV656AeraUVcUdAUQyshhQy0K8rBkhYnz iVPITbSYWyk9HluPEf4EBP2Ciq+r2xf+wgtQjLR5rR0ot/uNSesIt0xNTLEjGjd9+h5e C3DW5oOxxoU93P3xnYGsPW6BfBEYM0SteDtKVFwBAcF1cShoTdeW6PeNY29SY71NzSMr xUYWEeaq/tXvqSh6K4U2fvTIFufvbj2ignYYlArs4kLCsvksLCBipaWumJiinO1n2Pv0 SMDg== X-Forwarded-Encrypted: i=1; AJvYcCWKxC/QGfGxeXAeTDm0631k0s+PBq4KMqHS/rNd3sevaciW6kDj2RVacg+/lggme8luPkqJue0=@lists.denx.de X-Gm-Message-State: AOJu0YzQPnSOCVpKL/k2dUfMZSMU7BfGAMTTs3LpVDDgx56GeiwEXUQI 5vb67/guW/k8o79wIwFW5QIWAw2ZWDkaYmH8LJfq+Z+pmkLDiVkfUkwwKliDOtg= X-Received: by 2002:a05:600c:3b04:b0:42f:4f6:f8bc with SMTP id 5b1f17b1804b1-42f584339bbmr85225775e9.9.1727700280386; Mon, 30 Sep 2024 05:44:40 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e96a36597sm149362745e9.31.2024.09.30.05.44.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 05:44:40 -0700 (PDT) From: neil.armstrong@linaro.org Date: Mon, 30 Sep 2024 14:44:30 +0200 Subject: [PATCH v3 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: <20240930-topic-ufs-enhancements-v3-8-58234f84ab89@linaro.org> References: <20240930-topic-ufs-enhancements-v3-0-58234f84ab89@linaro.org> In-Reply-To: <20240930-topic-ufs-enhancements-v3-0-58234f84ab89@linaro.org> To: Tom Rini <trini@konsulko.com>, Bhupesh Sharma <bhupesh.linux@gmail.com>, Neha Malcom Francis <n-francis@ti.com> Cc: Michal Simek <michal.simek@amd.com>, Marek Vasut <marek.vasut+renesas@mailbox.org>, bmeng.cn@gmail.com, u-boot@lists.denx.de, u-boot-qcom@groups.io, Neil Armstrong <neil.armstrong@linaro.org>, Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>, Bhupesh Sharma <bhupesh.linux@gmail.com> X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=901; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=H/JIMlu6LXL5TwiLe2RHNPxjiY85MChmdMxPyHH9Kvk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBm+p0r+Lr48jKRU2C6KU0llUr6CxWX+jXBtz4CfaJ4 Xi9P1saJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZvqdKwAKCRB33NvayMhJ0awAD/ 9FlMjmV6ocdZZsgIP9C28mJ9wso7ZjEVqCPq/5107XSirYf4cJVxRqS5mpwGHMM19URdcz7AHYpWl7 OBl9c777F7GFGpw6ZyA3lRe3eu8d69uGmVyE9epTSY3QEB4yfyld0OAyg7ABsu0svlYhBIwMFq/71P kAFIlaldVUxOWecx/a8zqmz8hCYYwYkBzCRrlWLumLXhYPEiUI20UcArVAOrwvmIhUe8eAYtcAJn4o /3dBoEYxnXi9bKqyT3VhhL34tMBRoevqZubkfSnZrDOEII8oGjs60JEAmMXVvuG6VPXCL1YD96jXAS 000lNiQePGSjghJlb9IBhkjmKXCy883lCoc5HAjM/j64lYxO0lhZ8Ni8y2zzD6NKcZOyK3TAqp5R+u RqHjhxYpG7C90AlxPDYsCgKyMeq0XYpiHTZxjp4qSnMNNm+pqcQaHTTHYXk4YOvk+UJJAXBpN5AcqE 6RkYtgYnN3xS1dR+Ma/Euezwhsoec675HQpLGHb3jx8xOtGDPGZHJgzIIKkjssTuGNPtEChNKTxivQ I8HOoPQJD2JMRoH9tPfzKI9+2U4Y8H0rUMEuV/JkiWQrWdPe+5a+d+KkgoNxrIXuxYJLM8B/gkwtQN knvwKKRm8tTzST6zU7CUDt3W6rF9qZrpwJLPZpkZFEkuuV2ObyFOHSwHCO8g== 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)