freebsd-dev/sys/dev/ahci
Ruslan Bukin c489ab6141 Add IOMMU_BUSWIDE ahci quirk.
Some controllers use PCI function 1 as the requester ID for DMA transfers,
but the controllers are not PCI multifunction.

Set the iommu buswide flag for them. This should instruct an IOMMU driver
to use the same translation rule for all the devices and functions of
a bus.

This was discovered on the ARM Neoverse N1 System Development Platform
(ARM N1SDP).

Bug reference: https://bugzilla.kernel.org/show_bug.cgi?id=42679

Reported by:	andrew
Reviewed by:	kib, mav
Sponsored by:	Innovate DSbD
Differential Revision:	https://reviews.freebsd.org/D26857
2020-10-19 21:27:27 +00:00
..
ahci_fsl_fdt.c Introduce a driver for NXP LS1046A SoC AHCI. 2020-05-25 16:00:08 +00:00
ahci_generic.c ahci_generic: add quirk for NXP0004 (NXP Layerscape LX2160A) 2020-09-30 17:10:49 +00:00
ahci_mv_fdt.c Fix kernel modules names for Marvell armv7 2018-04-03 23:49:35 +00:00
ahci_pci.c Add IOMMU_BUSWIDE ahci quirk. 2020-10-19 21:27:27 +00:00
ahci.c ahci: clean up empty lines in .c and .h files 2020-09-01 21:36:40 +00:00
ahci.h Add IOMMU_BUSWIDE ahci quirk. 2020-10-19 21:27:27 +00:00
ahciem.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00