Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1919607rdh; Sat, 28 Oct 2023 12:36:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3gMNOypcS8Puh2xgE/dddsPyqx5dU7SkIif/EijyWqa+n2WY42WpQYDCIE9h9bDx+TzU3 X-Received: by 2002:a05:6871:6112:b0:1e9:f69a:12fe with SMTP id ra18-20020a056871611200b001e9f69a12femr6738610oab.59.1698521793288; Sat, 28 Oct 2023 12:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698521793; cv=none; d=google.com; s=arc-20160816; b=KuV48PFhGGnju7i/0LeFsFUAmXge7xbrQi5DzI/4ot8sl4E2B3TPNPfVROCOmbZmKF ylDd70w4gTtDJk1sFAzMFy0HA28Lr+w1gi7H1kmUL68BjoUzyDujnG6qvmhXkcOKSZx8 5zeIrgTv/gU+MEGvsLtrIPR3/fciKr3fMZuFunHg5n3f1W9GN3q9vUOqj6Jgq67uJVQv brhQ1xkhLIALDdpMCQaFUw6ZpChMm9G96gh/bpARdgFXECFs6wSZT8G4tf487F3LEG4S FEoepLHu5SdJaN9mb+S6qhvBysROID6kUiBGzTcuDMW5vWGzuq0/DzZdX67nksR/1dEe vozw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=AJ6ovljbj6MisbZ3hfwRo2Cpjpm1JHKytVq4TooG3mE=; fh=r2uNQa0WIu1DxwKKQlJT5Wihn0NNYB0pyFqsWi5Lhaw=; b=WjwyGHwI7tzkMWvUhz+3afFuTiNNXocHaNQ7f24/1NGWuLo21tQt1jF8k/O+hL87BD ctXhicoYNFP56ADRjcPhWHKwvrdtMfpHFDW6CPqgE10Xag7xSzuLAB7kcJ4384wjaIPh 35hsh8pIUQoiPOfLtpjhXLvL1GeoYwRtBiUYCNZeAamwHdzYVvJzr207dimTU3hBV3vo LyHTumLeTk7vQzFn9PkTwjuRfYmdDgCfiXRiyhb6eTlaANGNOHa43pe/Xb1Na2P0N4sp eyzbFnielK9CMeU58XqwrW2qNxp4sHZYbY50JY0Yj/9/83+JkNitUbN+4v+j0lQGU4P8 OV2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WJDMgbvK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id v185-20020a6389c2000000b005b8fb1da631si2756911pgd.897.2023.10.28.12.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 12:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WJDMgbvK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BCC35808D2B8; Sat, 28 Oct 2023 12:36:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229747AbjJ1TgN (ORCPT + 99 others); Sat, 28 Oct 2023 15:36:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjJ1TgM (ORCPT ); Sat, 28 Oct 2023 15:36:12 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F1F5E0; Sat, 28 Oct 2023 12:36:09 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FF41C433C8; Sat, 28 Oct 2023 19:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698521769; bh=AJ6ovljbj6MisbZ3hfwRo2Cpjpm1JHKytVq4TooG3mE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WJDMgbvKdfcVn4Am/PD5xyskObSaDktzj7IovTU0TDqVk5hpNNCIpg3ms17aIXhHH r67WG7+GBoqzU7scD58xAnGTA/eeoAqV4TsUYNKcdrnddbRqsclrvaC50tZxPKfXk2 1HYfUrGLxi1ZU6tAjNTlchsMj2jVb7lXUVlIgAZpWECkxdYH+ebIAgrd0l6brIjUwy jCuuMsXHwFfXGWOOJV1bETUGVPM5DqwhAnPu2gIy/+YOGpbB/V0hjPhwEwLI5+yzdm pdvpnhLOUQ0TeCd+FsQ8XVT0sOjJKT/ynIRtBthwRhzUBYlDvOy/Smbixu+rnwVe9s 7gNE6ZjkMiWjA== Date: Sat, 28 Oct 2023 21:36:05 +0200 From: Wolfram Sang To: Andi Shyti Cc: Samuel Holland , Peter Korsgaard , Andrew Lunn , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: ocores: Move system PM hooks to the NOIRQ phase Message-ID: Mail-Followup-To: Wolfram Sang , Andi Shyti , Samuel Holland , Peter Korsgaard , Andrew Lunn , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230717203857.2626773-1-samuel.holland@sifive.com> <20231024202030.o3pyswa4css5lnwr@zenone.zhora.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GSjqUPDK1r46QXAL" Content-Disposition: inline In-Reply-To: <20231024202030.o3pyswa4css5lnwr@zenone.zhora.eu> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 28 Oct 2023 12:36:30 -0700 (PDT) --GSjqUPDK1r46QXAL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > When an I2C device contains a wake IRQ subordinate to a regmap-irq chip, > > the regmap-irq code must be able to perform I2C transactions during > > suspend_device_irqs() and resume_device_irqs(). Therefore, the bus must > > be suspended/resumed during the NOIRQ phase. > >=20 > > Signed-off-by: Samuel Holland >=20 > I think this patch has failed to receive some comments, I'll go > ahead and give it my blessing: >=20 > Reviewed-by: Andi Shyti It needs to be rebased on top of 0ad93449b043 ("i2c: ocores: Remove #ifdef guards for PM related functions"), though. This series did clean this up for the whole subsystem. It also introduced using pm_sleep_ptr which probably was missing here? --GSjqUPDK1r46QXAL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmU9Yp0ACgkQFA3kzBSg KbZHuxAAkAxotUygWyZRw5UqlHp3CMUnpxJMGt+ceCx22eOs8cp7P7oMB8crKacP Ut0dgZiWzfb57/IPuRJ8NkzoP6OYsg9cfc1mnYu4YdEtdMTBVlavk4LAcS99ft+M xo8hN9vNvK9sCOBijX6yR2z8bSJgXsmK8Y7QFHijhtlZLk0GnnIeJwDHF9Ihz0YS 5O900EiIefsRvYw3WghKIRkFcFeOkwnQRtg3RnYSosXtcuJ+8N4uKI4zS7ga4uLE Wvif/SaciSsCVNO/r4NZ/K41bBuOCceEldxAv26/gjlzMvHL68G83tWlcN7Qf0MI o1RXbcEKmOvR2mSksK4cvwjw0KZ3tSWX3mSDX5aOUBhRnd+7P+qHfg/NSzzuUBxR rG9TElEQtNs5lO+xkCcAW2QTcRw2j/21ktfm97zdArDjt9qxN2Q5azFjPe3ExpEs dK9MaOd+BxGgPCgCuMLUkcVm+GhzBmOIZKSJACeTos5fzwNPizPBb7iolxX6fvHx 8R7ZrlMiC0qx6S5arbY7Vov4HpQKUyU14FT9+eqGjTyWAcff4YzbPUzUjfy2N1D+ GKrgbauw4RmCwToVHs0Yfbf58hrqpzluohSIbDWT4YqRFGTxjfmUOH3DmwOuMf7x wcJxDwHiXMdhfXhDZRvS4VIoFaGJQ8dqKcZegGJfd6QItt48FnU= =91ge -----END PGP SIGNATURE----- --GSjqUPDK1r46QXAL--