Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6257438rdb; Thu, 14 Dec 2023 12:45:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEa2PBL+qi9LoTBXqP92aPAKZeIEL1qv5FPlzMU8Lmuzng81QRkTHye/1mWQwwEWZtF/6nh X-Received: by 2002:a17:906:dfcc:b0:a19:a19a:eadd with SMTP id jt12-20020a170906dfcc00b00a19a19aeaddmr4319585ejc.150.1702586745303; Thu, 14 Dec 2023 12:45:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702586745; cv=none; d=google.com; s=arc-20160816; b=P8kfdWFEuKvNbxMnnvxkjA4+mL9LoNfPR+J8JNc25KvobSaThSiUc1vNDX/zT2Ak6i fbGAWCoqD4B30cVhH7O2iGjUL+hgJQI8jsX7ZfzM1792FGoz6peeYuSNlY72RMW4HTqj ws53nSWpolLehGUhHxCK3fqU4no4j1bkPfppKiOESGo+s7BX9bSKC3EqS38wVvU56uJZ B7aL4ds69DTL5hohp1MBea+1tqe8BvdLX/zO2C9EPuaKMNRNivu0LNaLQ+sydhEj69pa oT4t1dcyqULpL5RqW3Mt018lYSzE6VNvnWD/6tG/iLDm/mt2YNobSuYQESLFJa1zr1vi IADg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Tj5QgxOwhDWBvTm9vxK5Z1lgrdLIjZvRtMGMPF+PgGc=; fh=9PokPRetVYYyS5URyv41fVyaV9EhtMg8W4ah9JeH5Ec=; b=igfvPK4+R8URzdpXo/rc1sPZOa5NXUmBsFeJBroMmMEktWT5kgTik8okqRy70GPr8a 1RlV0wtY3Mz8UVPWgxCrnJfP6T7YkPHXceXhPYLE+F1bB4C8EkLxdpMcdoxJDcZ8aJWL OPBijjXS9GHGuNGhtYw7Ngt1R5yjf9u18LMHMrZIVuKrN0wTCIt+vZRRzsWJveSUQ2XI 7rm8nsneDpJ8nPBf1ISFlBqtHI/b8dmCV1MVK5hvfzpyB/FxQcK+LaiIowmtm7Z3xxio 0/0JkuftKJv/1nJovFt/p+Sd+gB/HbTSjpPLNwNqYjg6hkLva5GurrUt0q5Axu99/Ci5 1rKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RBdcEXaV; spf=pass (google.com: domain of linux-kernel+bounces-82-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h18-20020a170906111200b00a23122ca998si540558eja.736.2023.12.14.12.45.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 12:45:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RBdcEXaV; spf=pass (google.com: domain of linux-kernel+bounces-82-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 137201F22697 for ; Thu, 14 Dec 2023 20:45:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16E086ABBE; Thu, 14 Dec 2023 20:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RBdcEXaV" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 685382112; Thu, 14 Dec 2023 20:44:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-50c0f13ea11so10074943e87.3; Thu, 14 Dec 2023 12:44:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702586662; x=1703191462; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Tj5QgxOwhDWBvTm9vxK5Z1lgrdLIjZvRtMGMPF+PgGc=; b=RBdcEXaVp1bTfjkiw6RraKhJgmQXXMf72PwfUpj2G4g1Q4FJ9stlcZqzaFlLBixjnt qH+VvE0QMPaWtYpLHBmeIHUxa0Pst4iXUc/ENQmrtnULU/X866jLhQHL903BRWADc31Q yoGwb3zoei8pHSaaKDMzoZ/gYa2fd++ihHdW7mLBoOZOhoq2+K6p+SWpP2X677tz3/20 p6lF+j3du71pbT9g85QRCIh+yZqPXv/7kXDebVYZfIEdlmsfd+P0iEuMRaAdCIlHj65e As2GHPid3s8NYoNa0w8VR22w8tR1P9UWsQlLi2wnYqHkgrsegFxzH5fU78tNybQQ2uEK EYcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702586662; x=1703191462; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Tj5QgxOwhDWBvTm9vxK5Z1lgrdLIjZvRtMGMPF+PgGc=; b=GnOqn42Pec5NHjLmRh/Q4z/gOqYR8ELS7ZNQk+FYFfom792st/uxMD/8reXjw+4Q2o f32YOUrRdt3uvEsA7yG3945z7rVIfqyxF2ZM1s5UD/hUNwglOzrawNVwS5UuhxsWmQk9 jerEYMcgaAbUB1JWkZCIZFhCAb4dLSWCXhUKvZ7lRb0IGRS/O2U25KUOt07xP4YYV3zk jNvSUlpQDDUsbJwE7cq2U2wpmCLG8Y5q6EqtvXqdeQIJRxY3O2C8QlECj2Zk3vpAIhJo 0hV16ma2ZD/xXzj9wM6gKwn5tej1EtN8qsGvlimIRXNmw13k035c8EPCN0HfOVxto+Ko k2Hg== X-Gm-Message-State: AOJu0YxsCr0j0EjZZfXURx05myikk1o9JoM6+sy2NiHxMOh1cVcliTnA DLa00ZVIW0fbOsW5OGGFnM/dKp3PgIFe1o3Dzhg= X-Received: by 2002:a05:6512:308e:b0:50b:fd6f:1e2b with SMTP id z14-20020a056512308e00b0050bfd6f1e2bmr6127000lfd.3.1702586662163; Thu, 14 Dec 2023 12:44:22 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231213210644.8702-1-robdclark@gmail.com> In-Reply-To: From: Rob Clark Date: Thu, 14 Dec 2023 12:44:10 -0800 Message-ID: Subject: Re: [PATCH] soc: qcom: pmic_glink: Fix boot when QRTR=m To: Johan Hovold Cc: Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, Rob Clark , Andy Gross , Bjorn Andersson , Konrad Dybcio , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 14, 2023 at 8:08=E2=80=AFAM Johan Hovold wro= te: > > On Thu, Dec 14, 2023 at 04:38:35PM +0100, Johan Hovold wrote: > > > I took a closer look at this and indeed we do have code that triggers a > > reprobe of a device in case there was a successful probe while the > > device was probing. > > > > This was introduced by commit 58b116bce136 ("drivercore: deferral race > > condition fix") and the workaround for the reprobe-loop bug that hack > > led to is to not return -EPROBE_DEFER after registering child devices a= s > > no one managed to come up with a proper fix. This was documented here: > > > > fbc35b45f9f6 ("Add documentation on meaning of -EPROBE_DEFER") > > > > But please spell this out in some more detail in the commit message, an= d > > add a Fixes and CC stable tag. > > And please update the commit summary as I've been booting with QRTR=3Dm > all along just fine. I guess the issue is if you have pmic_glink > built-in or in the initramfs but forgot to include qrtr or similar? I do have both QRTR=3Dm and QCOM_GLINK=3Dm. I'm honestly not sure what started triggering this issue for me.. it seemed to have started after merging msm-next + drm-misc-next on top of your jhovold/wip/sc8280xp-v6.7-rc5 (the merged branches were based on -rc3 so this shouldn't have really brought in random non-drm things). Maybe there is a timing element to it? I felt like the problem was obvious enough, and the exact details of why I started hitting this were not important enough to spend time tracking down. BR, -R > Johan