Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp840115rdb; Fri, 9 Feb 2024 02:50:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIDfkO65deG4qaTKUko2s/8JH7rMhNAF0hEGgB1zs6ycTsLGReGTxgJjg+wZZ3ePNeg+1d X-Received: by 2002:a81:48d8:0:b0:604:727c:695 with SMTP id v207-20020a8148d8000000b00604727c0695mr999392ywa.42.1707475837952; Fri, 09 Feb 2024 02:50:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707475837; cv=pass; d=google.com; s=arc-20160816; b=hblaOdkcxkysVoiWzk1tHg8Tz5suq411CeTyJd5r7c+Uk4gg438aH90GEUfgZvkGqj dH6sY6Zubfge5aM7Bav20yqZUGXcN53Or++p4KNvUgkQ9FAclk5WBf6cEKI8qAfUPVhT llVt2SxOTKj17u0cOTfxv34N02ez1+1rkvAD6Jgirbq4libd8lSpi7TKLXYXf4E/0Qck VpkV7Dr6f8eS4sxs0oSc2qmDAcbuksjLY5TWhgHn9zALNyt8TV36lHWZ6spdt/1jScZI d1A/FjVRUIPuWfXeja96pd0mJNU9gePZBXVRm8kF16Vc7wfAMiu1ulR1v6BWBHo9UMv8 0VaQ== 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=6iTZ3L1x+uoh1UT8BZM96Kcc36zdm9shl9bdfb9ciug=; fh=Sqzg33GKF9Dr7JikkkxIBlAVg6d4qnCOgxzO+9eN01o=; b=xld2exAF+lGILa8omxR9oOkDipmUhScIY0a7U23EfQ80huS4szOczsTle8skfchanW P5QbrW0z8Q/EM78kHHjLiXuwwFNImlnYFxxwWhONXDn9KkCbCNgUT1hMXMUtM4ws20b5 O/gQ/CEBqcHTWWzBSjPnJw+I0A82Y7SqqnXFi3HqFR7TRcoblJcwVAD3I3GaINwTPP2v aRydrZiqm0q/BnzRXXrH1UZkgV58jM267EFFmnTLOqIAxcaiHHjbECqBjUpzXuGqyUSF 4lqBBnNW/40mM0iVt1XCqnhnwuuveXXEstdz4QcljhwPu7iLk7RPHhTCVIGjjsfn5KwI GeMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nsm8t898; 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-59244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59244-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCXEN7yFuXCK3bu81x+6aJAJ327AEaJKJiQWkyXdywMTI6dAPlnMPWfJ1/DaNrKACCCE84DkqeFE8zbGkyBinZdrZJJ/IRyh8yhbFqgSiQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m16-20020ae9e010000000b00783df22604csi1663655qkk.330.2024.02.09.02.50.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 02:50:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59244-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=@linaro.org header.s=google header.b=nsm8t898; 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-59244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59244-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 06C971C2353A for ; Fri, 9 Feb 2024 10:50:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 815CA25621; Fri, 9 Feb 2024 10:50:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nsm8t898" Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (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 2271A23769 for ; Fri, 9 Feb 2024 10:50:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707475815; cv=none; b=QfCgUlhK5aNd4V0Vcd3/9S8GmZS1kfBjr1aGgBve/set/YNZ3DRH5EBpDFgXc8F0PlZohIeBTdvbJVv+BhJHgoLohdM1jhr2teAhtmOEd3q7lh3wAu8IWKSk2u4LwY7YF7iwqakPDeqNDU9OAsKoLcEYrUqulhsQiiVl+zl6dDc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707475815; c=relaxed/simple; bh=6iTZ3L1x+uoh1UT8BZM96Kcc36zdm9shl9bdfb9ciug=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LyWbCPGH7cZENd0Gct6aH1IqoOEpBjLe9Qu51Rs+epg+Z5RTDi/6ycPRC07PJYFkeUyafQTfokDAVCKbuiolBGNyvr3vFe2CPd9zucOQegZVwOmdbcSRGEJqYuXV9aTSg5GsAtVwbR2EFKvYAYxolU+c+h/M3ZtRpJgoPSoPYTM= 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=nsm8t898; arc=none smtp.client-ip=209.85.219.176 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-yb1-f176.google.com with SMTP id 3f1490d57ef6-dc6da01f092so746651276.0 for ; Fri, 09 Feb 2024 02:50:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707475813; x=1708080613; 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=6iTZ3L1x+uoh1UT8BZM96Kcc36zdm9shl9bdfb9ciug=; b=nsm8t898w1F57MybizoZf7LLprLyb2IjPSaiyee6Ye5FCuDIzdjcIHKRx3K4ShQhup +WOMm6OXsYmXUC7Fv63R3+XedfAGJn/SAsmFpTWHX1AMt1wrFiX/Gr5u8HRUaN/VsAsd peJfwnugCU8VEtTDFY3UXGhMzksTrtvOErk/CjYO0h5LlCuTb2V3dWVFa0mWo66WLqAh hnwUkfrGKRodOCGjqjn7wMKjFst+xAZFowJG5G0HGuQmbvq9pr+oIngGzoKA6VcAjtvr PjSHMe1IFcG3n8MyyjZVBodCxBN529NClo+oy4QrpZU7qjt+0tPdUAArhdRvGRj3xcWx wOxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707475813; x=1708080613; 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=6iTZ3L1x+uoh1UT8BZM96Kcc36zdm9shl9bdfb9ciug=; b=sfysUAC8tuJIHeSDqo5YsbD1kHrUn5CAXSkPAefbDBA/HdEypb4pBXzFg79+1Xs143 xtetSuUIGUiMu3y6Sp/U+9+9St+gbr0tuRClxq1ylBL4W3HsCJJvbsFnoEf/TLsp2E+z KV16huOcidBbHS7ZQB1ASS9Xhh1LgModf157mp2r7uIlp3GbLHHUO8mD8ewmTpVnSSs2 AzYFeovcL3bOSkvU5UrEIBXc64tqg5yRWMIsIfSsMSd10mv2Jj0zJ/6B55cYy/jcrRZa MoP4kjyQv9+fgWrTXgZVLOmBs4hw0MXTjgJj5jcsn5F0IPYjFFJjLr8jWOmi3R1gnNSt cEUQ== X-Gm-Message-State: AOJu0Yxo3mhHWQdF5VjBmfcnmYebMJI+o/6ukJJfHNUyDmZCjls4TUXX E3pAKBF1sdgCIBOfGl8A6aO++Ls8Fo5z0Abn6yk6FK8XeJg6lIzb47pt1/K2isPixnDXxDw6X0v ELnldkqKMdGJjdli0YtyQCjFZH1VzwgOiBGE+xQ== X-Received: by 2002:a25:d804:0:b0:dc6:7937:53da with SMTP id p4-20020a25d804000000b00dc6793753damr939249ybg.39.1707475812934; Fri, 09 Feb 2024 02:50:12 -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-1-84e55da52400@bootlin.com> <20240116074333.GO5185@atomide.com> <31c42f08-7d5e-4b91-87e9-bfc7e2cfdefe@bootlin.com> <95032042-787e-494a-bad9-81b62653de52@bootlin.com> <68d4a1bb-5b40-47fe-a117-647d77009b43@bootlin.com> In-Reply-To: <68d4a1bb-5b40-47fe-a117-647d77009b43@bootlin.com> From: Linus Walleij Date: Fri, 9 Feb 2024 11:50:01 +0100 Message-ID: Subject: Re: [PATCH 01/14] gpio: pca953x: move suspend/resume to suspend_noirq/resume_noirq To: Thomas Richard Cc: Tony Lindgren , Bartosz Golaszewski , Andy Shevchenko , 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, Feb 9, 2024 at 8:44=E2=80=AFAM Thomas Richard wrote: > > *FIRST* we should check if putting the callbacks to noirq is fine with > > other systems too, and I don't see why not. Perhaps we need to even > > merge it if we don't get any test results. > > > > If it doesn't work we can think of other options. > > I think all systems using a i2c controller which uses autosuspend should > be impacted. > I guess a patch (like I did in this series for i2c-omap [1]) should be > applied for all i2c controller which use autosuspend. > > [1] > https://lore.kernel.org/all/hqnxyffdsiqz5t43bexcqrwmynpjubxbzjchjaagxecso= 75dc7@y7lznovxg3go/ I think this is the right thing to do. Maybe we should just go over all of them? (Also SPI controllers?) We will soon merge a patch to move the pinctrl-single PM to noirq, and that actually affects more than just OMAP, it also has effect on e.g. HiSilicon so we can expect a bit of shakeout unless we take a global approach to this. Yours, Linus Walleij