Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp873145rdb; Fri, 26 Jan 2024 13:32:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHfDk6ToE0FgzfW+7OSYkYbTkPNuhRxqKHFzljGOdAyZWfRt7fMQPTBny5qiLl+JtowLPQ X-Received: by 2002:a05:622a:650:b0:42a:47fd:6de8 with SMTP id a16-20020a05622a065000b0042a47fd6de8mr813687qtb.44.1706304775781; Fri, 26 Jan 2024 13:32:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706304775; cv=pass; d=google.com; s=arc-20160816; b=FLaEpay8JtPl0Wm5Y0HXwRnElRNkycOSeuyVQ1Mx48RXkN5ksj0k6OP2eW3M9ZfgnX ySmq1VU2pOXYYkhG/ITNqQdqvjpADP+LvEwrvdSVlWtK4ouDvNgx0LNTroSVrKfCW7aO J2Y9ygYeIkKJC/gWG58zgX2uahSPUjY53V9jZhy/LxqUZHkJz04Q5kpYDBBdBurUolVT Uq9RQVPWWCLOf2Tbcp5YOz22fkEshiDBGK3Hp7EnTW/sDoVetyogVY3Jw+LTcp4LnMoQ q0vijrQ6lkx5BY5hKlsuVUYOgTK3zl6qxLpYUmTTDW9Wy8Qi8YAlA4QIBk/UF5QNpQ8Z Ip9A== 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=MsQP+WZnx7+QyoL2HlI817M4IBaY5O/hAQGZBfHIGF0=; fh=SwzX0tglQFYcPD71mvgbAwSYlQ5cQ3p+hpmdhIQdgbM=; b=WjJCrf5/gHvW6bVea/39e7DTEYE23s3Fi2j81DXmd4wtPeOw5YY7Z/HF6j6VQPBpPL I03mIEraFDi1oChwRALL6ZxF/cIuO6skfg1Wpd+4dr9meuoudLBl8InjueNWMfoiG84+ PQ1zLoGogKyPiQID+ii0Kcfg+0S1cR9coLwBi6s3L01vqyOBqAuKBQfw1ARUR/KqTGAV jbY9uervOcFZVuX734rEsdNkUPsXIhoS5drgYSYS3M1kejqP+hotwGH0ssy9iMsumOpB 16VgepIzjjma+tYl1oHmZbokQBV43E+6xNIIAi5he8J1BSCbRy9C8iEjDQTqh5SUWP47 N2Fw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DS39YCU1; 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-40680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 s22-20020ac85cd6000000b0042a0d34a4d1si2268795qta.694.2024.01.26.13.32.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 13:32:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40680-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=@gmail.com header.s=20230601 header.b=DS39YCU1; 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-40680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40680-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 89D8C1C23E6E for ; Fri, 26 Jan 2024 21:32:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6292A24B3B; Fri, 26 Jan 2024 21:32:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DS39YCU1" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 0ADA924A05; Fri, 26 Jan 2024 21:32:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706304766; cv=none; b=Z/q2vuXVRe9bT+Y9zX/WUteUXEIAvm3Pi6uTpDGSQ+ldqsLCfh+Co9KVASACk+ikhxxEFGYDjkFkfLPHzwNCWVnKeFx8AlSeLzfWpucxX6dmjjZmmZOqgxj73PxUedFoOjWZ2E/HnJpCqYmkPL1aXCF5J5DTbXGl+57qPOEKwxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706304766; c=relaxed/simple; bh=MsQP+WZnx7+QyoL2HlI817M4IBaY5O/hAQGZBfHIGF0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=bj1LUviM/UjKOBN6TQCySf61454mH1xhaaFdEeXZ844YP2KIBJeVcNQa/BaabK6KLqek+Zn4mib8870t8TsYrBUj0+aVdsZCIm7NoCxEtZ9nSqcQ8HiXEfbXWliJsQWqT4RHrtTqJot4xemSiieGfXNz3DSy7L+YrswJeUWyQsI= 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=DS39YCU1; arc=none smtp.client-ip=209.85.128.43 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-wm1-f43.google.com with SMTP id 5b1f17b1804b1-40eb033c1b0so13348895e9.2; Fri, 26 Jan 2024 13:32:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706304763; x=1706909563; 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=MsQP+WZnx7+QyoL2HlI817M4IBaY5O/hAQGZBfHIGF0=; b=DS39YCU1L9XtsiF8InLb7y2X6xMBuw0uA7vx5E3V7i5DLJPljwHkHM/g1rxM+75DwK K0z3Pk55AwbYS2Y+cr0bnv1iMkawmNu3SEeLHkd1kfsvfWAmO0kKAYdf8nMZ2A1zg/Yk 1QUYrgz5NGD0S3NqNCchkRw2PYJC8luyLCoc6dCoVPoDCvZTTGOw9Nip1ejNbsp0mvl4 NJec13RbkkfXAQEQQFvGv18rfhvP3wI94oN0M+Z0ihBwePKL9QDpBMK3fcM8/N8JbZW9 Xt+RoH/cvzrLmYwpF1CeXsWDTq8Hd1j0koz4bd7NVSuBNMZOOAjGqgALTCXHclvl4UhF QBww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706304763; x=1706909563; 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=MsQP+WZnx7+QyoL2HlI817M4IBaY5O/hAQGZBfHIGF0=; b=Y1vLGgAimms6e6taxj325RYwOzbf5n8UVzAZcP7N/vyxxoUpU7ssttPVxfrBzc+2Xi Sn+mQKx/sTwNeXdSN4y1eRFeajSWDufrnosyqN5Tda6ys3TmK89W47a3ZiJiLZG8KNtl dO2zJlgruD56l8LsLXkMnuuDGoHYe/C5sqwffnTY80Di741/uclZsjOXrb4Ll+AA0hg8 D/hW4ClWC2YTRY5JsJxyUvKejA1IPmXtegSF/Ahi1oEqlnE30k1Zdjx17QhCq9aAaOqB RAn/ZdybyQIV9Z+v5ZyLwKYoYFLf5ak/JPhiCbbJ5swCHJUGeZEo+CVZzue2/++UWvD2 wzQA== X-Gm-Message-State: AOJu0YxYVwxcW9GdlPrR51boVlkbnVKnf/Ym6P/b70yMMIWKHXKVf3tn QLH0QNX+w4xDoSjslgoGc3zXVM3j6+JFvBQbYgD2FUnBtEF2ZNjtu5N3wrG8LMQ8oC9Ap8rGySV PqS55Zlu3ic37IXkXuy6E51WuSN8= X-Received: by 2002:a05:600c:16d4:b0:40e:aee6:e888 with SMTP id l20-20020a05600c16d400b0040eaee6e888mr279076wmn.119.1706304763242; Fri, 26 Jan 2024 13:32:43 -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-5-8e4f7d228ec2@bootlin.com> In-Reply-To: <20240102-j7200-pcie-s2r-v2-5-8e4f7d228ec2@bootlin.com> From: Andy Shevchenko Date: Fri, 26 Jan 2024 23:32:07 +0200 Message-ID: Subject: Re: [PATCH v2 05/15] mux: mmio: add resume support 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: > > From: Th=C3=A9o Lebrun > > No need to save something during the suspend stage, as the mux core has a= n > internal cache to store the state of muxes. > > This cache is used by mux_chip_resume to restore all muxes. mux_chip_resume() --=20 With Best Regards, Andy Shevchenko