Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp872673rdb; Fri, 26 Jan 2024 13:31:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnhPTcF3Hddv9dZSt4z66vUCu8rnDTPdTFlcL1aURsrBFgPjOBhHrgsZVZZ0cF9PUv9Yid X-Received: by 2002:a05:600c:5011:b0:40e:c4c8:8ac1 with SMTP id n17-20020a05600c501100b0040ec4c88ac1mr236543wmr.85.1706304714313; Fri, 26 Jan 2024 13:31:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706304714; cv=pass; d=google.com; s=arc-20160816; b=qVEUrn2mv+yyUEiVstuYSk5Luw1OXgs93Vkr2sYCd2L1P9uxvXVeV119WeNi2Th45i xSs+YodWiQjhDzDli1caS+Y+1mdl1ZeQ3J7L2bhuAKMQ6j4oDyBCdDzdI5aiyh4d3deA tud6P1ppm8PZTd3DLTvlmQ32yT/Gf+NqZ7+2SHmo/PsqR+ggqfpL7B99uRz5wnNnA9uq o2V+GvwMs+UhYYNrwquWof+hu6VmI7IWiFbGyg5K3PN7Z3ruj1Ns/4c1FCMr5kEdqIAU x7csU2zLs6HSRhJ/VDme4NHkKSVQPC3pSi3qaiV3CjUDD2u5ARK3CRtull/0/WLjIAGl +BTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=mDXTx8QMtKyNvkViX2Wj8fex4yMcm0KlVYHSHcciIfA=; fh=SwzX0tglQFYcPD71mvgbAwSYlQ5cQ3p+hpmdhIQdgbM=; b=Ddz+BYMzdFHkxx7QWsDYLT6+O5aIN6L4Nhi8NA6X2ttX3vqbYbcr63eZ6lPRzZJPX4 uU5FcypuoPNLH9N+WGrt+pfinuZox0to9/6nWP3uf7kzIdVHNOm4NLDlj4zhJbVtdPHW bqwIZXkj1cDt0BX6F51WIC4hA+lIi6neZ+eG1av5qyp4OrRwbkKZ/Q8HeSA3vcvDzAug gvWGmvIThQZfyOYSZHh7N/m9IrRq4WdXHL/QVELHRLEDfYqtxx/niGCQrYj7fxi6hpGB 2lJkEFb80w1dX/p2fvOvH7XeLRRcVgfdVCngMHDXCT4J/jmNPhPub9TGlOO9O9FYhekA iHIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZBDIhN2w; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-40677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s23-20020a170906355700b00a2360820e60si923298eja.268.2024.01.26.13.31.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 13:31:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZBDIhN2w; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-40677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 167001F2257B for ; Fri, 26 Jan 2024 21:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E24524B29; Fri, 26 Jan 2024 21:31:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZBDIhN2w" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 19EFF250E8; Fri, 26 Jan 2024 21:31:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706304703; cv=none; b=KkBVs9oBKdFjalbcElZXEC5uTWACmc7BAjU7bsS+is6oFINlpTG37Stj16mdcZUafDiUG6txLbZxWzOJJPzle+c7KHf4AhzwGSJsqWnOSckcnZFvIjFIgby1xfPqSPprdvFgEGGeTmLfGmM7Qk6jXJGC2slhDWzV0OR8PZQtnxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706304703; c=relaxed/simple; bh=mDXTx8QMtKyNvkViX2Wj8fex4yMcm0KlVYHSHcciIfA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=iVCtS50f5X9+aZQbxJB9qLITjBlYcEpaQwTx4v8nJHmdnBzwuTQgpMiBobNeVUjumsxsV5OGpau4fmmgzr83uSsKd/tG8EtrZzQLoB97KpW6mNTJaxyVJBC8V7LwFGxnDI4S5hH88TRB7tFbSHJevDHhhXMh98jrW++KJUkLfag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZBDIhN2w; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a3536102785so2393666b.1; Fri, 26 Jan 2024 13:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706304700; x=1706909500; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mDXTx8QMtKyNvkViX2Wj8fex4yMcm0KlVYHSHcciIfA=; b=ZBDIhN2wfcR39bmZ5v+SEUyfEwGbFS5exxMBz+ZZZLkl8gHPnDSkHUNKGzHvWMjnT4 2BDZDdpK4hTs/FlXCH6prZHhh7c/cPVZl7r0OvVJPD9J7domzwhlI+uxV+9jJF1rRy22 gmS52le3eNfOZ+VphjwhiMYgb1/1COxd025HqtodYEB5Y99uLW/IDqQ9nkCkzw1c34R1 9gGmXCjlhGwaXvvG99bAIFrmqXXS0uVuop8BLhfGjrFhaX7auZVa+Kl9iYLwML1HsTOx B3yOxkqSgEjHmyB0+IgkMrp6XdmYtYI6nvPMXRt8Kzq1lR9HlnWubpDsdRr2CzK9AmER I+Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706304700; x=1706909500; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mDXTx8QMtKyNvkViX2Wj8fex4yMcm0KlVYHSHcciIfA=; b=g4vwJNJZlVbAPpg/6rQugtPGT8slD4Nk3gn9dem4JAR1Dat0fvmLnQZmerMxGGGk9+ 0UykwpzFuavkKP+NRDemr6v8k3Y1LhliJScZ4UiVYHSDDzSwX10FLCOcRX5++eaULH4H +7cEwc8xvHn0316C3b/3MzhJz0Mg9+3YRvsylkOYCXfBrjw//cA1nqGC+vH+vYY3CgBo 20/xlt2JXwVrRjYJAonwHsqpespwNHTB4IRCY03Dxg7bsD1odr/ILia0heePtJQ0gyhH LDSxLo5voql8AxXxaZq0jGussvbaLg+ieOKUYzeEQcvOCDwV27COYTlETgI2YsCofEv/ prew== X-Gm-Message-State: AOJu0Yy8VJjj4DEyuPF18SJ9gjfbgHOss+fCGwNKXAVjTmd+is55BgHr Y0YX8619i0NB0nnkbTjI5YH180rXic+IJewLGpdKD5A/5wTjQhO2dBA5WDQTgktSslxW2Ch0j+X v887N1TtH3QZuUn+uEO+jXAWb/HQ= X-Received: by 2002:a17:906:298d:b0:a28:32ff:8709 with SMTP id x13-20020a170906298d00b00a2832ff8709mr165310eje.15.1706304700273; Fri, 26 Jan 2024 13:31:40 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240102-j7200-pcie-s2r-v2-0-8e4f7d228ec2@bootlin.com> <20240102-j7200-pcie-s2r-v2-2-8e4f7d228ec2@bootlin.com> In-Reply-To: <20240102-j7200-pcie-s2r-v2-2-8e4f7d228ec2@bootlin.com> From: Andy Shevchenko Date: Fri, 26 Jan 2024 23:31:03 +0200 Message-ID: Subject: Re: [PATCH v2 02/15] pinctrl: pinctrl-single: move suspend()/resume() callbacks to noirq 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 , Tom Joseph , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-i2c@vger.kernel.org, linux-phy@lists.infradead.org, linux-pci@vger.kernel.org, gregory.clement@bootlin.com, theo.lebrun@bootlin.com, thomas.petazzoni@bootlin.com, u-kumar1@ti.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2024 at 4:37=E2=80=AFPM Thomas Richard wrote: > > The goal is to extend the active period of pinctrl. > Some devices may need active pinctrl after suspend() and/or before > resume(). > So move suspend()/resume() to suspend_noirq()/resume_noirq() in order to > have active pinctrl until suspend_noirq() (included), and from > resume_noirq() (included). > > The deprecated API has been removed to use the new one (dev_pm_ops struct= ). LGTM, FWIW, Reviewed-by: Andy Shevchenko --=20 With Best Regards, Andy Shevchenko