From patchwork Fri Dec 2 14:28:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 2535 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp900823wrr; Fri, 2 Dec 2022 06:49:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sBgh1Wen0uRpI/IcRda1UFkqyWyBPWdNxpbxq0K2xk1XGJPHUjtdiyx0uLtOd1CvsGWuc X-Received: by 2002:a63:1054:0:b0:42b:9219:d14e with SMTP id 20-20020a631054000000b0042b9219d14emr45670619pgq.176.1669992565135; Fri, 02 Dec 2022 06:49:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669992565; cv=none; d=google.com; s=arc-20160816; b=uSzzEiImNYT6ljL9qn62Khjpzg5s6j4QHcu1jSOeQhhn4WnS6Rkb6nXkBuRuRN05wK YhtRbaeAgo7296Ltx8y4pxV9i6R1SBg8eNpDXjwii2ehUquj6WTJchuVplMCvCvwB/5d PH1W7PY+caANKFHCzq8Ed2jdqHJb5GagOgbjp5gdMlD8CoxZ8P1cFOJEeSyDJ7WoTuid dNrI/DtJBE1y+4DiZCvz9EVJNdBeVho5m4bba/qvoYLY5ThF7RgITzLt6nO4nsB+16/5 RmyAP1GqoVgkVsXogzOoy/dFxGc5O1g2GsSR4dDE1m1MXhHNc23wDb/yyNy0Dmo/YNyb OrqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=u4+lPFwAO17ik08+lZ27BTlhEi5i7GLqWj0XpkVC6II=; b=mz6ASCfNzLDPrOTXF0OmmRiPSLTWZlgfaeATP3jND6Eto2ostqPBd94TAXhVtVD4++ 466qPZXQIjd/nmoMNvRUklyl6s0/h5C4qygfLsAweYOUKUIaitVhzRtqEzqWBV5WfcvQ bbzUBnr7oCoiV0vNdLNKk4Kxib+USz2KvyctE4U51QrMs7Na74LS241T49b1JvNJWisK 1SUOuy8avDI2O/pNCGCkgdPKdBHVEPY/hMLAFcRDqjZ604OlW9bRU83bTp/UZNd567v8 qq5YQashx4FdITTA3+ackOA0594rd/6ibAYQXybSZKofdLlBRGNk9w0L5qnkCedUVtpq lDZw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a63f14b000000b0045a2d89c9cfsi7712218pgk.348.2022.12.02.06.49.11; Fri, 02 Dec 2022 06:49:25 -0800 (PST) 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 S233510AbiLBOcf (ORCPT + 99 others); Fri, 2 Dec 2022 09:32:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233396AbiLBOc3 (ORCPT ); Fri, 2 Dec 2022 09:32:29 -0500 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6108CDC853; Fri, 2 Dec 2022 06:32:28 -0800 (PST) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.1.0) id a7f6a95a8093805d; Fri, 2 Dec 2022 15:32:26 +0100 Received: from kreacher.localnet (unknown [213.134.188.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id B39AB2602969; Fri, 2 Dec 2022 15:32:25 +0100 (CET) Authentication-Results: v370.home.net.pl; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: v370.home.net.pl; spf=fail smtp.mailfrom=rjwysocki.net From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Tushar Nimkar , Adrian Hunter , "Rafael J. Wysocki" , Nitin Rawat , Peter Wang , Alan Stern , Ulf Hansson Subject: [PATCH v1 0/2] PM: runtime: Fix rpm_idle() and relocate rpm_callback() Date: Fri, 02 Dec 2022 15:28:47 +0100 Message-ID: <5627469.DvuYhMxLoT@kreacher> MIME-Version: 1.0 X-CLIENT-IP: 213.134.188.181 X-CLIENT-HOSTNAME: 213.134.188.181 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrtdekgdegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeffffffkefgheehffelteeiveeffeevhfelteejvddvieejjeelvdeiheeuveeuffenucfkphepvddufedrudefgedrudekkedrudekudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvudefrddufeegrddukeekrddukedupdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeelpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepqhhuihgtpghtnhhimhhkrghrsehquhhitghinhgtrdgtohhmpdhrtghpthhtoheprggurhhirghnrdhhuhhnthgvrhesihhnthgvlhdrtghomhdprhgtphhtthho pehrrghfrggvlheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepqhhuihgtpghnihhtihhrrgifrgesqhhuihgtihhntgdrtghomhdprhgtphhtthhopehpvghtvghrrdifrghnghesmhgvughirghtvghkrdgtohhmpdhrtghpthhtohepshhtvghrnhesrhhofihlrghnugdrhhgrrhhvrghrugdrvgguuhdprhgtphhtthhopehulhhfrdhhrghnshhsohhnsehlihhnrghrohdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=9 Fuz1=9 Fuz2=9 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751114123793394921?= X-GMAIL-MSGID: =?utf-8?q?1751114123793394921?= Hi All, The first patch in this series replaces the __rpm_callback() invocation in rpm_idle() with something simpler (and more correct) and the second one moves rpm_callback() next to __rpm_callback(). Thanks!