Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796316075; b=iSbT7MJ5Ye9gZ7EA6nCFpn/QCaA99buhA4v2J/K2XJ9s2TX4Fl4svx7FtIiw1xDnUvLb 4HDvkGP+egfWQsoSVvaWQ31aPtU+qtr/oc8LnXsugwzgxLOQ9Ul1/BTaTQNYBQjD8WouX mGLCWe7P8FksVQl3ltu02zSKr7BxZrqMBNU4Ip7Wzv7puqwTHJMfkM4job9oztEaIPEnN 4IJndH2tkmPD61So8WTo9eWjQalX97F5rdjPhV8xSSWrAKR+MaUwABhvUUUOW1EnQ2+UZ N5U41Sjm1dP16IK1NiJ36pgeu/i4DCY6rJ/vIthxoqrv7rNgLNhpZ8Ai+ZK8xvfVF5A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796316075; h=Received:DKIM-Signature:Received:From:Date:MIME-Version:Content-Type: Content-Transfer-Encoding:To:Message-ID:Subject:X-Bugzilla-Product: X-Bugzilla-Component:X-Mailer; bh=Lrof7ek6KBPJaPwOCUS8q5tqVdSoueJFwX9rCtKI+Cw=; b=5EJlDDn8vB/KQ8bRIRyd066aulw8AD8yGnaYAbSTyAfZaHICiEjBPXhTcNEpwtD8qb/b 5E4VvydGmUjbtUcBkyQuv4ncGWWWtCVRwx2GuuTMMNlRku8B9BXNYD45YlmgA6E4ONxh2 kb4YQpfkPwbdq1ADYBgEpM4JDKc5pRmnG7iwdpJA1pyY1V+l4AZfHpj9RtsU9Ju2l7aWk S8EgXTOWZQ6utj1ZQytSqSaJ3jINbgHwU3MyzcafDi8YeHXlqAM1XdphMg7t0dvvtazJ0 tzBc5lhKSGPWtErfCjaxCL1NC7ubEn53hoFvcCUP9N5YoAJ/uzJ1lVRMVcP/CPmsG/w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VCasZuVz; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55D44606A32D for ; Thu, 3 Dec 2026 16:41:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VCasZuVz Received: by smtp.kernel.org (Postfix) with ESMTPSA id E03981F00893 for ; Thu, 3 Dec 2026 16:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796316074; bh=Lrof7ek6KBPJaPwOCUS8q5tqVdSoueJFwX9rCtKI+Cw=; h=From:Date:To:Subject; b=VCasZuVzmd8pyCSQc0ooWQQru8uRrl+HI63ZLS3ly2COKBO3FwDGB8UBNtbESWgNt WMZL2ew51HSyKzEXcnaEkAymGPc5UW2J3k6ZlcJ0Z1zfn8oXcOqXR94d+ZX3I7+iLU TSzxe/0KVxjnp3VwQujFXm8Ypbmyg9bN35Yt6qkr0zAOz7gH82AZM+0el2kpC2MxO3 5s8BXLWw97CpK8I2Bnlr1DVklW/Loq18zSFo9wQUaDx02TuGKnw6QThQIXGBwVs9DB /QoLZijrLmP2guT2738tfJ2zHUrR0W44iMoo7UDyVx7lYqXgXLRgWatYCodqNXmeqi QRriMTMERychA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D3E983805D97 for ; Thu, 3 Dec 2026 16:41:14 +0000 (UTC) From: errorjoy via Bugspray Bot Date: Thu, 03 Dec 2026 16:41:11 +0000 X-Mailing-List: linux-gpio@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="utf-8" Content-Transfer-Encoding: 7bit To: linux-gpio@vger.kernel.org Message-ID: <20261203-b221836c0-f8113dd7005e@bugzilla.kernel.org> Subject: Hibernation aborted by IRQ 9 from ACPI/pinctrl_amd on AMD ThinkPad X-Bugzilla-Product: Drivers X-Bugzilla-Component: GPIO/Pin Control X-Mailer: bugspray 0.1-dev errorjoy added an attachment on Kernel.org Bugzilla: Created attachment 310577 Hibernation aborts during CPU offlining because IRQ 9 becomes pending. The wake IRQ is handled by acpi,pinctrl_amd. Reproduces on Linux 7.1.5 and 6.18.41-lts on an AMD ThinkPad. Hibernation consistently aborts during entry on an AMD-based Lenovo ThinkPad running Arch Linux. The swap partition, resume kernel parameter, and initramfs resume hook are configured correctly. The kernel successfully allocates the hibernation image and freezes all devices, but aborts while disabling non-boot CPUs because IRQ 9 becomes pending. Relevant kernel messages: PM: freeze of devices complete PM: late freeze of devices complete PM: noirq freeze of devices complete ACPI: PM: Preparing to enter system sleep state S4 PM: Triggering wakeup from IRQ 9 ACPI: PM: Saving platform NVS memory Wakeup pending. Abort CPU freeze ACPI: PM: Waking up from system sleep state S4 /sys/power/pm_wakeup_irq reports: 9 IRQ 9 is: 9: IR-IO-APIC 9-fasteoi acpi, pinctrl_amd Hardware: Manufacturer: LENOVO Model: 20UJS0ET00 BIOS version: R1CET85W (1.54) BIOS release date: 03/25/2026 CPU/GPU platform: AMD Distribution: Arch Linux Boot method: UEFI with GRUB Root filesystem: ext4 RAM: 16 GiB Swap: 24 GiB dedicated swap partition Tested kernels: 7.1.5-arch1-2 6.18.41-1-lts The issue reproduces on both kernels. System firmware is fully updated according to fwupdmgr. Hibernation configuration: Kernel command line contains: resume=UUID=45c4bcf6-cf9b-4391-98ea-8bb6dc4d736f Active swap: /dev/nvme0n1p6 partition 24G mkinitcpio hooks contain: block resume filesystems Reproduction steps: 1. Boot either the Arch linux or linux-lts kernel. 2. Run: sudo systemctl hibernate 3. The system begins hibernation and returns to the running session after several seconds. Power-management test results: devices: passes platform: passes processors: fails The processors test reports: PM: Triggering wakeup from IRQ 9 Wakeup pending. Abort CPU freeze Troubleshooting already performed: - Verified swap UUID and active swap partition - Added resume=UUID=... to the kernel command line - Added the mkinitcpio resume hook - Regenerated initramfs and GRUB configuration - Tested platform and shutdown hibernation modes - Disabled available ACPI PCI wake sources - Disabled wakeup for serio0 - Disconnected external USB devices - Tested both regular and LTS kernels - Confirmed firmware is fully updated - Verified all device freeze callbacks return successfully Expected result: The system saves the hibernation image to swap and powers off. Actual result: The hibernation transition is aborted because IRQ 9 becomes pending immediately before CPU offlining. Full logs and system information are attached in hibernate-bug.tar.gz. File: hibernate-bug.tar.gz (application/gzip) Size: 22.36 KiB Link: https://bugzilla.kernel.org/attachment.cgi?id=310577 --- Hibernation aborts during CPU offlining because IRQ 9 becomes pending. The wake IRQ is handled by acpi,pinctrl_amd. Reproduces on Linux 7.1.5 and 6.18.41-lts on an AMD ThinkPad. You can reply to this message to join the discussion. -- Deet-doot-dot, I am a bot. Kernel.org Bugzilla (bugspray 0.1-dev)