Re: [PATCH v3 2/3] Kconfig: Add dependencies of POWER_RESET for x86

From: Yuan Tan
Date: Thu Sep 14 2023 - 21:23:37 EST



On 9/15/2023 12:09 AM, Dave Hansen wrote:
On 9/14/23 03:36, Yuan Tan wrote:
x86 and x86_64's power off depends on ACPI and PCI to work. Enable them
when POWER_RESET is set for convenience.
I'm a bit confused by this.

Which code is this referring to, exactly? Are you saying that no x86
system can power off or reset unless it supports ACPI or PCI?

Yes, after testing on qemu-system-x86_64 and qemu-system-i386, I found that x86 can only power off when it enable ACPI and PCI.

I wanted to test nolibc based on tinyconfig and found it hard to find the dependence to enable poweroff.