From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61A4536C9CE for ; Sat, 28 Feb 2026 18:10:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772302249; cv=none; b=oaLTc7hV91cKPQ8mQzhZFoFLuxfsXYI3Q2ZJkvGVk7NQRLHdJpE0qclqTLbJ+o1HWZUxmHeBBMAneVzq0WLTWbBdZneqn6lW0BQ8z4jAIEQqA3WpeAYNG5J0lMESw7k7884wK79Alj4TdSZFtb2sbZ8mPahhcKL1n8YcId9FnG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772302249; c=relaxed/simple; bh=0eUO4yL3RN1SAa3yHkMnfieKLsulvgQ1lrTO5z78cMw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CUyVJ/pjKaBfa09LL9C3glvrSK3iBJ1SrdrR5VYO4ob6dCDh2VUt34f2Vz0BTC10TuYNgkrRVSU/tv24Gvqeg8LQbu4y0oqBR4nrsg7pzFrfF9Q+T1zj7SoV/8VJoFt0p7K7SMgbvv5VW2lV0Cr8/AYY/4bkB3ZeZgeyxMZQxhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=taBo+qVB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="taBo+qVB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1385C19423; Sat, 28 Feb 2026 18:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772302249; bh=0eUO4yL3RN1SAa3yHkMnfieKLsulvgQ1lrTO5z78cMw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=taBo+qVBpurnoscTkMoPW9ssFg+30ScJB/WLrnq9Gmj0iCpjtodIMBQ0da8d5WQcU lzy7hh3HQiAIrKWGhBQNfehES+RdWa9s6cG7BgRksJkb0AQo/RW6fbl2E3123amO4E K0k7LX/nEFIO4/WezRij3J8Gord2DYv5UwuoB2jsOX7O1SkstF72n7q1A9cPfEK6lD 1PB9u5Olv1XLR+qSFE7tVXyyxUf5nx/nZxfpF1WoGYi3w8p5kCzF1ahjhh+TwfP5UP 0CQ2hTy3GxdllOt9rIfidPJVBx1JlmAKY+gNzHQdg+jEnl1MiFCBtA/36dltF2Ec/1 DOn91sqTc2gxQ== From: Sasha Levin To: patches@lists.linux.dev Cc: Zhai Can , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 6.6 262/283] ACPI: PM: Add unused power resource quirk for THUNDEROBOT ZERO Date: Sat, 28 Feb 2026 13:06:44 -0500 Message-ID: <20260228180709.1583486-262-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260228180709.1583486-1-sashal@kernel.org> References: <20260228180709.1583486-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Zhai Can [ 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 a1224f34d72a ("ACPI: PM: Check states of power resources during initialization"). Here are test results on the three consecutive commits: (bad again!) a1224f34d72a ACPI: PM: Check states of power resources during initialization (good) bc2836859643 ACPI: PM: Do not turn off power resources in unknown state (bad) 519d81956ee2 Linux 5.15-rc6 On commit bc2836859643 ("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 9b04d99788cf ("ACPI: PM: Do not turn of unused power resources on the Toshiba Click Mini") which is another almost identical case to this one. Fixes: a1224f34d72a ("ACPI: PM: Check states of power resources during initialization") Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221087 Signed-off-by: Zhai Can Link: https://patch.msgid.link/20260214161452.2849346-1-bczhc0@126.com Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/power.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index c2c70139c4f1d..ff5fcd541e50f 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c @@ -1035,6 +1035,19 @@ static const struct dmi_system_id dmi_leave_unused_power_resources_on[] = { DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE Click Mini L9W-B"), }, }, + { + /* + * THUNDEROBOT ZERO laptop: Due to its SSDT table bug, power + * resource 'PXP' will be shut down on initialization, making + * the NVMe #2 and the NVIDIA dGPU both unavailable (they're + * both controlled by 'PXP'). + */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "THUNDEROBOT"), + DMI_MATCH(DMI_PRODUCT_NAME, "ZERO"), + } + + }, {} }; -- 2.51.0