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=1795623875; b=r/yKm2Dk2QHRgPdgOffQmXnia1OiVW9Roe3ovqFk1NIFo+CgOuvytYzrfLa8hQp3iBxg f2UD9SXtaoUeXsv0aq8yaIsTQF82z4zfybvu/R8867jMza9nmmeo4KVP0BW84/Le6qXV9 550kH0Rp8f2a6N0mRsnEbzop3hsBoVKWmLYofZ9iB2WYnqskXaeozrSHQ01vau5PLLoeN s2uEtlgn51vO1xi9YG9kRFuXplmMv3xLTadM06Td9WBGk4/k5624ZWWnIzKMHEVcrZSwn OzPN/5DhtgTqtqgqsH+rXcyIwYvhoM8h52Bu3+RV0TO2QrdN8YMnoD1twn85iQpup7Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795623875; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=kkCh1t6laxPHhpHX2WIMFbZ6xXCzotlafQu+yAz2SNg=; b=KcSDBw9tUCffT6hKMs08DJfQjNkQrPKV3r89Y/zenqPHGV0RB7h8ryoBxFVj5UseEcdF zi6Vtc3WdDp2GqWtY6y6IBvEkm3aK22WftqU45gWMPiGi5OmXMeudDp30e/eFbTL4014F orXk/Ld8Ulj958h5/v+7ux4SVIlwz4397pE/wVMG1cpsDINQpIs0e/bTET0GivE7PwL0C MuI1TK8/ID9kW1DjNX4vuyRAbwCFiM1EKi912XO46wqqUCmI92SuR5YbHcPrAFsLStASy VpiapR2ArhMTdIAKP3L0p7k2C2ji5TZLA/XLmqFJlk1QFzqTeuYSipLRFZq2wt7blXw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=0d3jzcFr; 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 342E4606A31E; Wed, 25 Nov 2026 16:24:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=0d3jzcFr Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BEDB1F000C4; Wed, 25 Nov 2026 16:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795623875; bh=kkCh1t6laxPHhpHX2WIMFbZ6xXCzotlafQu+yAz2SNg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=0d3jzcFrg2no+a01qDwO1g95US3EnHi9AzrBKdlZLH9e6fJLQhNgmjpf6dP4u+s1J y/u7Eb4W3cIImihSDI8cry1LPtXN8cQd9So+NNV2rOKRT7KmjkW3FjcucUWGvH9oxq vE2L/0PVWze7xn2VS78hgjt4DkWp5FyzPeVlQ+js= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Krittikun Wongnin , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 6.12 013/816] ACPI: PM: Add Acer Aspire A515-53G to dmi_leave_unused_power_resources_on[] Date: Wed, 25 Nov 2026 15:26:01 +0100 Message-ID: <20261125143849.523686458@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125143849.205329330@linuxfoundation.org> References: <20261125143849.205329330@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Krittikun Wongnin [ Upstream commit 8eb2754ef96d77d870d6b1ef1e0e8470c892b6b4 ] On the Acer Aspire A515-53G (Whiskey Lake + NVIDIA GeForce MX230), the dGPU behind root port RP05 (00:1c.4) falls off the bus during boot and is unusable until the next power cycle: nvidia 0000:02:00.0: Unable to change power state from D3cold to D0, device inaccessible NVRM: The NVIDIA GPU 0000:02:00.0 ... has fallen off the bus The firmware ships two SSDTs which both provide power management for the dGPU: - One SSDT defines \_SB.PCI0.RP05.PC01 together with RP05._PR0/_PR2/_PR3 = { PC01 }. - A second SSDT defines \_SB.PCI0.RP05.PCRP (_STA initially One, _OFF calls \_SB.PCI0.HGOF, which puts the link into L2/L3 and drops the dGPU power enable GPIO) and its own RP05._PR0/_PR2/_PR3/_S0W. The latter fail to load: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.RP05._PR0], AE_ALREADY_EXISTS As a result PCRP is not referenced by any device and acpi_turn_off_unused_power_resources() turns it off right after the ACPI namespace scan. This cuts power to the dGPU, but PC01 still believes it is on, so its _ON method is a no-op when the PCI core later tries to bring the GPU back to D0. Windows does not turn off unused power resources, so the dGPU works there. Add the machine to dmi_leave_unused_power_resources_on[], like the THUNDEROBOT ZERO which has a similar SSDT bug. With this change the dGPU stays on the bus and the nvidia driver binds. Runtime PM of the dGPU is unaffected, as it is handled through PC01: with no driver bound and power/control set to auto, RP05 reaches D3cold and the GPU comes back to D0 on resume. Link: https://lore.kernel.org/r/CADS-TgDQ1G8vrTQLJeQ3RTBVFTyMe0C+5p2=UBKS=EFCDFuaxw@mail.gmail.com/ Signed-off-by: Krittikun Wongnin [ rjw: Subject and changelog tweaks ] Link: https://patch.msgid.link/20261013074245.4327-1-krittikunwongnin@gmail.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 aaa07997fdf31..d2c3ec958e4aa 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c @@ -1073,6 +1073,19 @@ static const struct dmi_system_id dmi_leave_unused_power_resources_on[] = { DMI_MATCH(DMI_BOARD_NAME, "NLCC 001"), }, }, + { + /* + * Acer Aspire A515-53G: Two SSDTs both define power resources + * for the dGPU root port RP05 ('PC01' and 'PCRP'). Only PC01 ends + * up in RP05's _PR0/_PR3, so 'PCRP' is shut down on + * initialization, cutting power to the NVIDIA dGPU behind the + * back of 'PC01' and making the dGPU unavailable. + */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Aspire A515-53G"), + }, + }, {} }; -- 2.53.0