From: Lukas Wunner <lukas@wunner.de>
To: Krittikun Wongnin <krittikunwongnin@gmail.com>
Cc: linux-pci@vger.kernel.org, bhelgaas@google.com,
"Rafael J. Wysocki" <rafael@kernel.org>,
linux-acpi@vger.kernel.org
Subject: Re: [RESEND] PCI: NVIDIA GeForce MX230 (10de:1d11) falls off the bus right after "Enabling HDA controller" quirk on Acer Aspire A515-53G
Date: Sun, 11 Oct 2026 17:27:20 +0200 [thread overview]
Message-ID: <asuq2JLh5ExyJP1I@wunner.de> (raw)
In-Reply-To: <CADS-TgDakQUvB8Sy3zpGrYMiv_pGEaQ_m9KcsmTSD+4XqJEo5Q@mail.gmail.com>
[cc += Rafael, linux-acpi; start o thread is here:
https://lore.kernel.org/r/CADS-TgDQ1G8vrTQLJeQ3RTBVFTyMe0C+5p2=UBKS=EFCDFuaxw@mail.gmail.com/
]
On Sun, Oct 11, 2026 at 06:10:59PM +0700, Krittikun Wongnin wrote:
> I then looked at what else runs in that window. Right after the ACPI
> bus scan, acpi_scan_init() calls acpi_turn_off_unused_power_resources().
> The root port above the GPU has two power resources:
>
> \_SB_.PCI0.RP05.PC01 resource_in_use=1
> \_SB_.PCI0.RP05.PCRP resource_in_use=0
>
> and the firmware's second definitions of RP05._PR0/_PR2/_PR3/_S0W fail
> to load with AE_ALREADY_EXISTS (see my first mail). My guess is that
> those failed objects are what reference PCRP, so the kernel thinks it
> is unused and turns it off, cutting power to the dGPU. This looks very
> similar to the existing THUNDEROBOT ZERO entry in
> dmi_leave_unused_power_resources_on.
>
> Adding this machine to that DMI table fixes it. The GPU stays on the
> bus, the HDA quirk runs normally, and the nvidia driver works
> (nvidia-smi shows the MX230 with 2048 MiB):
[...]
> --- a/drivers/acpi/power.c
> +++ b/drivers/acpi/power.c
> @@ -1048,6 +1048,17 @@
> }
>
> },
> + {
> + /*
> + * Acer Aspire A515-53G: duplicate RP05 _PR0/_PR3 in firmware
> + * leaves power resource 'PCRP' unreferenced, so it is shut
> + * down on initialization and the NVIDIA dGPU falls off the bus.
> + */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "Aspire A515-53G"),
> + },
> + },
> {}
> };
The whitespace got mangled in the patch, but otherwise it looks
sane to me. Please go ahead and submit it to the ACPI subsystem.
You may want to double-check with e.g. powertop or an external
powermeter that the power resource is still disabled when the
dGPU is not in use as otherwise you'd see dramatically worse
battery life.
Thanks,
Lukas
parent reply other threads:[~2026-10-11 15:27 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CADS-TgDakQUvB8Sy3zpGrYMiv_pGEaQ_m9KcsmTSD+4XqJEo5Q@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=asuq2JLh5ExyJP1I@wunner.de \
--to=lukas@wunner.de \
--cc=bhelgaas@google.com \
--cc=krittikunwongnin@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox