From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796168784; b=Gm8p2dOPJi8L9Jlg3RTOT9wuxB1tVQl+15i7ZaJdwYu+d6wsV4YrPBAVaQFrZaM20vhY DP53T0jktLOrWUmW4J35pNnkkI1kBrbKeWEJVJJGp98T0XFJY4cWA8HcH8mSFY/0I9utT l8y6edH5nge2ZpIWDkBiHsfzBsJSerw/yhfLjjxUnW/g3YjqK7LP3YsYX19ivsxTLYvTl GZozlUGihabyBfA71mj1jRB8RT3bSLJp7vsYQRjgB4lti6T6KTGS8uSEyFVZy4JsjWhjH JLZRVfu8pqKLvLw6lSuk/GPze1leNIC2eJtJ2zhTV0wE8xg+kLseIfz03TYyQGG4EYQ== 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-Forwarded-Encrypted: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=48i3pPDtI0MfYu11Trp7xNK+4nf6ckTXvctQpxmETNieSYnrnzMAKQICP9BqUHJan/ri HvgSa2hZG0ozwBI/kkSSdP32Wd5GGHaMgPtgQZccMtELOdY6TF9G/dtfvR2tM5aJSIamp Z7cHuLS/TizpsOKKEtceY1MyX8yxQ6inv8DJq+i/Xc+g7xyfq+46Fvw7DUegWmSIfbcQz o6GClPoMBqf2LfgZIq3Z3k+TJR8GkAygfYGAw16N6usbF9pv6xeUVDiJ6uuZRodpHNHQf ERCMizPq5LYmDs9EjfG+9ZU5lw3ZtDNj+zd3PRpPfeZhiINced8QnFwbd+SvgtleLxw== 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=IZbNheJi; arc=none smtp.remote-ip=74.125.82.172 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) (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 0D890606A31A for ; Tue, 1 Dec 2026 23:46:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0D890606A31A 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) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=IZbNheJi Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-380c28f9e35so13070413eec.1 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=lists.linux.dev; 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=IZbNheJiTQY1ofZxK2nS8gppiGRkvuBwLUswl+vH4ms4MrC9FNTVOktUUDe5vGosNG VsMqVUsjnie81ISFOrBSn0JBtyBrEgeP/cvrzOFqwpEsNF86xieLhLlulLtV8mOX8jOK sSEOzeHIIn2GVdaISDcqj6v2fzPrStUyCOTCU= 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=NicSn3Usqq2Zlt4GTZ3szJBXngrTfSrTV6KZEs/lg9OE66icC6UKXH1SkZ0xrI8aul ZLEIpV1HlXbYvB6d0VYarIcRE68c5n+32unGES1GyIYtGcOaCa6jKO9EFhDvjpEh+LZ7 zIn6XwKWxM7gdo26P3HDQRKKpabh/HiHzeYyTfs/HRxnzub2UCZT6mBn5vUXjbkzGCdi qIVp852aauRN6hG3chOARBu1lpC5wVs5JgnO7Jv9XOzKzv8+jxfVK9fjan3eE79TF68S 8XHGuZueOwA1RMTon8n8UJeCTsN3I5Vh6ClYgcNFqNUYcrlfBmAtfItbyB6dlQs6tiFx uqEg== X-Forwarded-Encrypted: i=1; AL+hErFu3UH3SQ+NQAWLBIOPJw+h+wxITlt4XdqtB2WlSwY8YhjK6qAh/MUj27qKZ2HmA+h4HML40Jmd3tQOVw==@lists.linux.dev X-Gm-Message-State: APuU4Z9gADOb6Lg0fXBicKc9PxhDl8bSQjmefxgVIZX6Unwwq2Vd4xrZ HyYMROhtriWaX3VcQGFjzz4e7nxGSRbZwux+9jSiUl3yHtLAk4Drvg2+vCSMQCwXag== X-Gm-Gg: AZFdTZdPbDNT6gzSm9x5NNNU1ct0CVzADDZ82KHIxpOejQlnD5WA03YA/wq+PfGbTlx MLYRFhtWhJFECfsDWj+VN9RXi/Og44Z5Rh7OxmhFjAfxgwrlvzt1ZdVxg2Nv9bCq2vPpYrHiiTA uW6h6V5jjVbe8dXV7YI+mu9BZdQTNPzfkiw3cGHutAu9ot1TwpCyHeZlyfdFlBcJjyxrRPtE64X a10NTr4xDoX1BbBgDNfmFuw2qe4ha+zaRlyMz+80YGF1fsyX7Nr2T0sfXL2cDR7yr4TEdZ5IqXX P/ttqvL9irSt28yeHUQS7u1COQoW7/Sjb7Eu4flDpILFzdrd7/s7S9SQmZ7QXALRTSBtY+I4OPB fK9N0gajlDyrb+EAf+WPaNLcWCqo2YjZLwMbazTylmylZvGx/aKMOkMp01NP0ZRp6OjM9nUdSH0 UJn7u7wvmLn9F0EWnSO+po8BICQOHJMnL6C//zeOaEol5mGkvaYxxCsAV0eoJZrXJt9NFmGL2Y9 mltSVmhQ9Min2m1EzOf0+4a5PXSnIHjUnkmmtJ28H05WfGK1RFg6BWGJmF9YEGrGwIDAcU4lDMu hH0Hgs8jEssWjQ65N3pM3/0La0GaWluA+DTzxc/8/h6Cm3xarr0KazsR2mqJCxwjHA== 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: driver-core@lists.linux.dev 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