Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for PCIe switches when booted with ACPI #52

Open
mariobalanica opened this issue Jul 26, 2023 · 2 comments
Open

No support for PCIe switches when booted with ACPI #52

mariobalanica opened this issue Jul 26, 2023 · 2 comments
Labels
devinfo/acpi ACPI-related request status/fix-partial Issue fixed partially type/bug Something isn't working

Comments

@mariobalanica
Copy link
Collaborator

Need to investigate and see what workarounds are available in each OS.

At quick glance, Linux does have custom ECAM accessors for Synquacer and Armada. Can this bind to ACPI somehow?

Windows overall support is still a big question mark due to other unknown issues, but it is actually possible to expose both the root port and full config space via separate MCFG entries on the same segment, with "NXPMX6" set as OEMID for FADT. The only drawback seems to be that this forces BAR space allocations to happen in the 32-bit MMIO window, which is much smaller.

@mariobalanica
Copy link
Collaborator Author

Another thing to consider is the Arm DEN0115A spec which describes implementing config space accessors exposed through SMC (so that's ATF territory).

Linux had refused supporting this, but I've heard it's supported in ESXi and some BSD variants.

@mariobalanica mariobalanica added type/bug Something isn't working devinfo/acpi ACPI-related request labels Jul 28, 2023
@mariobalanica
Copy link
Collaborator Author

For Windows and Linux: 4b915e6

There's the PCI SMC left to be implemented in TF-A for BSDs and ESXi.

@mariobalanica mariobalanica added the status/fix-partial Issue fixed partially label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devinfo/acpi ACPI-related request status/fix-partial Issue fixed partially type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant