Page MenuHomeFreeBSD

pci_host_generic_acpi: use IORT data for MSI/MSI-X
ClosedPublic

Authored by jchandra on Nov 16 2018, 6:05 AM.

Details

Summary

Use the information from IORT parsing to translate the PCI RID to GIC ITS device ID. And similarly, use the information to find the PIC XREF identifier to be used for PCI devices.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sys/dev/pci/pci_host_generic_acpi.c
360 ↗(On Diff #50476)

This should check the return status.

I think this needs to be rebased too

Will rebase and submit a new rev addressing the comment.

sys/dev/pci/pci_host_generic_acpi.c
360 ↗(On Diff #50476)

pcib_get_id is not likely to fail when type is PCI_ID_RID - so I didn't think it was needed.

Anyway, I will fix it up.

This revision is now accepted and ready to land.Feb 6 2019, 10:12 AM
This revision was automatically updated to reflect the committed changes.