From nobody Fri Sep 18 10:59:26 2026 X-Original-To: dev-commits-src-all@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 4hmV4Z5JTLz6sHQN for ; Fri, 18 Sep 2026 10:59:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hmV4Z15dMz3R7j for ; Fri, 18 Sep 2026 10:59:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789729166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BTv166gxIFKcwrZG47XOhOFuDSKRYJe1Uizs7FSe2u8=; b=bxmIh98Zy0tEuFeuVsU+9QRkY/vIMt7NZTfdB+i0I/4ofUjlgxIwWfGm28Amb6tBj04kPi gXpIeK5m3q1GBzJpRWeSRVe24o70T4qHu/64ML0xmauGri/YGBG+Z1R/tvyDZnqgoFtUi5 Ih7DkNuxQZHMCKyyFvX2vON5Q5ZFO4n8Ho0qSviiVC9Dxtmj/WYQq+Cy37zEAuFUSS2ARJ PixkDITZx5IHekhj4fhpw6O7ocMiMtWI9T2+36YbnP4VoVcx5cTqRz+0ayeW8hQ9+b+qvZ /xi9S6ZdZpKgDwYackSMsbryh1W0bBSUZGLb9v18kVYtaU97+0ELc6sRwSI+dw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789729166; b=HOtET81eMq7nYOd4ohSh2Y4w1kI3nV8XWTfVEz6FVKWUoL6J6mIoSlI7re9YExe9ADBVzH RUiAj6zflHLLmvxb4YqxmfrLv0fsxFkht0ya+Sn5wJEA1BjqjJqFwKX99l8f03dlcBpjI/ EMRef/sZ6535UQYTuZtal+2BkfrM7saVwn/4QeLckYbYCztwx174K7dwl6KeWOT790JAho Sq7FedqhgRmGtiUJEZUb6/PBEIdLjBEAoRh00PHtBUtnuPCHi2sW51xiK0Lsg5Y19ppsTY sb2M9wU76oolCRCYN0VlLns0fhX65J6Q3A0L6GlXQWOCQmyYatO7mnh2JHA+Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789729166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BTv166gxIFKcwrZG47XOhOFuDSKRYJe1Uizs7FSe2u8=; b=rFGDZlE3fdZ5MKfYRu4i2nNC5Yxv3o/bHs9RAroTp2TUqFoFesovgXYs+StJS0utE+aBpk u9orZHCrpoR7QXTrv++hepJmSdJAEzDYVTSZGrBk0U8U7T8JKg/AGhKe9W+IZH1w61PzLn 8Ubn0hhxWz7dQoUhAN+WK/41cEuIjSaiBP0OJU5fGh3Hu6bN7OLWQsiUZjtExmwAOT/L39 9nWCmjOq8dtBGn6eH/6m1+GUk8llDaecqjaakYxJGTntiuvEYEUhnj+u5PHrpvcly4iTOD 1pQnapkMYylgJ02VDqT8CGtEhfppKiV/Gi3CkBIgUNHopOKTjMvGwgJURXhH/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hmV4Z08zxzGD9 for ; Fri, 18 Sep 2026 10:59:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 26727 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 18 Sep 2026 10:59:26 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Aymeric Wibo Subject: git: 7ff26d59e738 - main - acpi: Invoke power_resume_check eventhandler List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: obiwac X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ff26d59e7386bb92e4384ae8d1f9d2280acf511 Auto-Submitted: auto-generated Date: Fri, 18 Sep 2026 10:59:26 +0000 Message-Id: <6aad198e.26727.11df7f8a@gitrepo.freebsd.org> The branch main has been updated by obiwac: URL: https://cgit.FreeBSD.org/src/commit/?id=7ff26d59e7386bb92e4384ae8d1f9d2280acf511 commit 7ff26d59e7386bb92e4384ae8d1f9d2280acf511 Author: Aymeric Wibo AuthorDate: 2026-09-18 10:48:32 +0000 Commit: Aymeric Wibo CommitDate: 2026-09-18 10:59:13 +0000 acpi: Invoke power_resume_check eventhandler Reviewed by: olce Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59741 --- sys/dev/acpica/acpi.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index e2bc335d98e9..e5f82b00135e 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -3908,8 +3908,11 @@ backout: EVENTHANDLER_INVOKE(power_resume, stype); - if (stype == POWER_STYPE_SUSPEND_TO_IDLE && ACPI_SUCCESS(status)) - check_post_suspend_to_idle(sc->acpi_dev); + if (ACPI_SUCCESS(status)) { + if (stype == POWER_STYPE_SUSPEND_TO_IDLE) + check_post_suspend_to_idle(sc->acpi_dev); + EVENTHANDLER_INVOKE(power_resume_check, stype); + } /* Allow another sleep request after a while. */ callout_schedule(&acpi_sleep_timer, hz * ACPI_MINIMUM_AWAKETIME);