From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.177 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796168784; b=jnf0DZtmep05k5qCehAVWHXOxUvcR8I4J/t5d3R6uGkTQ7scJD/STdYDXG+uZGCaQwzy 9nEgK4VR+TqjjLcvTNUnymOrA/CwivhbX98980C14K1KLIv1AAYMwwBK7IrIOu6/EzbOf oq7HhjbNUQ99mfVmT1RzkAarITWXrz1U3yIqgyfVBpmxVhe0uVqBNsumr0tGGBU7oZkyx 8I9huBYTiR1jcxDLk5mqVmLHIlb0Cba3VYXvd51gtkZuDMu7xIs8JDxOao823L5pzcNDL h+HJbBWstx9rGK7yW3aJTwwNBNGVQOIJwjexXB4AvV79viXNhi9/5iRDQ3+HFd0MecQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796168784; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=D7zEdb37boHWIolbPgFjdu7ulGCfq6/k1MfDPGhKRxQ=; b=OMsKJtdK9yG50IkKwTbo+uuv/T1A4hvmmwA2m2RW3pgbWhiSixkC5UkeL8RbjFcEgbMi g4yK99dp34o/qpD+rfOXO85ga9/jK8avlSVCTj8d+aiYQj7F/imXv5eVLoBgEEuLiqL+T y6p2BCRJkJ3uWYasNYBx/dDy+PuVht+38ZIzVSqTE9C7nRLbxJiUeDDRXSmi/Dje8SaYJ UNJGd8QR9XvuLMkf/pH+V8f7h1Q+vgU+iqFAsJ9EH8i2Uroxwd92qt4Ww/lEqcvIH9LCz qb0/51Zypb1MPtIMOV0YeV4ueXRBwuoZdK/8/qYoCbsO2IjXA3ihDuT2t1JEYTVPN2A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b="g/sPO2vf"; arc=none smtp.remote-ip=74.125.82.177 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18602606A320 for ; Tue, 1 Dec 2026 23:46:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 18602606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=g/sPO2vf Received: by mail-dy1-f177.google.com with SMTP id 5a478bee46e88-386c336eab8so9896901eec.0 for ; Tue, 01 Dec 2026 15:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1796168783; x=1796773583; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=D7zEdb37boHWIolbPgFjdu7ulGCfq6/k1MfDPGhKRxQ=; b=g/sPO2vfssL1KLe/lo0uzpkqrLwMwBpWegqmrzkgQAwM5DhHRib+wGiCwFLn40GzoX 3g8A2kIseu76xHU2M/92fbcw15Z3TUCcwIr/Sz8ogtTt1uvlNw2GO16pND7dBEGkuZXb h0xVBi/mFDfXydPes9Urzc1CY2EI/AOABXTTY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796168783; x=1796773583; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=D7zEdb37boHWIolbPgFjdu7ulGCfq6/k1MfDPGhKRxQ=; b=DKoKzy5gpeVnNeLU4dx4s+7wDkmQmfWUZXgsObjUTDQijnFkcnj6gOvWlWGCnA0+5H Tn/M/nJ2dOd4FSC0fB55FcAKmdQ7p7RXEFHttNhpBTOOlsp0T1kVqx14xqAAT1PvQ85W CLysMcnmA2A4P0qTxod6w2ONBEs1zlsJujw0KwhbhOXjxh9NIJ1k3/B7lJbPYkq8J3jn cINmDuwo1GbNn2Aol1U5hvA5v7afijb3GmBUIrAF4Me2beo01UDi6GrXaw0h4YKOUm4s squqQBWaXGYO7rrjUx5A1SmK37djSkXGX9nLOyp6DpZd3uQKeB5pHM0kFFoHxFRX3D/I iFhw== X-Gm-Message-State: APuU4Z+WHVJnOj+GhIlCBtDUzMRzPBHX4RpkIn9Imw8kgDpwp9WZlPgX a3jxAFSauBRWLnFTApQ54pAsTegVcyeQNMFHzUWcMYn4hQWyoisz6JKRPsfJuSwz7g== X-Gm-Gg: AZFdTZfKj6h9vGiQAjFSAMBt0XGSjmBrcv391wldD2s11rNuHBLcE8Zei3v4JlpMMWj ES+j7WRdZXmwZSH6NRUBqk0x1Fh0WeHKSkWUM85lC2HG5/1Y22WucRShn+s/gMtpgh8PMwxH9vb qYNH9GrjKIZEqRii0bOgDZQq1fE0Hs1feHagtT+EBC0/5j4awrPZjzJA1gP9dA62nFv0mhDI1b8 BAaZTeMzgxa0/n8gXfCW7u37GtEHyTuONzf9K46t4h3CwNT0oLwvHsqPUlfIzizDBPcy1KbKRPI YcSDj55hntq0ogJlqzSZesSuZ2k5VAB5yAhBMu4u549n3wju7JUjso7SF1Zaov2Ajbjok3HZNEv EgkslzA27Jh3ztBkRwTKfQhSc9bMPuwA6k+KITgC0NRPAqOSxsc0LfcZdOX9wT3cECUE2/8Q6NB DzFXZVBuVQGG4Nvo+fvXJ/AEDyOZURQJo4trENWeKzzMQIWcE2K6hBJxTDKXDA2kVMLNZKg3lNJ WFZtHHoJW0+Ojpft70/VWbhObQjeLKzVrroe8IrKg7HO+AhpteFkKGTKbcDFbSTluHmSN19ahER hc8slZdhy5kLVb5kXaOZh5RUTmnGyaNiGnRqnKmzE4YW9NRXum+6FvCzrxXtQmmVRw== X-Received: by 2002:a05:7301:6490:b0:386:9618:309c with SMTP id 5a478bee46e88-386961832eamr37707417eec.22.1796168783190; Tue, 01 Dec 2026 15:46:23 -0800 (PST) Received: from localhost ([2a00:79e0:2e7c:8:4a1f:3e7:2ac1:9562]) by smtp.gmail.com with UTF8SMTPSA id 5a478bee46e88-38566fdce48sm119857956eec.14.2026.12.01.15.46.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Dec 2026 15:46:22 -0800 (PST) Date: Tue, 1 Dec 2026 15:46:20 -0800 From: Brian Norris To: "Rafael J. Wysocki" Cc: Linux PM , Alan Stern , Sakari Ailus , Ulf Hansson , Linux Driver Core Development Subject: Re: [PATCH v2 0/2] PM: runtime: Consolidation of last_busy updates and calling rpm_idle() in rpm_resume() Message-ID: References: <5129504.GXAFRqVoOG@rafael.j.wysocki> X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5129504.GXAFRqVoOG@rafael.j.wysocki> On Mon, Nov 30, 2026 at 04:01:45PM +0100, Rafael J. Wysocki wrote: > Hi All, > > This is a follow-up series for > > https://web.git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=26236a3e8803f7e1ace104020d7f006edb220116 > > which is in linux-next and it replaces > > https://lore.kernel.org/linux-pm/10954171.nUPlyArG6x@rafael.j.wysocki/ > > and > > https://lore.kernel.org/linux-pm/2062233.PYKUYFuaPT@rafael.j.wysocki/ > > (hence v2). > > It makes essentially the same changes as the two patches above, but in > a different order and with somewhat (hopefully) more convincing explanation. > It requires this series to be applied: > > https://lore.kernel.org/linux-pm/4779892.LvFx2qVVIh@rafael.j.wysocki/ > > The first patch simply drops a direct pm_runtime_mark_last_busy() call from > rpm_resume() that becomes redundant after apply the above series. > > The second patch causes rpm_resume() to call rpm_idle() in the case when the > given device is active to start with which is already done in the case when > the device needs to be resumed. The goal is to make the behavior of > rpm_resume() more consistent and more predictable. > > Thanks! I think my concerns about trace_event pollution are indeed relatively minor tweaks to existing noisy tracing. And the concerns about potentially excess idle->suspend are really only going to expose preexisting bugs, if they expose anything. So: Reviewed-by: Brian Norris