Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2458183rdb; Mon, 5 Feb 2024 07:14:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEt7xFJ+q5ktXDXdPF3rkq0NC9RIOJrmjhqRPpE05FntU7l5X4HtN97oIdyHdyBiEugLErr X-Received: by 2002:a92:cc4c:0:b0:363:8f8b:44cc with SMTP id t12-20020a92cc4c000000b003638f8b44ccmr81882ilq.24.1707146073443; Mon, 05 Feb 2024 07:14:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707146073; cv=pass; d=google.com; s=arc-20160816; b=mgyHpiz2RqRuRZw05e+R9uKO3oNIREVfFJmvnReqPNiZT1EBhxlSSOVhyHNl5RXytJ ouu6fT+qRzJc8RgcGCgvlm2chaxnHI+pVK4BD5VgCeVwIn5zCUAU/PsmpuQjvwRhpw1Q v+3SfMEcame3YCi8IlH9QbS2y4UZ2aDyoUS9q3auMWSBw3/VY34oft6dlss+fUU2BkTY VA0Eb3powehNGXrUZ5biWe4iMEuAleScGCoUIgoM1/3LSXcRBodjhQooo/enxiwHxMgg TojcYqHX47rSUsJcSxR4PCowTs00IavCxjUqSYW+WzGmUJ9FEbPep4t/y5o7/Kb41ysL 52SQ== 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=R+IZhbouHeTBfhkol51yl3a65E5pUYRPm1UVLkEApAE=; fh=PGf/2dbQB4mwx97iGzoJ//qwUZkMzgL6LLWrAUb+ij8=; b=pdnz984/JdkKFYrNVvr2to/Da0AcJmgJTHNvLEX7C2JS6C4dWYvwDC/sa3AtFYoAdU IKrWzNiQkzJr42qP3mgtIrLZPgc3QrvYp1MLQ/eyls80HE9GDKDSTClqjywKxTToMDSg Sd9YKIA1hI5RtguLEYxwBkSH7LhFks6YPGdPslou3VnBDFmIZ2xxSbtGOeWuPlBGBojp yDzKUKI8XL6xhVrygrVNoFSb5w4HfqxlBkJzPwNidjk68NyZVvrBytcezIQUdMn9G4Wn L4N3fjAT6rBeZb1BDDlp6yxZ4cyNN4aOmN4uTSKNVvnzvCgs+gxVYQlfCrTmlAHVy08L zrFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vznOIzCW; 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-52837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCUTRfn8/i09xn0JJdHa9tpD6tZZTliy3T1zxLK/+cGt0S+rCZN3wv7/Vt09xfB4iz/z5zI0CsF1v/vqzgaERqVbG1mVXdFW9/RgyME4qQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b11-20020a65668b000000b005dc112b2239si23843pgw.28.2024.02.05.07.14.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 07:14:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vznOIzCW; 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-52837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52837-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2F8F0B25DE7 for ; Mon, 5 Feb 2024 14:44:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 821A72C1B4; Mon, 5 Feb 2024 14:44:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="vznOIzCW" 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 048A22C1A3; Mon, 5 Feb 2024 14:44:25 +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=1707144267; cv=none; b=qoA/CF36ZZpn8BHXiDIevjiaLIJzC76nCfMW+Pf5oJk6oNkmW2M7u6JBQUNco7nA7sY9WqArxvy3GxNPgkoXc9dncrzq5GVBf5/P56QP6P2qqpW82zLtc7wZ26Lg6DVEDAgRRdP9YVvFOpft/dqFu6SH9Whqx2WXwO4r+6C5CpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707144267; c=relaxed/simple; bh=QdE5XO1z+ZN2JUWva3tD0crieFT8WVbx2jzcJcMgouw=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qpurpgGPTo04TRBRYA0hgv6xGXuGbfh+dz0qJSWAjSr4nOXrV67dPZZJ8YucIj4deca0jMumUtdqMeCFkM+0eiC/2CeltafGF8Tgd6oxPPWZjmqFZrax1aO5RRDLpP8xVFnsPSoxfLrlDgYVWbG0BLOeylzxZ662o1O8nd8Wdww= 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=vznOIzCW; 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 lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 415EiIoH007466; Mon, 5 Feb 2024 08:44:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707144258; bh=R+IZhbouHeTBfhkol51yl3a65E5pUYRPm1UVLkEApAE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=vznOIzCWeN3ld5XTmi6CuC0wRMfu+MIh58sW+fJE8rGfICIbGWmhsPh+PHNzTCtU3 +8dTbbN9SJh9k+x8BK/oVd9/IwgFmkNDvsZi4Uwxob6CBVl0Lc9/sgi5fvKyX80Ewl fh5LN5Mw2UWmTucRQo5g/DVOXU2/XtZ1MUMhgvhc= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 415EiIBl001532 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Feb 2024 08:44:18 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) 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; Mon, 5 Feb 2024 08:44:18 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE108.ent.ti.com (10.64.6.29) 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, 5 Feb 2024 08:44:18 -0600 Received: from localhost (dhruva.dhcp.ti.com [172.24.227.68]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 415EiHLG104241; Mon, 5 Feb 2024 08:44:18 -0600 Date: Mon, 5 Feb 2024 20:14:17 +0530 From: Dhruva Gole To: =?utf-8?B?VGjDqW8=?= Lebrun CC: Mark Brown , Apurva Nandan , , , Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk Subject: Re: [PATCH v2 0/5] spi: cadence-qspi: Fix runtime PM and system-wide suspend Message-ID: <20240205144417.44jidulexgyccodv@dhruva> References: <20240205-cdns-qspi-pm-fix-v2-0-c59ac6996428@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="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240205-cdns-qspi-pm-fix-v2-0-c59ac6996428@bootlin.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On Feb 05, 2024 at 15:22:34 +0100, Th?o Lebrun wrote: > Hi, > > 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. > > The initial change has been split into three commits and a fourth commit > is added to add system-wide suspend/resume callbacks. > > The MIPS platform at hand, used for debugging and testing, is currently > not supported by the driver. It is the Mobileye EyeQ5 [0]. No code > changes are required for support, only a new compatible and appropriate > match data + flags. That will come later, with some performance-related > patches. > > TODO: changelog below Accidental "git-sent" email? ;) > > Thanks all, > Th?o > > [0]: https://lore.kernel.org/lkml/20240118155252.397947-1-gregory.clement@bootlin.com/ > > Signed-off-by: Th?o Lebrun > --- > Changes in v2: > - EDxxITME: describe what is new in this series revision. > - EDxxITME: use bulletpoints and terse descriptions. > - Link to v1: https://lore.kernel.org/r/20240202-cdns-qspi-pm-fix-v1-1-3c8feb2bfdd8@bootlin.com > > --- > Th?o Lebrun (5): > spi: cadence-qspi: put runtime in runtime PM hooks names > spi: cadence-qspi: fix pointer reference in runtime PM hooks > spi: cadence-qspi: remove system-wide suspend helper calls from runtime PM hooks > spi: cadence-qspi: add system-wide suspend and resume callbacks > WIP: spi: cadence-qspi: add debug logs for PM I don't seem to have recieved any of these FYI > > drivers/spi/spi-cadence-quadspi.c | 45 ++++++++++++++++++++++++++++----------- > 1 file changed, 33 insertions(+), 12 deletions(-) > --- > base-commit: 13acce918af915278e49980a3038df31845dbf39 > change-id: 20240202-cdns-qspi-pm-fix-29600cc6d7bf > > Best regards, > -- > Th?o Lebrun > -- Best regards, Dhruva Gole