Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp597022rdb; Thu, 22 Feb 2024 13:12:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWtruOkkXk97ZdIks6z24vYl+qOu2qKga+yAVYJ8hZUUR5zxVfuBbGOUMFCWXyyMlnMu2QlmN4wVlXKHZ7Mp1DImcEhhyxa88IA9sOLwg== X-Google-Smtp-Source: AGHT+IHwOqv23WBE7qj8Lvg95vNCIhMc7whGsfrxVsyE3thR+ENjhIwxhMQWjRn7TeEd1QYWvO/h X-Received: by 2002:aa7:d746:0:b0:564:b823:a78 with SMTP id a6-20020aa7d746000000b00564b8230a78mr6978196eds.37.1708636367215; Thu, 22 Feb 2024 13:12:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708636367; cv=pass; d=google.com; s=arc-20160816; b=pgaXJPxEPvXI0S9v5QJlHhcViGSuAphFSdPovfvycoq33aqutptdBQIA8eFVje1HMP 3UJT/2zPqc/odPB0fNPSoFPbY8pfgR1U/Nq7LAliai0lfE1rNkeNB58D6pzkrHYb+hwV rIEgKlO33J/oRR+nL+mRoit5CHWOTt0r0VX33dg3BqwbShBuEro7tTiivdxKif/7JKJK pg0wwUd/TYmqi2X9FHafijL4B60pX/e5D68nE9+C4tFtaEB1W9qKGukimdG3TW+YGunz VGn6p8rJFfyEC4fG6NMlPMrfm7kONpY8ERaObP1GPSCaNDCZU4jPbqH0XMTdgGt15jdo CJSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=pkCYglSSRXX0GiB1gOdgF7fLOHHbF1/C5DnjQjUjWpM=; fh=L4beGTgxOzNyznpf66aXUgWFdKYDBk1JLVeEVtJPng4=; b=sHwR9SDzJYZpvQ0LbR6oGf1IWG19qsYC2jPy7SwuO/RKHp4S5S/s7SJXZ53HAX/J7Q J8e8g3twW7dPdm7zF+IS875AHcICy8sLkq/PgxYzbRFALyJwvB0fntYNkrLH4pEo2Hsy PxPf44RT9dCRlsW/3v/mTu7f8Q1CD3nwmA9HSgp/bIz0Ntk5iLurgkvFtqEB9VxT6AfR R3u1vMrQM29pFPLtswZNfi09XTsggcYDAW+m6blSI54U3HyKY7nBd6sPA2yMELAH5rt3 CLhjNK1ILiqOYB8fTrMh6cw4kU8lvbLtwLk/wUok1fubSYMYbxlQ4OlX9iGH6s+byinG NeMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hUhSj7t5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-77370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77370-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z6-20020a05640235c600b00564902eac01si3695296edc.250.2024.02.22.13.12.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:12:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77370-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=@linaro.org header.s=google header.b=hUhSj7t5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-77370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77370-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 C33041F27834 for ; Thu, 22 Feb 2024 21:12:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CCDA12D1F7; Thu, 22 Feb 2024 21:11:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hUhSj7t5" Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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 9AB0373F38 for ; Thu, 22 Feb 2024 21:11:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708636262; cv=none; b=LU3bJC0ITNu9UPnF6mAa4UIkPdHH/cP+yPi14lqWBdeDRoEX8XXudqJz7LH3IESMHUeKXSUJWEqaukrxKhOWybikNYKYpPRmHHW+Apz6cLQj/8JIVg0XrWoU9zPImv8EA7ZTJl8hbguQLw4fUDXRpO/FUKzZon+HP4QI+A0KEQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708636262; c=relaxed/simple; bh=Vo93ylUz9WSkVl0RJYZwmOg31LIkpT6PvHkpqP7mgm0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Fb88XwlqEXEOCTrDwy1Yy0DdZUJU0wXgujeRoZlpnO94745PQrAJ+UjX6bRURWU9c0EmZsUsGgI1Uu2om5EAoci3qI/w79ytGhXjkFMp0z5/U2QjWCB+l9k+7kQBTfGpet4GbS2+D5+ATRvvX8OmDNS2uDLIDkOVWaAoHon2uBI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=hUhSj7t5; arc=none smtp.client-ip=209.85.219.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-dcc7cdb3a98so154327276.2 for ; Thu, 22 Feb 2024 13:11:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708636259; x=1709241059; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pkCYglSSRXX0GiB1gOdgF7fLOHHbF1/C5DnjQjUjWpM=; b=hUhSj7t5GEy68Dkhx7NKg7BT6h2bh/Mx72wr66bVOLgEIOCLYdIkzsf2Eiz/0DD2DF 00oAnmGOutU4MqBCT4rybu+tdZ5ZJZXI6NUkm1b5tZRRSAEnrVJaT3j0JbaBzoHMxyKu J4UacgGRjO/u/tD0fXeUL07Su3nxS4onSxqAY+HG/CTnCPyAo9lxZ5jT8x72oUkQ5wGo EIXSUepO7zh/t9n2QULfE/2gSeDkxmWabZTo/udBD67CFKYYsqi0sOdVwMDSFEPcnt0N HxoFQHKjP3mPXQXr/NuM7KMWSiCO4IAW4dylPhgxGP2N7opFQyBJu5DJZrXme78mena+ 7MjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708636259; x=1709241059; h=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=pkCYglSSRXX0GiB1gOdgF7fLOHHbF1/C5DnjQjUjWpM=; b=FyeCwoYsZfrMhyhG8p0didg9SYFcv3jPCUH6sCPBtwz3PG7Ln1F7hW5YMgxFJ5Onii E6EMGXHWtcPZm9myor2KTN+Du57uvTN3N5eXpiebnD2qNQjpAvItgi14Gvhy7HQZvm10 8FYh2exa1yuSE+DAhBN1iTdysJO6egezsk0F6JjhVPgEULEDdMP7S0bZ11kxVRAR3ddk 9653kGgI8LIt7uCW9uM3ijhXBorV+TN5gGNQ8fhuRCeeHlwNovESSy+4BPJVh2rfDwjz XUHB9YN0CImRPFIUcdPjQrn7+Q3cSz/tw33QOiPVzZC9ffUfLp1UFEAGFSaZYgjeFiu9 lGsA== X-Forwarded-Encrypted: i=1; AJvYcCX5ZTPMttkFDhUVoCNqdAt0zE69HrKdBw5Hvf8Pp8kWhhUA4UWyBuauntJFpJA56k3V8n49cPgXP4IY39ByRB2g1sUxwB4iIz4zRZYx X-Gm-Message-State: AOJu0YyBNK/YtTJlaLYly4O5AZ4CLjgCLHgS6l9HmNn5BVyjiX1z4jGH uEuUoxxxWVLPjAptPSAhLatY60U4kjoRe14jFmogWhSwE3fUF8mWncfHWdFLi6UUh+eG9M3qDDV r3GpjlmKLNw5BFJY0/xpzN5ImN5f43wVPMt7dUg== X-Received: by 2002:a5b:2ce:0:b0:dc6:c367:f0e4 with SMTP id h14-20020a5b02ce000000b00dc6c367f0e4mr343701ybp.52.1708636259455; Thu, 22 Feb 2024 13:10:59 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240217150228.5788-1-johan+linaro@kernel.org> <20240217150228.5788-5-johan+linaro@kernel.org> In-Reply-To: <20240217150228.5788-5-johan+linaro@kernel.org> From: Dmitry Baryshkov Date: Thu, 22 Feb 2024 23:10:48 +0200 Message-ID: Subject: Re: [PATCH 4/6] soc: qcom: pmic_glink: Fix boot when QRTR=m To: Johan Hovold Cc: Bjorn Andersson , Andrzej Hajda , Neil Armstrong , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Vinod Koul , Jonas Karlman , Laurent Pinchart , Jernej Skrabec , Konrad Dybcio , Kishon Vijay Abraham I , Rob Clark , Abhinav Kumar , Kuogee Hsieh , freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, Rob Clark , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Sat, 17 Feb 2024 at 17:03, Johan Hovold wrote: > > From: Rob Clark > > We need to bail out before adding/removing devices if we are going to > -EPROBE_DEFER. Otherwise boot can get stuck in a probe deferral loop due > to a long-standing issue in driver core (see fbc35b45f9f6 ("Add > documentation on meaning of -EPROBE_DEFER")). > > Deregistering the altmode child device can potentially also trigger bugs > in the DRM bridge implementation, which does not expect bridges to go > away. > > Suggested-by: Dmitry Baryshkov > Signed-off-by: Rob Clark > Link: https://lore.kernel.org/r/20231213210644.8702-1-robdclark@gmail.com > [ johan: rebase on 6.8-rc4, amend commit message and mention DRM ] > Fixes: 58ef4ece1e41 ("soc: qcom: pmic_glink: Introduce base PMIC GLINK driver") > Cc: stable@vger.kernel.org # 6.3 > Cc: Bjorn Andersson > Signed-off-by: Johan Hovold > --- > drivers/soc/qcom/pmic_glink.c | 21 +++++++++++---------- > 1 file changed, 11 insertions(+), 10 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry