Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5748455ybl; Tue, 10 Dec 2019 10:51:38 -0800 (PST) X-Google-Smtp-Source: APXvYqw1mqqmUhgbRMSnBBRlHvJlRlmcOSpQeUl9Jm29U+qtHmdzCVj1GH7FW/eAJovOAfrh2kup X-Received: by 2002:a05:6808:658:: with SMTP id z24mr258673oih.91.1576003898057; Tue, 10 Dec 2019 10:51:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576003898; cv=none; d=google.com; s=arc-20160816; b=qwXacBQ9t3ua15HvdTXORoQfX0Jfe285/lDYf5+ST/yefnhziVxU1l792s++IkyHlu AvyHzYrJVZLENN35SiLU02lxISk7Jt5K0Ng6mpVndQ8HYlAyyRd0RX8S3ico7en3cPP5 IEA0kc4XLtWgrBqI3FkNyeIGuLqtScKDes8YkVYOd4WawOyR4sWhGxd0BUt9s5oLUQVn 5Y4wwTLNxV2Kg7J57yVbEkdd3C4/Vf+bhE9p4wQ0DLaf6NsP6Pyo8AezU6at74HD/fhc 7S4pt9PZE/oO0InRCqqS+xTL8s4Y8uifzcZaxg19VzAePdhWZMVFuBo7/4R1fCp7uFXv Uhng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mhPkURPg18zPOPI/1FqeW1rV9nEBHkw5+GGSGuxTI4A=; b=0YWRWE0lsR7oKQ2uItca19oruHF8v68mZKIgNv/M8nH255/I8FLS94ixzeGLjKy4ut mmw8PdZ8EVfXCLgA1ck2GYep1NJpDLggqRAYJrSwf5liDEKXh4ulytsTmnsF8eKMhRWO qiALLBo6mkH1VJUJ9KcaJ9nXgcV8Jmv4LpfTgpLe7Em0zER5BFdYxH0rAs1tS+9Waga8 7fLg97XobFGaIwTobxYfV/xb7n1aETTXOol7HiaOghAQ767fg8lPLjQqJrEGBKUuWZQV oGyYYYWHaVao74ruyol3DXfTnz5/4kKPpZD/y6Lp6rgSdWAbFk4wvY3O6Y9ZaQg6glRN u8MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XyfR7eHF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si2333693otm.224.2019.12.10.10.51.22; Tue, 10 Dec 2019 10:51:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XyfR7eHF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727643AbfLJSu1 (ORCPT + 99 others); Tue, 10 Dec 2019 13:50:27 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:42231 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726771AbfLJSu0 (ORCPT ); Tue, 10 Dec 2019 13:50:26 -0500 Received: by mail-lj1-f194.google.com with SMTP id e28so21059532ljo.9 for ; Tue, 10 Dec 2019 10:50:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mhPkURPg18zPOPI/1FqeW1rV9nEBHkw5+GGSGuxTI4A=; b=XyfR7eHFBm0pQiVF/MBhH4Y9RLm8rlxOZfr59pForZKkiWu/GxNadDjF0QjXgF1b+D dCr7Mn6GoehwEgEdze6xus1SV6FmBuG2QuqFyZ4BiL1Xx8Udn6w3SAW0orvrJV6dzRXs wRm6BHNZTeHCa2gcLH6vFruPmyg39jRkwQIEE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mhPkURPg18zPOPI/1FqeW1rV9nEBHkw5+GGSGuxTI4A=; b=r+xFWqK83EhcRvefC+uXCaCgdndyQnFyWqJsDt37ilGySjGJ+AeZRvE8SxcWELttUa zeWY6gKsO9PHuAN6CIc3K1oUc4d3Hg1hOZPGblLLV7xDiy6RC7ahPWwzdNuHO8guPl8f wEXLu62hPmfx1414t6AFdNxNFpd7da5szSmbK2x5/q9tssY1TGMEeHEm+7FuRu2ArJX0 ouOIBJzociO+Az0t2Lrc8Ld863UCVu6ClDHN2Db5+emfg22qaM2OQseVAvvomu1Pe3Ue 9kN2m8jGlPgBnGCVR0Fjq0WKl4N4nuAkZnjbL0imVe4a28Nc2/i7e6e637Ma1nD1PvaX +mSg== X-Gm-Message-State: APjAAAXGEapR94Ji53AK9L1nnz+qZbMUgZQpVH7tCTv9H4gk6/3D74Tc Stb3tykdOxSM5M0HCFMf8dh6WXjdsYg= X-Received: by 2002:a2e:81c7:: with SMTP id s7mr3912137ljg.3.1576003824457; Tue, 10 Dec 2019 10:50:24 -0800 (PST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com. [209.85.208.180]) by smtp.gmail.com with ESMTPSA id f11sm2494592lfa.9.2019.12.10.10.50.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Dec 2019 10:50:23 -0800 (PST) Received: by mail-lj1-f180.google.com with SMTP id k8so21051886ljh.5 for ; Tue, 10 Dec 2019 10:50:23 -0800 (PST) X-Received: by 2002:a05:651c:285:: with SMTP id b5mr21619655ljo.14.1576003823222; Tue, 10 Dec 2019 10:50:23 -0800 (PST) MIME-Version: 1.0 References: <20191209135934.1.Iaaf3ad8a27b00f2f2bc333486a1ecc9985bb5170@changeid> In-Reply-To: <20191209135934.1.Iaaf3ad8a27b00f2f2bc333486a1ecc9985bb5170@changeid> From: Evan Green Date: Tue, 10 Dec 2019 10:49:47 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] phy: ufs-qcom: Invert PCS ready logic for SDM845 UFS To: Kishon Vijay Abraham I , Bjorn Andersson Cc: Can Guo , Douglas Anderson , LKML , Andy Gross , linux-arm-msm Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 9, 2019 at 2:00 PM Evan Green wrote: > > The SDM845 UFS phy seems to want to do a low transition to become > ready, rather than a high transition. Without this, I am unable to > enumerate UFS on SDM845 when booted from USB. > > Fixes: 14ced7e3a1a ('phy: qcom-qmp: Correct ready status, again') > > Signed-off-by: Evan Green > --- > > Bjorn, > At this point I'm super confused on what the correct behavior > should be. Lack of documentation doesn't help. I'm worried that this > change breaks UFS on some other platforms, so I'm hoping you or some > PHY folks might have some advice on what the right thing to do is. Disregard this patch. Bjorn pointed me to the patch below, which is the right fix for my issue: https://lore.kernel.org/linux-arm-msm/20191107000917.1092409-3-bjorn.andersson@linaro.org/