Skip to content

Commit 7bb9178

Browse files
bczhcSasha Levin
authored andcommitted
ACPI: PM: Add unused power resource quirk for THUNDEROBOT ZERO
[ Upstream commit cd7ef20ba8c6e936dba133b4136537a8ada22976 ] On the THUNDEROBOT ZERO laptop, the second NVMe slot and the discrete NVIDIA GPU are both controlled by power-resource PXP. Due to the SSDT table bug (lack of reference), PXP will be shut dow as an "unused" power resource during initialization, making the NVMe slot #2 + NVIDIA both inaccessible. This issue was introduced by commit a1224f3 ("ACPI: PM: Check states of power resources during initialization"). Here are test results on the three consecutive commits: (bad again!) a1224f3 ACPI: PM: Check states of power resources during initialization (good) bc28368 ACPI: PM: Do not turn off power resources in unknown state (bad) 519d819 Linux 5.15-rc6 On commit bc28368 ("ACPI: PM: Do not turn off power resources in unknown state") this was not an issue because the power resource state left UNKNOWN thus being ignored. See also commit 9b04d99 ("ACPI: PM: Do not turn of unused power resources on the Toshiba Click Mini") which is another almost identical case to this one. Fixes: a1224f3 ("ACPI: PM: Check states of power resources during initialization") Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221087 Signed-off-by: Zhai Can <bczhc0@126.com> Link: https://patch.msgid.link/20260214161452.2849346-1-bczhc0@126.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d389943 commit 7bb9178

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

drivers/acpi/power.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,19 @@ static const struct dmi_system_id dmi_leave_unused_power_resources_on[] = {
10351035
DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE Click Mini L9W-B"),
10361036
},
10371037
},
1038+
{
1039+
/*
1040+
* THUNDEROBOT ZERO laptop: Due to its SSDT table bug, power
1041+
* resource 'PXP' will be shut down on initialization, making
1042+
* the NVMe #2 and the NVIDIA dGPU both unavailable (they're
1043+
* both controlled by 'PXP').
1044+
*/
1045+
.matches = {
1046+
DMI_MATCH(DMI_SYS_VENDOR, "THUNDEROBOT"),
1047+
DMI_MATCH(DMI_PRODUCT_NAME, "ZERO"),
1048+
}
1049+
1050+
},
10381051
{}
10391052
};
10401053

0 commit comments

Comments
 (0)