From nobody Mon Oct 19 16:44:55 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4j7hGy27ylz6vcnl; Mon, 19 Oct 2026 16:44:58 +0000 (UTC) (envelope-from markj@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4j7hGy0P2Pz4WY9; Mon, 19 Oct 2026 16:44:58 +0000 (UTC) (envelope-from markj@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792428298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vzqfa8SLKPEi2vI6eERJKqNjf05Hh8zA1/b+dT0C+YI=; b=vjB2RpiSW1h47tsjxOheGttFqP5ag6WqvYY0waZWyI6fohMcTGxhe84dEqDAaxCXd97amw qLuTRnXM1sdo5JWEqz1iQ+yJA3St3SgwStQV6tL8+NgkU2RjhvS6Tsh/FaEqK5ysL7uSxc 9hWcXOQq7r9hpOofzsY9ptpl+0Y5IFgUqD36TERLszaEi0LnvoJ09nMPJr+DhMINp2c9Dm Jte52iY9Od3ypCwTUkqkytII2A+rHsm0sYAxP5m4O8IlzrY4HoF749+gyCKLEg7z7AHa/I anenZeouaIaNpLtMiNNoj0eZ71r7CCJ40e22diOhOHNis1CZmAhyd5sHjHIDNw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792428298; b=E5hBb7FPpYb3mjN3RHcwygEOKW+fbBj8Nj6zsYVKhCaymKHQiUW/ZMgxB2NfLZLmPh7Dpr AS/E9pfuX3WVpKq/rzMURYnKYbhcJfyC2AZM95UnttlhpstTtkPCF/+laKZX4/PVF10vmM ERua/Osz7eR74Hil76YPFQlZ0FnzzWAubTDSNeY7so81jMaM1O6FwVBXOlMnGzsH1rTTNu dtvtDDFIEEaD9RfhD0YQumwZn8jXs7G1MMJbf6sEhurbCXcUV4UFZPY8zcGo9rMblwkcZB 2qfqajQnGWbK8O3MjmIthf4oGcQTc5Fch+ShUmascS2C3P6s1uZzdmqj2xqrUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792428298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vzqfa8SLKPEi2vI6eERJKqNjf05Hh8zA1/b+dT0C+YI=; b=ITSEN70HO9Y+rqEhIqay3CpEKqqZ6SjtnTR4MLVOgmvfznz8oQeLDMLY7fPlYwVlF1Zthk akYmPe98NOaqpFkyBHVH+6DCXj4rnBFbYvWjFOZibhSyO/YD4QOnfulvY4GxvM9AcPOMt2 L/nJcBHRSSdQFo9IkQOfKcrJsj9+nzsRYXpU+ObOwuHQs9o7Ze8iMSq3nWcjqmUP2LkL79 GI8jEHs1tKLP8N/ntyqqMFSrdeB57ebGywJ6tEj9HgkHqAIyEfDUaI8wQenOXnkoeSKh8R JwQkQ8Q6l2xb55Z3aU/Y7n+dfoZ84dfKT0cAbq2+5kFMtXu6A5YL9nrKQmw0kQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from nuc (198-84-224-249.cpe.teksavvy.com [198.84.224.249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: markj) by smtp.freebsd.org (Postfix) with ESMTPSA id 4j7hGx5P8Bz1D6P; Mon, 19 Oct 2026 16:44:57 +0000 (UTC) (envelope-from markj@freebsd.org) Date: Mon, 19 Oct 2026 12:44:55 -0400 From: Mark Johnston To: "Bjoern A. Zeeb" Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 863fe7ae5152 - main - LinuxKPI: re-implement pm_runtime.h Message-ID: References: <6aca83ee.22d35.367468dc@gitrepo.freebsd.org> List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: Commit messages for the main branch of the src repository 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: <6aca83ee.22d35.367468dc@gitrepo.freebsd.org> On Sat, Oct 10, 2026 at 06:29:02PM +0000, Bjoern A. Zeeb wrote: > The branch main has been updated by bz: > > URL: https://cgit.FreeBSD.org/src/commit/?id=863fe7ae5152926fab0380a78ba26b6ba4a2d65f > > commit 863fe7ae5152926fab0380a78ba26b6ba4a2d65f > Author: Bjoern A. Zeeb > AuthorDate: 2026-07-11 14:36:06 +0000 > Commit: Bjoern A. Zeeb > CommitDate: 2026-10-10 18:28:32 +0000 > > LinuxKPI: re-implement pm_runtime.h > > The original implementation was based on OpenBSD under public domain > but just defined the functions to void. > FreeBSD later extended the file with more inline functions or dealing > with differences in Linux versions. > > This rework tries to group some functions, adds properly typed arguments > and return values in some cases. > It further adjusts return values based on the !CONFIG_PM expectations. > > Lastly pr_debug() calls are added so we could see if/how much these > functions are used in new/other works rather than code just compiling > but the functions entirely being ignored without the knowledge of the > person porting code. > > Sponsored by: The FreeBSD Foundation > MFC after: 3 days > Reviewed by: dumbbell > Differential Revision: https://reviews.freebsd.org/D58169 This commit makes Xorg+i915 unusable for me. All text on my desktop is corrupted. I traced this down to the change to pm_runtime_get_if_active(): if it goes back to returning 1, then the problem goes away.