From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 BD9D614373F for ; Sat, 2 Nov 2024 17:11:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730567478; cv=none; b=ea9kmv4bTVPPLBOWc5xawggjchxWxpYwiW0FTNtacYAC3OQ9bReIDxYNquJuvh5UZXPGIwmtDdQptcrR1YNG+//zl12VoXrsIjVh0ZODeCYH9+y63RgaLOUSmpHi15XhyeAO9we0F+pRiVozs7/X4tvttUa6TnHlKqunVSqgIIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730567478; c=relaxed/simple; bh=k1KIRyvPe6KpMWttwuAoqiKm9nKOdtspGFDhZiasmY4=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sQjPD86i2FYBvyEBfum2nz1cbSKgZ0BuhxxtXJXFu+uR11AANm4u18I0ghewXOmSrAsVbuAHtDghbX1UeHPWn3UPVpk8Wbs3T85rCgYR6caKt5HEQRpe3dsQTWZRmVRcUce6yVlVjqptA9ql+GVrIXkb1au1FEmXGPDKFm7dWww= 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=N68CZOT6; arc=none smtp.client-ip=209.85.210.176 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="N68CZOT6" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-71e49ad46b1so2495141b3a.1 for ; Sat, 02 Nov 2024 10:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730567476; x=1731172276; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=naogVYCbfHgepmXtHeIUqBrExKR0wEfnf5gnXKOTnEI=; b=N68CZOT63uH3CFzvKlDJcK+d4AiWqyCwbIGCKx8XMu3OUlmDNmZLcpdkEzpZpU/FqJ 1JjK9OMwrszXk905RZcbebTH8wexmRSsm9bA9qnNU9u8X51659HuWUbeZ5C5kmFKlsIZ 05UcZqz4OTqk0vQ5b8xcKu14UwPZZND5m72MNEG/8bU0i2FFtkUhyFj9dsMOpy+WJbrG 0+cIMifFc3UtRxQjZO1dMGBNgbr+YnDG75os98oY/99fGMWsUvRa0Hj2pBb6iXQ3T+yW 25OKHtzai25Nnn8qiJdCN4YqbPIziYvAPqm1k0KvWaygIJmpZhiyqL8+9mCVh4pnjO7U 2HYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730567476; x=1731172276; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=naogVYCbfHgepmXtHeIUqBrExKR0wEfnf5gnXKOTnEI=; b=ajo0tRnW4/CNz5M23KdqL9JXrOsnsOdY3r/rFE9SPQwNOGZnqWu4NBnHqaNKXOfx9X mMzj7c9v42scPgezMxo+N8HQDmqnuUJcZd5jZz4vo6Rq7Sn2BwV24sbT+cGOrzaGUsP4 BrmyhnWSwPoysyCJM+QKmNoO8IOfnUZ8aLaWufPfezxIcTAz6XDBR0ErX9Z62seMxQC5 66KfwGU73G+Yt1EpfviOJiHH8tXE19gfOaVM5zsRGppY8j9/v1iVSYeYiVPpRGi5M5vi qt1qwt+UuNnp0aFPZwteqEgufEGg4J6nPgo7kyxAcwiudNEROSBJgEL4z67yOJ+aDMbH V0Qw== X-Forwarded-Encrypted: i=1; AJvYcCXkzKYLgJVV4gtQK3gU2Sp+w2vTP0PBB0OVov1WGru6fQs8GkbKcPcByAnTuYgJ351N959pAjCyxODE+A==@vger.kernel.org X-Gm-Message-State: AOJu0YyKwVxSSDUqdw0t3EYiKJRcfaGSC+tn6JbqOD6X4EIyJAkriK4Y ihdYP1guoG6Q6cNzgbmCnelpuk7IOcx2hlGN71ai3lKvJ2fiqU4FV+QHbezefw== X-Google-Smtp-Source: AGHT+IFGrKry0GXdqZw3UiEUAt/+TG/WgyYeK0gfkTWgNav+BbUqRjfMgVsN5xWLgwY90mfcxhLeXQ== X-Received: by 2002:a05:6a21:1645:b0:1d9:2694:44df with SMTP id adf61e73a8af0-1d9a85354dbmr38139599637.43.1730567476034; Sat, 02 Nov 2024 10:11:16 -0700 (PDT) Received: from thinkpad ([220.158.156.209]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7ee45296c97sm4042866a12.14.2024.11.02.10.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2024 10:11:15 -0700 (PDT) Date: Sat, 2 Nov 2024 22:41:07 +0530 From: Manivannan Sadhasivam To: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Thierry Reding , Jonathan Hunter , Vidya Sagar , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Thierry Reding , linux-tegra@vger.kernel.org Subject: Re: [PATCH 0/2] PCI: {qcom-ep/tegra194}: Move endpoint cleanups to PERST# deassert handler Message-ID: <20241102171107.p7j44qsi6ojokrmz@thinkpad> References: <20240817-pci-qcom-ep-cleanup-v1-0-d6b958226559@linaro.org> Precedence: bulk X-Mailing-List: linux-tegra@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: <20240817-pci-qcom-ep-cleanup-v1-0-d6b958226559@linaro.org> On Sat, Aug 17, 2024 at 11:09:02AM +0530, Manivannan Sadhasivam via B4 Relay wrote: > Hi, > > This series moves the call to endpoint cleanup functions (dw_pcie_ep_cleanup() > pci_epc_deinit_notify()) to PERST# deassert handler in qcom-ep and tegra194 > drivers. It aims to fix a crash that is seen with Qcom endpoint SoCs when host > asserts PERST# and the cleanup functions are called without refclk. > > During the review of v1 [1], Bjorn suggested fixing up tegra194 driver as well > as both drivers share the same design and require refclk from host for > operation. > > Testing > ======= > > The Qcom patch is tested on SM8450 development board. For tegra194, I'm > expecting someone in the Cc list or the community will do the testing. > > [1] https://lore.kernel.org/linux-pci/20240815224717.GA53536@bhelgaas/ > > Signed-off-by: Manivannan Sadhasivam Can this series be merged for 6.13? - Mani > --- > Manivannan Sadhasivam (2): > PCI: qcom-ep: Move controller cleanups to qcom_pcie_perst_deassert() > PCI: tegra194: Move controller cleanups to pex_ep_event_pex_rst_deassert() > > drivers/pci/controller/dwc/pcie-qcom-ep.c | 6 ++++-- > drivers/pci/controller/dwc/pcie-tegra194.c | 7 ++++--- > 2 files changed, 8 insertions(+), 5 deletions(-) > --- > base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b > change-id: 20240817-pci-qcom-ep-cleanup-740745e21d87 > > Best regards, > -- > Manivannan Sadhasivam > > -- மணிவண்ணன் சதாசிவம்