Message ID | 20240910-topic-ufs-enhancements-v1-5-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 q28csp205884wrc; Tue, 10 Sep 2024 02:21:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUBbwAvt/imx4ftKXAYIutcWcEWRpGJ5FTJUSdwTqCfzQJdhg7lY2dtCC39kEUStRhgMvXJvg==@linaro.org X-Google-Smtp-Source: AGHT+IEbas6BQcp1qDnfGrsG2dZer1Ywzd7GULbaUymsRPPsbY93SvkTGdES2oQ57Oe/BeNCNuEB X-Received: by 2002:a05:600c:548d:b0:42c:bad0:6c16 with SMTP id 5b1f17b1804b1-42cbad06efbmr33025205e9.2.1725960076871; Tue, 10 Sep 2024 02:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725960076; cv=none; d=google.com; s=arc-20240605; b=BbLkmf/gQZ4xQq32xSXLPunOtZMN+FXtJfuBv9Qg6ueSx43h97iGXfQCPiWFDsOBv+ 3plIrSz6IJacyBxTw9WdQ8pp4ONo9c7qGvkYnOZFUgdpPbV8KC3sTKNd3DpwlPccUPPB 125Mf6J3Fgw4CJtQr/3toWJj0TpCtcLA4DRMY2iITlM3THzT2WpeaAllw4+V8aJaYADY bgg9MSwJfM1Syx+Xc55VnPf8VT954otyr4n/Jve/2esSpcWt8OINaDx6tucwtClwrIaQ hCTBT2vvs1vSukm+4P+ZbpqMu1THNJ5OFrb1f+3r1lyEDDa2vcIDJsejYcTGg8dfZKh6 ko9w== 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=q2LW5MkEO5pymB6e7w7IUQGE027uBvWv7Inx1yFDrmg=; fh=kIh60KTRoYgMeN0GPP2VRM9W8fD7JmlvFa8NR8V+zQc=; b=Vz6NBhMQnL0E0r0Jkfi5TYLY0op3fAZKgOFO8UsvE8OdH/qHeiK9qI+sQqWRwttVwS IAH3Ogw6G0OJ1av22U5TSxAZpBqbqGAbz5vsRrflufhJepF/ASJfmvZ7AWupd16tK9L+ uGZkDWQy4MJczEDocK0bpplDo+YmarKdPBEBdfkQNGltrILNCJM/QhRn6EErjg180s2F O1M+nksqWTdVBn6HtU4U6aYrQxyGHqs+R4Nn/6NbnSJRJvHn3rQ9VNoHyOQmgHWjINF2 ktiCCf/ezW9LRAHtcSFtV/XwxZ1yy10kpAHVkJYpdH3wZlUsMGq80TkQ1MnHAe1MD8TB LHEA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kn2qII41; 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 5b1f17b1804b1-42caeb45bfcsi34038935e9.45.2024.09.10.02.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 02:21:16 -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=Kn2qII41; 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 5051A88F95; Tue, 10 Sep 2024 11:20: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=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="Kn2qII41"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9073D88F75; Tue, 10 Sep 2024 11:20:39 +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-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 1D11D88F86 for <u-boot@lists.denx.de>; Tue, 10 Sep 2024 11:20:36 +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-lf1-x12f.google.com with SMTP id 2adb3069b0e04-53660856a21so2922168e87.2 for <u-boot@lists.denx.de>; Tue, 10 Sep 2024 02:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725960032; x=1726564832; 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=q2LW5MkEO5pymB6e7w7IUQGE027uBvWv7Inx1yFDrmg=; b=Kn2qII41EIXdN64MFO9dVeDVSLmc9J/LZl+BcGeDfcbaC5XrfQty8yPD9cohnhYGxU /tv2p3gt3ut3yMdeLZ10cXC/RNGqnVwKmuXzXagLK5brwIbyr1mh1PgFxFwG4M98mEFI dHvyHByypzNYOq00Cy3coRb9gR2GsNIvw8KTzTyR07KL4J62XiGT1ySFFl2cZk2rsHq+ DWWGoPvZHfD2zHR4a/DHQwZjAE8a//UnNJl6cJy2ulP7Pd3zfvENkQji6oCF+2iDRhgr 3CogXsV2CLBJohYhwy158uhxS7OjsK6NOZq/1nYZs+ofBSySZRecMIV3PHHruv9EKarO PPuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725960032; x=1726564832; 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=q2LW5MkEO5pymB6e7w7IUQGE027uBvWv7Inx1yFDrmg=; b=TCIKVacnmyN1E3kDT8ztBtPaSTCnO7tBN3mGyUhSaAku69VLHPJukVS85okH5/jOFE bKRD0Qoj+bFn1RsJIRC3fRQe82vjK3RyT2v9dvjuAtsl87LyCDLq1jspKELXMTvlesk8 O6zulDp43+CqJT1a+va8kPTnp/vu2GFdvHDw17TshWd0eb9WbGd3sgE6B9Hqvbq05QIa SrzPHMmFMpkAE+6NIKs1irygvFECUNekbRmHBkvv/4c1apyKdvQsS9eAtHUGhX7xCdka UDaH5RJPkvtYHSLH3p6h5qfHCP89vl6qrhQ9/cPRfEEvT0iwlX/sXmz67VfV3Taiyi3V FjyQ== X-Gm-Message-State: AOJu0Yz3FJIfKcerEqekAUVzIDMnPCn5Tluk0YsgcJyNcdW2/MMMGsbj wWt+ufOuBmITweq/aXPnWpXXiL9Rcero9zR3jqQh/Zo1S8EnFtxFxLh/yqK/Mm0= X-Received: by 2002:a05:6512:1103:b0:52e:9ac6:a20f with SMTP id 2adb3069b0e04-536587fc91amr9316054e87.37.1725960032097; Tue, 10 Sep 2024 02:20:32 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 02:20:31 -0700 (PDT) From: neil.armstrong@linaro.org Date: Tue, 10 Sep 2024 11:20:22 +0200 Subject: [PATCH 05/13] ufs: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240910-topic-ufs-enhancements-v1-5-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>, Marek Vasut <marek.vasut+renesas@mailbox.org> X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=972; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=gzfDJdXexZqNaG9T3+YZbLI3JscEH/uXNYFxEdmKPMo=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBm4A9XyVAVvreJ4D+GnA405GxJCE9BF0WdMQsuyVDk W1lEtRmJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZuAPVwAKCRB33NvayMhJ0d6jEA CYMbqBrzHe3bK+BqJJHP28AzuzF8RhGsWeB1c3edNEeQVSV6OVrghBT5obv+3oKVc6dSXwiJX6Z/Hg pqwqq9D9cMVz+UBmWbfW72GpscDFVGey4uuK//OderZzYFj/QdcreZnZPbwDVjSnvdyUreE6biGrz5 yenfe73mAutXumFB//7r0OKlypvMgAum/CTdorxwlk9fN2eVuUNZw9yqWCBIamJiF8LhYvOmarNoji yJLyQD53BH2mG+jrF5x6rpowtop8ziF+S6lL61oMjcRqAW8yu1AFCZeoO3/fsFR5g4ztc4Kk/oc59y s8WE8dJC0YNWxSpBWuuOCyNNPyXfVzSP2I/th8zMBhY8cYubPHmkHDl/L8Icl974QD4nau+vnALO0G uUhicUWg83N10UrrI/JI7CZakSsZwLpNau7MMJSdS/q12VuQb6OdjDLY97IAXliGYZC4LPd1z6XuqX p58F73AL4dc+RhBJSq0LaqTnq0vGUausuuQxbE1lqOJHVlwDEaO0S9H2S3U63sMuSojeNPuMiq7+rw im2vmBtguJI59Bq13yhLlimUUURf3Ip4TKfRUiM+Cq44oR3vja//jtPEuoKPIxcSgXXUz6WA5jsSdC H85IOsrtbpkRfRovucomtZf6thjJdpZ6LXVGRHmxcXn4G2mjWEe8OWEh1tXQ== 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.h b/drivers/ufs/ufs.h index 43042c294bb..c92f47d82b5 100644 --- a/drivers/ufs/ufs.h +++ b/drivers/ufs/ufs.h @@ -732,6 +732,12 @@ struct ufs_hba { */ #define UFSHCD_QUIRK_HIBERN_FASTAUTO BIT(2) +/* + * This quirk needs to be enabled if the host controller has + * 64-bit addressing supported capability but it doesn't work. + */ +#define UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS 0x2 + /* Virtual memory reference */ struct utp_transfer_cmd_desc *ucdl; struct utp_transfer_req_desc *utrdl;