Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1507815rdb; Wed, 31 Jan 2024 00:06:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQHcRdKmt8uWjobF0wPvPR22VIwZjR5z2ICqnnI/l+a/rBU/UE/NDN7WZ43H5/Gca6zzwD X-Received: by 2002:a17:906:6885:b0:a36:6c85:5192 with SMTP id n5-20020a170906688500b00a366c855192mr621979ejr.10.1706688398387; Wed, 31 Jan 2024 00:06:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706688398; cv=pass; d=google.com; s=arc-20160816; b=jzep/fpJ8ZLjenAWQNdxYJZ72+7tcFnDXPIn4YQY6/Bjl42oLuvwximjRv6DdUkN7v wR3Q2T6kNCzO327Pp7dK4A81zA/4wgzSZlX7TgbvLFfssquP1jj2ODj8oMAiAI2Ut7ib x/H6A13ye+DZzvRPgIH1mQ5kBzqZhbhE9zA2Ij1v/QJGL+k4kkfeaU7Awa/TKDy93R2h sUeNhGqnf2OtlOktr6yVldw8XsFHLY2G9U9QZBXdreniHKgy+9S6972yEsjU1eziAnJL N+Hf5F6CzJlbXGQbIFNbZzsBbbM9xdHlLgkGXzNLMP+b/6HBQeSsBNu6If+k5oJ8nass HiVg== 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=O3NcPrb8t7YnX3CjYpseCkmCegR+NfSEh06RZsASR0w=; fh=/iyl5b3wCM7sKceJZeBWSFumaWzwt5qi27zdh6+RLJI=; b=BEb/VYXbNZ5w6/K1qMpuwaSy79VAT/BRbNS8g9u1jS0UQvR2PKZ4t0ozsCsaMJhDmk XMU+kFGoGDzvwX3NHJ8DLCzPihS/vsSmSs+NHwZ4RHHsCBZv6Jr5BgPPjkTdpc/DIoqc Tih5u4R6sHGHrLEy6ap685WkWUDoPmaEPXkIlx5/gywItSTq70TpstEampuAZbr1+CtS +EKfoFZR57nmbJNDGuoFSurEQfVLKshaToq6T43ovgcMmscYdz4dty9vdM1RA3lv5SNc BdY5ZiuW2de0fFSvLJzhVXkBDkWgHqLEa8qgXoXy8lTwKB7TWqUY9IBahnB36Kn71/b8 17Zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pJAh5F52; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-45968-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVm9bZ7WJAIcZKKzBKUZ2kLbZpo3xjitEHsl6Nw+O76l8bqyhnKq8NnKvKZgoDFTA0scdNZ+Ov0D4N/SthIfTTkTAzwYhdqHOPVIEnSzQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w24-20020a1709067c9800b00a349fd53d0bsi5177620ejo.66.2024.01.31.00.06.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 00:06:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45968-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=@linaro.org header.s=google header.b=pJAh5F52; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-45968-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 45DCF1F25AFC for ; Wed, 31 Jan 2024 08:06:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D3E258108; Wed, 31 Jan 2024 08:06:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pJAh5F52" Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (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 ED0A05677B for ; Wed, 31 Jan 2024 08:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706688372; cv=none; b=Nzwpz0VCWsGBr6/eElqkCwKrS5Uc8QOBldLmox4jrTNH5ZYSeUkmd5p3BrAfUgb6GxebhQFLV/bb2iiV1f+Er9shj7i8JRF5vazYS+vTH3BXGGsuoVDoxf6zVm4GpYSs/ZgJNX7LGg3dGlPF4FF9vw4yFcpdMSeBrj61RN2+V3A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706688372; c=relaxed/simple; bh=O3NcPrb8t7YnX3CjYpseCkmCegR+NfSEh06RZsASR0w=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=X3blo3CXRrRhWE1tf0iMPbiRH+fI//uKeqjqgNooN+GjLxPYkloGZDVRtU8KGYV2z0MHvO87gN4ZTaS5cZ56Vjrx8d/SLu4Me9e/R3JMcQbFj5ru3BQOIIl4YBNMNvjbZ8an/Brwqd5t7mQ1buAe5xZTsaQKnKUTytRRtd6XlSQ= 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=pJAh5F52; arc=none smtp.client-ip=209.85.128.172 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 Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-5ff7a8b5e61so45511167b3.2 for ; Wed, 31 Jan 2024 00:06:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706688369; x=1707293169; 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=O3NcPrb8t7YnX3CjYpseCkmCegR+NfSEh06RZsASR0w=; b=pJAh5F52+w8BuaEvqOPJj/qvAWUYhC1yUzub8gQICWfh0e8clZWrbiP/Pysh/iCOVN h9V3tbJnYGsbNKE9uJPYDm3svWk/rZI/mijG90rNipVbOFzydx7pVBSb0SOWM64CD1AV iowj5JCj8s4wRMHRlpSj5eR5sHswYPC3IelqVCx79qCAusOH5ffkAZIcLOWsKdpk8RaI bXUwOwnz45A7tMxYZ6qa7ympCzhNHn7Bz4OcPJliMxwRfB72vOjnFoBReZ5O/mzq3A5d PQWAqSMNrsCOzYmbDL2I2rLkBEnI8JdhUrkO3cbd430Ur1S6RQ1lzdoeA8H7w0EHY5q2 s/Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706688369; x=1707293169; 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=O3NcPrb8t7YnX3CjYpseCkmCegR+NfSEh06RZsASR0w=; b=sD7xykJAGlJ0xedKNWfJAHhLFuN5q8AaARO9S+BzFCqupK2eIGI5f+IHnLpz6uDZm5 yT1v1W2nqCMM2yQ8AL4zFr4FXMaZR9sWMgC83f7UDNZ0jo79M7//zQEdt4cXy4WUknXf DGeKYbDkBDoQ5DM66kXkHp8MPultL3i5f5HtIYA64uDBB5SarJJzAG3Z+Nubk0lYntD+ jQQv0c4BKMxveqaM++gaWDO2oLA4ghCXu4zEHAgNxfFV5YB8V19dQNcGkgfWoophMcqv NrWHIM3RxoRMgaE6OQvhpJCsFCNLvPeVXF6+g14+JfmRC/vBoHfH8HQiUVvWGqf1U4nL telA== X-Gm-Message-State: AOJu0Yzd2yOl0dGYryQrdZ2nw8fRX7LccIhhhXTINdLobv8gWlvZATJI Mxm1NmR3eq/JY+tOYhkUkNw5Zi4qWaeomgX6e4C/Tt4lDTZ47HwdYfUJfJKIQFcd/Z6uaytL84Z Jj7J3RVMHIGOoxtNkXEoR8/t5+kzvBLaNv4gY4g== X-Received: by 2002:a05:690c:954:b0:602:ce22:7079 with SMTP id cc20-20020a05690c095400b00602ce227079mr618106ywb.41.1706688368926; Wed, 31 Jan 2024 00:06:08 -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-v1-0-84e55da52400@bootlin.com> <20240102-j7200-pcie-s2r-v1-2-84e55da52400@bootlin.com> In-Reply-To: <20240102-j7200-pcie-s2r-v1-2-84e55da52400@bootlin.com> From: Linus Walleij Date: Wed, 31 Jan 2024 09:05:57 +0100 Message-ID: Subject: Re: [PATCH 02/14] pinctrl: pinctrl-single: move suspend/resume to suspend_noirq/resume_noirq To: Thomas Richard Cc: 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 Mon, Jan 15, 2024 at 5:16=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 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= ). > > Signed-off-by: Thomas Richard This needs testing on OMAP and ACK from Tony before I can merge it. Preferably Haojian should test it too, this is a pretty serious semantic change. Yours, Linus Walleij