From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 55C8225A638 for ; Mon, 27 Jan 2025 05:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737956065; cv=none; b=riI7ijf7zPHR2DoQy8Jl5B5wXMCcW9hvbA3qxEYyi28OsItOfIFH/K7PFu6yWRH4hBW8+n4dGtMDyzIdU+l0Vz0KNtSWmmyFWBVeKYSTZCgeU+b3l2wdU/05Kg8Jb5kelHwuH+evwJQZ6oN1hCDxd4S9LeZ52jCcY+oXA28Falg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737956065; c=relaxed/simple; bh=GBGBjMhgsFdTiGft+y8/1jivaBQZgN9QkGKZbY65T98=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JLWk/n3vpMrBplmmbXynw6aadcB+t/ZmGGpV/FNzP3KfwFVtD3WSoW36kRvTpGZaKfnE80kgfFs1DEK018144ElStpnc7JDO7vh0lI1Skp2PwvUkHEbiTX5v9M8QfJts4lXJBFq3vAGfrZU7rtY4HqKMRoRBfUtyXXPnnuR8sEQ= 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=kVr78fZG; arc=none smtp.client-ip=209.85.214.173 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kVr78fZG" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-215770613dbso48581835ad.2 for ; Sun, 26 Jan 2025 21:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737956063; x=1738560863; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=LYrDkx9vO5H0pWQvLKCfpCZMVAnzkpiFqaoqphbY3jQ=; b=kVr78fZGoC5uvOxlyRqwEvINFGIXopMqiBJc5wV3cfuCklB3i9P0YK7D2pRqS6SQPm 2W7MFL5fbHxiI2rDNtDDm3VFCpOtu5O5IUii5Ev8u9YEMoAhpqBIXH74BB2puh0ukWXg TglKbfRJrJH4VJhwAwimZFLQcGrAkavHWyJYmFrkEYSXQGF1C9hYE0TBm+yZ/PAnDtI9 O+E3JIHP1rw5kY9swa3cpb+yyStaP8IN196HZoEg7Lj4ylx5aHzVOD0ujbtnu6CQcqEo uHTT/fC09eDtcQ90bpoN/1YqmHoMde6ctJoi18FeAb1MqYaOWwhcYVQ7NdGvvPDeckx1 DW5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737956063; x=1738560863; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LYrDkx9vO5H0pWQvLKCfpCZMVAnzkpiFqaoqphbY3jQ=; b=jT05fWs0L1c08wW7gIfQtZm5cEMulQVbt84GDqqn1A7qCyz1XjXjqg59lNGBekC4yP QTZswkb9Faz9u3YclNQUhxEtIc9qYFqLeBF4bgOf3aHQUCjChDOvTq11KuB6Sp1Wqmod K7bWg48SIisrJrO8pa3EnA6SRe8Gr61LUObqlDzZL29qBi8qMdW1cPgpDzkV1FfibiGH OuaT6+AJY8Y8ldwqe7d8r5LwSw3rjRraK4qSo/8LxZsk6sNyLBgWDCcBQhB+QQr1wDnL pKj8cOc51UpiyWGVMxJqPgHOK3xKg+Mbsdfyb4QKX8Jbtx2PKBhPNZLtSoVbMCbCKo3x qtRg== X-Forwarded-Encrypted: i=1; AJvYcCXrETGxpTHgbB1wakyMfWZdd/lxQ3+v1umk5e/ZjWR5QlLZbQMvJW2wmJVP4cfnAm1QtBhWcIYoOfZmosNO@vger.kernel.org X-Gm-Message-State: AOJu0YywL1SBvZ4d1FW3LSJAlQfWLqwtzBzeoOIvkpcQIgf4+ZQD/Wqv nJs49IcY+haLC+AXLJOmasy+zZANmWjlYkd/3KMnAoT/vkEqL0u9w2MeY5vKNQ== X-Gm-Gg: ASbGncvcuSYDuIrLAxuscBYF33yvXsCeFfN07f8cndRIucRpQiNXUdPNJB3DrmFZeCC u/SJByXbHWhDtrKyJUZEFzia0HPiw7fbTxYkikYvMtu+Cqp7G6df8Eit0QDgQHwSLOXB1VD1X4j FuKNcOYnEj8y5IfcDS9iMiw7QgTWcfAu+vrSWT8M9UX6B+SkFRbf2rfUCGWLzN1AlOMFyImkpe6 oXYDxGOGRWtBDs0N87ZpG9UEjLa9KOGUTyUnoZFD0CuKAircv2FATAU9PLTrlG1goVioyvwKmOr zJh16jDbGvjsZtA= X-Google-Smtp-Source: AGHT+IF23Vozd3CbI/d3xt3xyb44QrIyJVEbk6LiztTlg7LAAGEdExVb14y+5qQXhhQn+eUfWxjVDQ== X-Received: by 2002:a17:902:f28b:b0:215:9bc2:42ec with SMTP id d9443c01a7336-21c356092ecmr385990925ad.47.1737956063641; Sun, 26 Jan 2025 21:34:23 -0800 (PST) Received: from thinkpad ([120.60.139.80]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21da4141baesm54005795ad.144.2025.01.26.21.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jan 2025 21:34:23 -0800 (PST) Date: Mon, 27 Jan 2025 11:04:12 +0530 From: Manivannan Sadhasivam To: Dmitry Baryshkov Cc: Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio Subject: Re: [PATCH 3/6] phy: qcom: qmp-pcie: Add X1P42100 Gen4x4 PHY Message-ID: <20250127053412.anbdj6hgwcmkildf@thinkpad> References: <20250125-topic-x1p4_dts-v1-0-02659a08b044@oss.qualcomm.com> <20250125-topic-x1p4_dts-v1-3-02659a08b044@oss.qualcomm.com> <20250126163222.nhcxvr4m2vncwi23@thinkpad> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, Jan 26, 2025 at 11:43:38PM +0200, Dmitry Baryshkov wrote: > On Sun, 26 Jan 2025 at 18:32, Manivannan Sadhasivam > wrote: > > > > On Sun, Jan 26, 2025 at 01:39:05PM +0200, Dmitry Baryshkov wrote: > > > On Sun, Jan 26, 2025 at 12:59:52PM +0530, Manivannan Sadhasivam wrote: > > > > > > > > > > > > On January 25, 2025 11:00:23 PM GMT+05:30, Dmitry Baryshkov wrote: > > > > >On Sat, Jan 25, 2025 at 04:31:19AM +0100, Konrad Dybcio wrote: > > > > >> From: Konrad Dybcio > > > > >> > > > > >> Add a new, common configuration for Gen4x4 V6 PHYs without an init > > > > >> sequence. > > > > >> > > > > >> The bootloader configures the hardware once and the OS retains that > > > > >> configuration by using the NOCSR reset line (which doesn't drop > > > > >> register state on assert) in place of the "full reset" one. > > > > > > > > > >I know your opinion, but my 2c would still be for not depending on the > > > > >bootloader. I think that was the rule for ages for many possible > > > > >reasons. > > > > > > > > > > > > > But if Linux or other OS can trust the bootloader, then it makes perfect sense to rely on them. Obviously, the question here is that on which platforms this level of trust should be established. And the answer I got was starting from the compute platforms (atleast X1E). > > > > > > Is there any way how those values can be lost that we still might want > > > to support ? The GDSC going to the OFF state? Some deep sleep state or a > > > power collapse? Actual suspend to RAM (instead of current S2Idle)? > > > > > > > As per Konrad's reply to my identical question, PHY register state is supposed > > to be maintained by MX domain even during CX PC. This seem to be case on X1E > > based platforms (compute). > > Is MX on during S2RAM? > Qcom says that their current s2idle implementation is equal to S2RAM (when CX PC is achieved). In that sense, yes, MX is ON during S2RAM. Do note that, on majority of the platforms, MX is the AON (Always ON) domain. - Mani -- மணிவண்ணன் சதாசிவம்