diff options
| author | Marek Maslanka <[email protected]> | 2024-10-12 18:26:55 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2024-10-21 14:04:00 +0000 |
| commit | 5fa607880168d991bdc819f493a11155e935abe6 (patch) | |
| tree | 9887500c52b32f18734c5e892cf65ac23e4b2333 /rust/helpers/blk.c | |
| parent | platform/x86: x86-android-tablets: Fix use after free on platform_device_regi... (diff) | |
| download | kernel-5fa607880168d991bdc819f493a11155e935abe6.tar.gz kernel-5fa607880168d991bdc819f493a11155e935abe6.zip | |
platform/x86:intel/pmc: Revert "Enable the ACPI PM Timer to be turned off when suspended"
Commit e86c8186d03a ("platform/x86:intel/pmc: Enable the ACPI PM Timer to
be turned off when suspended") can cause the suspend process to hang as
the pmcdev->lock in the pmc_core_acpi_pm_timer_suspend_resume might already
be held by the pmc_core_mphy_pg_show or pmc_core_pll_show if the userspace
gets frozen when these functions are being executed.
Also, pmc_core_acpi_pm_timer_suspend_resume must not sleep, as this
function is called indirectly by the tick_freeze function in
kernel/time/tick-common.c, which holds the spinlock.
Revert the changes for now to fix these issues.
Fixes: e86c8186d03a ("platform/x86:intel/pmc: Enable the ACPI PM Timer to be turned off when suspended")
Reported-by: Luca Coelho <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Marek Maslanka <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'rust/helpers/blk.c')
0 files changed, 0 insertions, 0 deletions
