Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1359790iog; Tue, 14 Jun 2022 04:43:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVSmzL6NmwFE6uGt7J7Wpj2v2w49LZJ2LjjXM8fAthh+TMwzbiAUxYMxfqgdAFUDwlByff X-Received: by 2002:a05:6402:100c:b0:42d:f407:b050 with SMTP id c12-20020a056402100c00b0042df407b050mr5386585edu.39.1655207012310; Tue, 14 Jun 2022 04:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655207012; cv=none; d=google.com; s=arc-20160816; b=u0THFN+H9whlIDDCAAZOsajc5Ju2NL6OoJpRgsk5poWprwefDsS+BrM7ctS7uVgxM8 XKRUCd11V91dGxI1FlMOPRxCv8tJGtzn2+Q6Jl9tphxdAvxVdLnNKNUDuHGVLLfEUNnD ddYD97q5nr8E+WwRHSxfAMVajL6+XVNiWwAeJFjZWd3gA3Y/GAPeLtFzrZJ3pBEre1y7 hORKReU3fA57AiLeyH5EZhM8qR3tEJpqk319GFYu9gXimj1BxVMu6eYeyIZZWDOZ7NUi CHGT21lUfyKaqaYunGCCxwZMus6NgP3HdkZpxgup0MEXLUsxi5GptWJnjcdov4JIHslk 8O4A== 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:message-id:subject:cc:to:from:date; bh=HC0ztX8KN0hS/zuWkgOB3L0c6QtzKxj0cb1FBVVgVyQ=; b=LkR8fC5V2TFBeR9QlV8wH3nQWo8HegJeo/yYngcpsNEgkFIRoY7ETp0GUbtAvbry9I 9ZeX5c7bptRtRRrJib/HCHe5Xdc40bdKMXWZecHACiCsfzid1WKr6zq48t/7wcpqgojy abYf9y90qJEpy+towDGYrcpYR7ceZLtCyYk9UZ13sQpaMG7ss5DW4oEm+pzJlbcSAYGr f6aTBXytiDubou40yvdhf8n0uMGtfbkhU1q8ZzWemA1VwMHtl7cM59l6JXpIYKpGx38R wD7TV2MhHH5KItzzAyxh1QRmLqTpnq3Q856oum52euGp6pBxkF0KKkkf6LPDSi5BzGQl whiw== 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 hr26-20020a1709073f9a00b006f4904880fbsi11800788ejc.338.2022.06.14.04.43.07; Tue, 14 Jun 2022 04:43:32 -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 S241708AbiFNLQ2 (ORCPT + 99 others); Tue, 14 Jun 2022 07:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231887AbiFNLQ0 (ORCPT ); Tue, 14 Jun 2022 07:16:26 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9A7DA21E2C; Tue, 14 Jun 2022 04:16:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 4EDE780AE; Tue, 14 Jun 2022 11:11:41 +0000 (UTC) Date: Tue, 14 Jun 2022 14:16:23 +0300 From: Tony Lindgren To: Ulf Hansson Cc: "Rafael J . Wysocki" , linux-pm@vger.kernel.org, "Rafael J . Wysocki" , Chunfeng Yun , Axe Yang , Chaotian Jing , Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: Re: [PATCH] PM: runtime: Extend support for wakeirq for force_suspend|resume Message-ID: References: <20220608153120.303070-1-ulf.hansson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220608153120.303070-1-ulf.hansson@linaro.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 * Ulf Hansson [220608 15:26]: > A driver that makes use of pm_runtime_force_suspend|resume() to support > system suspend/resume, currently needs to manage the wakeirq support > itself. To avoid the boilerplate code in the driver's system suspend/resume > callbacks in particular, let's extend pm_runtime_force_suspend|resume() to > deal with the wakeirq. Looks good to me: Reviewed-by: Tony Lindgren