I'm experiencing a delay or hang in powering off my computer after `shutdown -h now' and I've bisected it to this commit in the mainline tree: commit 6d25be5782e482eb93e3de0c94d0a517879377d0 Author: Thomas Gleixner <tglx@linutronix.de> Date: Wed Mar 13 17:55:48 2019 +0100 sched/core, workqueues: Distangle worker accounting from rq lock I'm filing this bug report at the request of Sebastian Andrzej Siewior, with whom I've had an exchange on the kernel mailing list about this issue, which points to ACPI induced polling of the thermal zone causing a buildup of workers, resulting in the hang/delay; see the thread beginning at https://lore.kernel.org/lkml/87bln7ves7.fsf@gmx.net/ for details. A workaround to avoid the power-off delay is to add 'thermal.tzp=300' to the kernal command line on booting.
it is in Rafael' todo list AFAIK.
@Stephen: Can you please add some system information (the machine model, manufacturer etc.) here?
Created attachment 294827 [details] dmidecode output
(In reply to Stephen Berman from comment #3) > Created attachment 294827 [details] > dmidecode output I've already confirmed in https://lore.kernel.org/lkml/87y2gi78sg.fsf@gmx.net/T/#t that the latest patch fixes the bug, but in case it's useful for the bugtracker, I've attached the output of dmidecode with the requested info. Here's the tl;dr: BIOS Information Vendor: American Megatrends Inc. Version: F5 Release Date: 03/14/2019 System Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: Z390 M GAMING Processor Information Socket Designation: U3E1 Type: Central Processor Family: Core i7 Manufacturer: Intel(R) Corporation ID: EA 06 09 00 FF FB EB BF Signature: Type 0, Family 6, Model 158, Stepping 10
The patch is available at https://patchwork.kernel.org/project/linux-acpi/patch/3391226.KRKnzuvfpg@kreacher/