Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1017147rdb; Fri, 16 Feb 2024 02:49:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWq1hiM1hGX8qeTe3T2ESJyqR9weQfyA3bmibsNZLDes151urnUxDDdtTd5ejdDj2+41c0+uGbFULpp1StGF5xdR4QeISLTR69VUjd0uA== X-Google-Smtp-Source: AGHT+IHB9l1yowl759rLY2vuVRpaWhmNDEB79cUtXOsjpURBsM57MIASQKzS4kXWv+quuBV1D1kd X-Received: by 2002:a1f:c3c6:0:b0:4c0:2abe:d585 with SMTP id t189-20020a1fc3c6000000b004c02abed585mr4281541vkf.6.1708080550853; Fri, 16 Feb 2024 02:49:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708080550; cv=pass; d=google.com; s=arc-20160816; b=iKTfvd97DmOakwZ4n2deAHbNcYqkAE1eYXwhQcasRA0wMXTfQwFQEPOJY5i5yISb12 hcmIg5IMltOEDHm7UGR4lRk4q/00M0yaDsErjhbO1xWiv82l4lXcG7ecKsfLRDK4lKuW xfJxJuN5npq4/IS4CCygGKXI+FhkluZqG5+evxnXCx6vtZ+s1PFtDCkdJXWi98esxmFl llnwezzSiamqpijdLcFwRJ/vVhf3WOpHUeH6cfWWJF6VHnV5ltynfLBH4NJCsZ9mBlE0 VreTZYK6Cde/y75PB4YLJiQ+dQ0bCIsBOD9Du27aA2L5VEjuNpk0mIYmAveiv/fhcRPg Va6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wBeXLUFC5b4/8RGzmyvF89yYPd110y8htQLDdX2WYTc=; fh=TQMSrl+x94peGBTbhKQGgE3EfEwQ2H7fBbbmBNf5LEM=; b=ounMcOVcOX9Zsn1t+UmOsJpCXgtjaaVCj2cOpQn1qWKrjDZA3w+OWvR2g9yBZTg1TS CbC6sbyScXFU2k1O9f+zhxMIt5zMGmOapzMCt0R6Yh+ClwiaGqUi9HeUMDSNtupe5Nik TVqYhvHqmasEzEN74LcYipdBWvqIlIUNn3In12f5Y85Lun1Mf6h0/RXuWorq+iMrqqBl Rt3rtgpdMaTeavTaxj5f7aHHWdne+ufxHfQbSVAeL/DmmUfS6a3jjCPUTu7JG3ggNsw7 mmfaUkE05Qib97+CSF/WKQupc9QN4NeKSuLcBsfUvSiLpnjigyQBWa28y8aMwMwjkMPQ DkXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="H7s8TSq/"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-68469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pn4-20020a056214130400b0068ec37ca121si3636782qvb.608.2024.02.16.02.49.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:49:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="H7s8TSq/"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-68469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 98BED1C22C28 for ; Fri, 16 Feb 2024 10:49:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1136E53812; Fri, 16 Feb 2024 10:48:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="H7s8TSq/" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E110535BB; Fri, 16 Feb 2024 10:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708080538; cv=none; b=ACttQBqHmJ6C2pobJUj1JeHe7ug+yXTYFr2qS1jBUEDouXzYzK8/ZWqDgEa8H00qZpnn4JqpB6VZM2wpko9LBo6boMlnZqTL0ct+mH6cUwC4hbftgci/Z584MxTC5TOuRPDHNEYdGIWUDx3fYP4s6uTGB0q3qAWmOm0TRHTiGT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708080538; c=relaxed/simple; bh=bSQjI5oIAeosqTym3AFvRxCY5213clKyJoH9whfcyjk=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FfOqjfmwcfHQlZbm52OZvR3GtDyb2nXGBtvhcXOtJ3EnN0cG7bn6Cv8iUrCfpLCx5DqUjxBBb0yHFVa5cafUldfRfkeEjIbz/fVn5NVFqmZebgz2IihN8laxKpu2hG5xjKM3ZYP9mBMres7BsZaHbnpZZFuYiVmKnwSYKywQsP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=H7s8TSq/; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41GAmR9B056970; Fri, 16 Feb 2024 04:48:27 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708080507; bh=wBeXLUFC5b4/8RGzmyvF89yYPd110y8htQLDdX2WYTc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=H7s8TSq/72OiEAd3rL2BUZa9KNNyAB7Wr+7vrd0Mo1gM6SSozbZDMkhsVVnB649xU AQ1kVHY38XBAREf1YPaI6jqt0jNuzg1bIqCtGX7rJo3Mr9eLWMGUPDmgecIYB6MLES Sz0EVyu19IuvkIeSFdvq3ht/39IJUFW8kOKph+kU= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41GAmR5L129001 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 16 Feb 2024 04:48:27 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 16 Feb 2024 04:48:27 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 16 Feb 2024 04:48:27 -0600 Received: from localhost (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41GAmQcT020589; Fri, 16 Feb 2024 04:48:27 -0600 Date: Fri, 16 Feb 2024 16:18:26 +0530 From: Siddharth Vadapalli To: Thomas Richard CC: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Tony Lindgren , Haojian Zhuang , Vignesh R , Aaro Koskinen , Janusz Krzysztofik , Andi Shyti , Peter Rosin , Vinod Koul , Kishon Vijay Abraham I , Philipp Zabel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , , , , , , , , , , , , Subject: Re: [PATCH v3 18/18] PCI: j721e: add suspend and resume support Message-ID: References: <20240102-j7200-pcie-s2r-v3-0-5c2e4a3fac1f@bootlin.com> <20240102-j7200-pcie-s2r-v3-18-5c2e4a3fac1f@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240102-j7200-pcie-s2r-v3-18-5c2e4a3fac1f@bootlin.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 24/02/15 04:18PM, Thomas Richard wrote: > From: Théo Lebrun > > Add suspend and resume support. Only the rc mode is supported. > > During the suspend stage PERST# is asserted, then deasserted during the > resume stage. Wouldn't this imply that the Endpoint device will be reset and therefore lose context? Or is it expected that the driver corresponding to the Endpoint Function in Linux will restore the state on resume, post reset? Regards, Siddharth.