https://bugzilla.kernel.org/show_bug.cgi?id=220249

            Bug ID: 220249
           Summary: ACPI load tables failed when CONFIG_PCI is disabled
           Product: ACPI
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ACPICA-Core
          Assignee: acpi_acpica-c...@kernel-bugs.osdl.org
          Reporter: jingyule...@gmail.com
        Regression: No

Created attachment 308292
  --> https://bugzilla.kernel.org/attachment.cgi?id=308292&action=edit
Linux kernel ACPI boot log

Bug Description:
When CONFIG_PCI is disabled, acpi_ev_install_space_handler() fails for PCI
configuration space (space_id = 2/ACPI_ADR_SPACE_PCI_CONFIG)

Detailed Observation:
As shown in the attached screenshot, acpi_ev_install_space_handler() returns an
error when handling space_id 2 (ACPI_ADR_SPACE_PCI_CONFIG) with CONFIG_PCI=n.

Root Cause Analysis:
The ACPI_PCI_CONFIGURED macro controls access to the PCI configuration space.
Historical commit records confirm that this functionality explicitly depends on
CONFIG_PCI being enabled in the kernel configuration.

Expected Behavior:
The system should either:

1. Handle this case gracefully when CONFIG_PCI is disabled, or

2. Provide clear compile-time checks/runtime warnings about the dependency

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to