Skip to content

Ensure Safe Access to PCIe ECAM Space in BSA Tests via ACPI _STA Method Validation #420

@quic-akshsaxn

Description

@quic-akshsaxn

During the execution of the BSA test suite, we observed that the test attempts to access the ECAM (Enhanced Configuration Access Mechanism) space of a PCIe instance whose ECAM is OFF. This results in a failure of the test due to the inaccessibility of the configuration space.
To address this issue, we recommend invoking the _STA (Status) method associated with the corresponding ACPI node prior to accessing the ECAM space. This method provides the operational status of the host bridge device, thereby allowing the test to verify whether the device is enabled and accessible before proceeding with any configuration space access attempts.

_STA: This object returns the current status of a device, which can be one of the following: enabled, disabled, or removed.
Reference: https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/06_Device_Configuration/Device_Configuration.html#sta-device-status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions