Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1264932rbb; Mon, 26 Feb 2024 04:18:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV/BIP1xo/9jgZK7cJrCWiAjxFha0UPYBVwY5srPRxKzAabP77QIvN6w+C7xzCJ9nidqO1AFHhUHf6hNuGhl9bUnbtwmrSYZPs1oQI/hw== X-Google-Smtp-Source: AGHT+IFjCcO++kgKVjD0f44D6nXiX7SBb+MOl7D5/cdikFQHiehR9BfkceeLX+pSKK5ru7zhlaew X-Received: by 2002:a05:6214:590c:b0:68f:e924:adf4 with SMTP id qo12-20020a056214590c00b0068fe924adf4mr12435145qvb.14.1708949901252; Mon, 26 Feb 2024 04:18:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708949901; cv=pass; d=google.com; s=arc-20160816; b=Woag2LAzW9QizACys5FVWSxegGnMWdN1MjxgYY7lpaR8/XLaXK7orEu256wJ6R+XK2 B56Bn/0n/b00VAS9LPPsEzFIh2FzfCTXasXs9NlhJ7CwlGeMvw4PHZn4+zTrTSop59Zs JNfo1MEUlZiB6V0UckQQesqvJKuiny9Zw1MfCHrOn9x0In6pPB9E8mXQCMwdkAfFxCOO v+18SwLwvNgi4bV94yHayfAtx5onr4SVRP6MJOGpSNQ2Pc+cMKMlm2BZmel/zjz2bJBL Tl/RkxLr0MsYR42Md1onJOshynVIV24Degxlvn+EzxJd0/bkLoXbmMu3BAdo+qi3V2bI gDhA== 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=RFNVTfrO40yGnidmOJOOJB8JPl52qtzEiSN04cylThM=; fh=Jusy95WOzxGra6aZiYm2uMQWgX2FMy0xNYXw3eTYXxs=; b=U2vFZXN535k4GvPuN74i1f/8HvZjOA+gT/XaPShme/5r2dQ2JivUT2duw7XOjTh9hI pDBp8vhrScJTujxUu8jx6BopmMMjTs5/52sC3HXPcjuCQv3gr9EqjtGXNGeXXRIkDw2y Oe5go8Yz+FcPFBU/Bh0yxQH52q4/ngnedmPqCTcOpQmE5D1ZtYhwAy/ORggnBq6CMOos 0k7rls28WcanAI/DiLbV3V2iEoHOpiKfkfI7w5T89UUJ0PFrbsYbsSFsICTUuM7V7keD pFYo5mGUedO7JH96ma5Plox+9DWlgXwAcRTL4Rlk0Jq7jXjJEtoBXMbdcHz2EhrCS4qK YeoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fTgua61J; 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-81351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81351-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id hf11-20020a0562140e8b00b0068cf2ec8200si4959677qvb.95.2024.02.26.04.18.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 04:18:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fTgua61J; 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-81351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81351-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 072DF1C2466C for ; Mon, 26 Feb 2024 12:18:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C11F1604BC; Mon, 26 Feb 2024 12:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="fTgua61J" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 639091B27D; Mon, 26 Feb 2024 12:18:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708949895; cv=none; b=l66wRw84cTI/n0EAhFtjtNQty6lc9zXfdULoD7C4HJvGCAK1gkzfbXefKeAT+Sy9pT55SVqcfDnaOWhqV0XSg26iylMDJT5y57N0ZFROE3XWewrdODgjj1KIan37XGf1HTysNe/25nEOmqaS3FwPL9PAPNOzO4YgHy3pi1wlzEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708949895; c=relaxed/simple; bh=xCIWZpRxxNMSN7ob6nQ9iTG5SjMeUWZcqa1ESiv8Yps=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YK/vBnoYLxQ/Sp5ebhYbITnijcAUVG6uX9Vnubd45DRT8oNh9oOhSQO959VPnBdkZUOLV8kQ2FNQlHjKcQ+8ZFN6GOZ1Vd8vZanpE/nUbLUmXHH5HakRS64CY81EnLQIAYKwrM/NOk5PeBuWHMx+B8McCmLC4IEpTob8/bQHhm8= 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=fTgua61J; arc=none smtp.client-ip=198.47.19.141 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 lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41QCI5TJ102410; Mon, 26 Feb 2024 06:18:05 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708949885; bh=RFNVTfrO40yGnidmOJOOJB8JPl52qtzEiSN04cylThM=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=fTgua61Jk7NokrswsOrAn/pZRfeoXnlrOZJmkfBq8EZKcloAt/35uKzF8gGyJRnLU /elxbwHJiMAuaFxHsZp2ibdCQ5bnxCtR5HuosOqaS96tRAYXkxjCNJNlEjzAGeaAta r6MqNWI/F5gAu7n3wsP7FF4yh0CfSWXGBeRB6eZU= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41QCI5Oo120329 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Feb 2024 06:18:05 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 26 Feb 2024 06:18:05 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE100.ent.ti.com (157.170.170.30) 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; Mon, 26 Feb 2024 06:18:05 -0600 Received: from localhost (dhruva.dhcp.ti.com [172.24.227.68]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41QCI4of081093; Mon, 26 Feb 2024 06:18:05 -0600 Date: Mon, 26 Feb 2024 17:48:03 +0530 From: Dhruva Gole To: Mark Brown CC: Apurva Nandan , =?utf-8?B?VGjDqW8=?= Lebrun , , , Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , Nishanth , Vignesh Subject: Re: [PATCH v4 0/4] spi: cadence-qspi: Fix runtime PM and system-wide suspend Message-ID: <20240226121803.5a7r5wkpbbowcxgx@dhruva> References: <20240222-cdns-qspi-pm-fix-v4-0-6b6af8bcbf59@bootlin.com> <170862920925.104158.14642580909914879148.b4-ty@kernel.org> 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="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <170862920925.104158.14642580909914879148.b4-ty@kernel.org> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Mark, Theo, + Nishanth, Vignesh (maintainers of TI K3) On Feb 22, 2024 at 19:13:29 +0000, Mark Brown wrote: > On Thu, 22 Feb 2024 11:12:28 +0100, Th?o Lebrun wrote: > > This fixes runtime PM and system-wide suspend for the cadence-qspi > > driver. Seeing how runtime PM and autosuspend are enabled by default, I > > believe this affects all users of the driver. > > > > This series has been tested on both Mobileye EyeQ5 hardware and the TI > > J7200 EVM board, under s2idle. > > > > [...] > > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next > > Thanks! > > [1/4] spi: cadence-qspi: fix pointer reference in runtime PM hooks > commit: 32ce3bb57b6b402de2aec1012511e7ac4e7449dc > [2/4] spi: cadence-qspi: remove system-wide suspend helper calls from runtime PM hooks > commit: 959043afe53ae80633e810416cee6076da6e91c6 > [3/4] spi: cadence-qspi: put runtime in runtime PM hooks names > commit: 4efa1250b59ebf47ce64a7b6b7c3e2e0a2a9d35a > [4/4] spi: cadence-qspi: add system-wide suspend and resume callbacks > commit: 078d62de433b4f4556bb676e5dd670f0d4103376 It seems like between 6.8.0-rc5-next-20240220 and 6.8.0-rc5-next-20240222 some of TI K3 platform boot have been broken. It particularly seemed related to these patches because we can see cqspi_probe in the call trace and also cqspi_suspend toward the top. See logs for kernel crash in [0] and working in [1] [0] https://gist.github.com/DhruvaG2000/ed997452b41d6e5301598225fc579800 [1] https://gist.github.com/DhruvaG2000/d4e73111aeafaca555ba2d5208deb6dd -- Best regards, Dhruva Gole