Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp872260rdb; Fri, 26 Jan 2024 13:31:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpTH1Ic2hKMzrApH6VHG5U1oAtRxr1jDP84w///hubXn7LXG3QMdx7oV8G78TfVYdzTUVG X-Received: by 2002:a05:6102:2a56:b0:46b:1195:7125 with SMTP id gt22-20020a0561022a5600b0046b11957125mr416562vsb.5.1706304662803; Fri, 26 Jan 2024 13:31:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706304662; cv=pass; d=google.com; s=arc-20160816; b=faYfdL7+6m8P2YIS6dA5cka4Q6uU85DX9u9/i7o/PJV6uZfxnSi5Ou3L3nvh6jtHLF FlIp/tW1bolgxQJk4b/KO/8zGhRkGS4ilKvT3Wjqb6vk+kPj0C4smSuJrVC+oUx1LgiA KJLbW16gpHxuK2VkSDLZt9YjTCvQ/xpxVCMjhn7VyxiccOab4wsDW65mNe1Z6EM3XgvZ Qg5xaiaJ6sxaAjYdx4OxZnAP+a25HfsmIshop0BAicPX8ymb8+ym7B9BxPRuwQSWC7kR B2lhV2mw9R/8Xd0WDmFACgHQq2iIixbTVLdN6g1DNzV6FwSZ/eBjGwwSptOGf+GWYL8e sEOA== 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=3c4RfkPo1L3QA1P4ElOrbRYO/UTzIjIsEIDjiCapDls=; fh=SwzX0tglQFYcPD71mvgbAwSYlQ5cQ3p+hpmdhIQdgbM=; b=tijjQDXGxxb3DNluNyUwfOvJVWeMmOoQUVBANPfqgkT+A01QiX24VmAEqtsp6O4Jb7 gFqA7ipqlusHmm+sSXwj2h6hJyrSefsp2H4KzqRRSoY9Hlzalw2Hgt2JrSht9HiyoV3H pRFgeAVRb9q1hxy/7zYgEXRFQRMXTZdTwX1gxTwu0cf8wmoVP2punKoyx1NQRgz/tMnr NquuYnnV0FaWrYP5CC7U+r/Uow/y55ma+BwzrttudwIBp435qEuBRhsGuWNGhbUt9sjR rqBBbG4CXrL9cHjb7I4hn+bhLDr0HnKQuTxfDRBc97rZ2MlrNin7rVb5sxoAuflOJil1 Ysxg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PKPBkaIK; 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-40675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40675-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 hu14-20020a056214234e00b0067f747a7cddsi2149789qvb.439.2024.01.26.13.31.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 13:31:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40675-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=PKPBkaIK; 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-40675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40675-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 8AE431C2304E for ; Fri, 26 Jan 2024 21:31:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAA4F24B28; Fri, 26 Jan 2024 21:30:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PKPBkaIK" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 3A5C224B20; Fri, 26 Jan 2024 21:30:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706304653; cv=none; b=Dy6hN6iEmkomvCuq2UCOjI4NK+2/JT/FaNumwsEnRfTW0ict+XmY3KCNwepW+yWLvIheKhXkTJ1YROkP2B2u8N9QCS1QPvvBsR8+q4KWZ0+wD3C9E2rbX9iQxMenBnvaCCEkhrA+quJeDGKH1kZA/MO/ox7iwOuwbpJumoiWKh0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706304653; c=relaxed/simple; bh=3c4RfkPo1L3QA1P4ElOrbRYO/UTzIjIsEIDjiCapDls=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=JE7pNJl1LnvfDEsgG6g/LmJ1BLfiBcXcA/IpwXxemk1kCXZXEeMQPFht5SjWvj523CnfYrcadbZWk0YC+mU68WZdbm6kO6yiEfKL6MLiCFLnGAFngAFzVwzg5o2xDG5cRAC+frWMlKvK/cZC8xk0msUHHg1bBbFqvNhsKabu3Nk= 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=PKPBkaIK; arc=none smtp.client-ip=209.85.218.49 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-f49.google.com with SMTP id a640c23a62f3a-a2a17f3217aso122853166b.2; Fri, 26 Jan 2024 13:30:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706304650; x=1706909450; 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=3c4RfkPo1L3QA1P4ElOrbRYO/UTzIjIsEIDjiCapDls=; b=PKPBkaIKK4yHHlz36N6JX24rk5tDi9A0iLn1/v2a/KIlu7Wd7gg11jOEaH+T+XzdB+ lx9RsJ/kHP+timG/PgMJ+IkIL2UpCmW4x+I81BfwqWWQu16aFoLXSH59u19hpROyKEw4 30VaIiHT70D3TmsNNQkv4vpETJf9AVZL4T5Dx7Z2UHlaeUJV6mepASiku9IZtRMiys66 M6eMM3Xw6eae/q5LN7kN8uohJjLuLqolAP5YrSweJqjv+0bOjbJjhWxp3hX0kC8zN9+D 4VsB4CXRaHvfdRL+Ix8OM8fBYHagC9QyVgggZx8zTYUztE/vHytGth8l2fqlF3jw8GbH 4eZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706304650; x=1706909450; 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=3c4RfkPo1L3QA1P4ElOrbRYO/UTzIjIsEIDjiCapDls=; b=mzCD4HF0Dnzb4Xbqoc9XMRse8D6a0hEuAwpFMUcT5sz3T5sreusJ+RZgrwCTF2jU/S WLGAJyaea5r9z4fgGVoGWRewXGcjS/O0+hhPm5BRzmLMJHjl9wPcc66c4uNL0ZDkO5ec P/L1RP86DgyzF2ACDYnh3GP0T09ozdELOhAjw7zjOfcd9W04fFZoQm28LIillsN7ejRo wkipDeBJwh5+UUNaIT8LtawcO0UIYy26x3qbu9Q0tnpWTkerS8uxPbKQp0jgEqU/Vk8V 4Ljagf5hZgyvt6cQJKOi+3P+x6NTMm7AbguL+u5QwEwGZPgWqpH2/ZIT/S5X82VcXC2M MvMQ== X-Gm-Message-State: AOJu0Ywhl+HHaKWONB4381nzibfkUqiwoT6/BPnquj3CVYF1H041CjHO bKg6oDhYL5WlviihCRxUNhcvl2EZH1w6BBY24yKYQbY+Fn5wokrM/VpXQ+xYFw9FsW0FRzlN5rn GaI/6auTu/nVTG8JOyWf+FUrrQZ8= X-Received: by 2002:a17:906:c40a:b0:a31:6942:eaae with SMTP id u10-20020a170906c40a00b00a316942eaaemr365751ejz.35.1706304650240; Fri, 26 Jan 2024 13:30:50 -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-1-8e4f7d228ec2@bootlin.com> In-Reply-To: <20240102-j7200-pcie-s2r-v2-1-8e4f7d228ec2@bootlin.com> From: Andy Shevchenko Date: Fri, 26 Jan 2024 23:30:14 +0200 Message-ID: Subject: Re: [PATCH v2 01/15] gpio: pca953x: move suspend()/resume() to suspend_noirq()/resume_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: > > Some IOs can be needed during suspend_noirq()/resume_noirq(). > So move suspend()/resume() to noirq. On the first glance the code is okay, but I haven't tested it on the platforms I have that use this chip. Reviewed-by: Andy Shevchenko --=20 With Best Regards, Andy Shevchenko