Skip to content

PCI: Using Method instead of Name for _BBN, _SEG seems to cause infinite loop #292

@martin-hughes

Description

@martin-hughes

This affects read/write from PCI_Config regions.

To see what I mean, make the following changes to test_region_in_pci_device in tests/operation_region.rs:

-        Name (_SEG, 4)
+        Method (_SEG, 0, NotSerialized) {
+           Return (4)
+        }

The test goes from passing almost instantly, to looping seemingly forever.

I assume the context is getting messed up somewhere, but I haven't figured it out yet.

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