Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6607056rwp; Tue, 18 Jul 2023 03:11:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlGXzostYpZKP14qDFEnIGlCiV2A/hg/jIHRIeeT7z3q655uN0PF4v+l1H+qCRqs94Vj21x9 X-Received: by 2002:a05:6a00:2d19:b0:676:76ea:e992 with SMTP id fa25-20020a056a002d1900b0067676eae992mr20532872pfb.5.1689675081495; Tue, 18 Jul 2023 03:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689675081; cv=none; d=google.com; s=arc-20160816; b=gT8R9m7d/5NJe4cIC12WJrA9goL24eAWxvb6b2c8KD26gt47OucPIHlY3t4gnWmYUY I7WBp4rovhKXigSbXhaucr7O8VPQoBEPleOnWfmFmJXqL2yCLNaJIhcA0Js/ajSxlx0H ZzVZwDdzfQ9KkhCP0xBHNHTVXXt5Ydq/OH/PR+ksjelYvO1sG3FSyGnZmHoGna7kpGMH 0BkSolTSO3pknbSs6xqUEkBNPg1RxF0cOchR8cEutDaIyEHRJopE8OGxBV4lREf2aAS8 6ziBHC+r0oZt2/lW934IDeY5bZFsV4e6B7bP03Th1+ZKb02Nm/0yVfF2xxoT7YPPh3EV /+QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=T4M8dYUWXkeaBjvTRzwkzHZEBQeQHVrKVCxb3DBY4y8=; fh=Pn3BI4Yt7VmNQ+OcmURkOSAH8hxO9hsAilOCUxyyD4w=; b=Qp7GHfDdM24LRZyTksLM2v+55UeHM5Bv9bJZmm5UI76flvvs1BbcKxHwnZGmtBOY2G uH0F9kX9CEW/slAa727T7rDrAzpA1UwoX2tSeMAMU558G4HUjkpBfhJUV0bzBZVjfyMF tSb59zfKZC8SF3UmCobTuuiKFQ3y+8YfRIvX2WlOUsTG5QPmZL3Qcc/GdT4OC80e+XnS BgEiqaugpuKniO8jrmyXZ+BCIK6WXhkaclErfcCCkqzt/D8zMmltqn0kwsOLhPimPgT1 DEMpPOOIwYQlQTDjP740wWG7iPOJE+bjcJPIIE6gGersBMHhtxb/OxIhEvMfnChaa7kn w/lQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ch12-20020a056a00288c00b0067e69fcebb9si1306505pfb.86.2023.07.18.03.11.08; Tue, 18 Jul 2023 03:11:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231332AbjGRKBl convert rfc822-to-8bit (ORCPT + 99 others); Tue, 18 Jul 2023 06:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232260AbjGRKBf (ORCPT ); Tue, 18 Jul 2023 06:01:35 -0400 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B316E4F; Tue, 18 Jul 2023 03:01:27 -0700 (PDT) Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-1bac0e25891so79814fac.2; Tue, 18 Jul 2023 03:01:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689674486; x=1692266486; 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=iMWNFsiRP079B5LYbYLQZfm+Mzjz5LU2gLm2aCCBKHU=; b=gQmr3YApxV2Jhjpqyvd72TBslFNKanvStKead9ackCb+XfH1HfKfOeFsWE+MnmHnxd u8ULDNZ+uBzApx/sEdncdt8/3ST1LFWbgKDKgJvUiskmOzlrFfdTeUI0o6E66s8gVfI9 QlbziFW7SPaAEaPXcIATqr8xD4H2OUHDd/n/KVsVEGv4fYUC5UQh99FMEKM/47HRxa99 lo9WEvv8VBwrvY5Bj1LsOveJdkIpGvmYw1eVBSDsbjprgaQ/9R9sjOjz+9uY5IjCy536 YACC/AXrch9DB9bXN6GaKE+yhC0J+AQ/MUfBsCUNsfNGy6zW0vWrtqZXChuLp5APiwhc y71Q== X-Gm-Message-State: ABy/qLb1ENz5f2W4v22OqgpZa3UNgv+jEq4yezx2EaOX/92iC1+z/Hzd 7ezETDY3+VGvaa0zvc2kUYwh86sAPud+iA== X-Received: by 2002:aca:bd06:0:b0:3a4:11a1:4cd8 with SMTP id n6-20020acabd06000000b003a411a14cd8mr11993989oif.4.1689674486551; Tue, 18 Jul 2023 03:01:26 -0700 (PDT) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com. [209.85.219.169]) by smtp.gmail.com with ESMTPSA id w207-20020a8149d8000000b00570589c5aedsm369201ywa.7.2023.07.18.03.01.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jul 2023 03:01:26 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-bdd069e96b5so5634794276.2; Tue, 18 Jul 2023 03:01:26 -0700 (PDT) X-Received: by 2002:a5b:c47:0:b0:ced:271:950a with SMTP id d7-20020a5b0c47000000b00ced0271950amr437150ybr.47.1689674485821; Tue, 18 Jul 2023 03:01:25 -0700 (PDT) MIME-Version: 1.0 References: <20230717172821.62827-1-andriy.shevchenko@linux.intel.com> <20230717172821.62827-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20230717172821.62827-2-andriy.shevchenko@linux.intel.com> From: Geert Uytterhoeven Date: Tue, 18 Jul 2023 12:01:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 01/10] pm: Introduce DEFINE_NOIRQ_DEV_PM_OPS() helper To: Andy Shevchenko Cc: Mika Westerberg , Linus Walleij , Balsam CHIHI , Claudiu Beznea , Wolfram Sang , Thierry Reding , Paul Cercueil , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, Andy Shevchenko , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ludovic Desroches , Nicolas Ferre , Alexandre Belloni , Jonathan Hunter , "Rafael J. Wysocki" , Len Brown , Pavel Machek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 17, 2023 at 7:28 PM Andy Shevchenko wrote: > _DEFINE_DEV_PM_OPS() helps to define PM operations for the system sleep > and/or runtime PM cases. Some of the existing users want to have _noirq() > variants to be set. For that purpose introduce a new helper which sets > up _noirq() callbacks to be set and struct dev_pm_ops be provided. > > Signed-off-by: Andy Shevchenko Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds