HomeFreeBSD

amd-vi: set iommu msi configuration using pci_enable_msi method

Description

amd-vi: set iommu msi configuration using pci_enable_msi method

This is better than directly changing PCI configuration space of the
device because it makes the PCI bus aware of the configuration.
Also, the change allows to drop a bunch of code that duplicated
pci_enable_msi() functionality.

I wonder if it's possible to further simplify the code by using
pci_alloc_msi().

Details

Provenance
avgAuthored on
Parents
rS326538: vmm/amd: add ivhd device with a higher order
Branches
Unknown
Tags
Unknown