HomeFreeBSD

iommu_get_requester(): do not panic if asked about non-pci device

Description

iommu_get_requester(): do not panic if asked about non-pci device

For now, return zero rid and the device itself. Add a comment noting
that eventually ACPI HID can be used to calculate rid for some more
devices.

Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Oct 13 2024, 10:04 AM
Parents
rG26ff9d2050a1: iommu.h: improve header self-sufficiency
Branches
Unknown
Tags
Unknown