https://github.com/hackintosh-stuff/AMDIOMMU
An experimental kext that gives macOS a real IOMapper on AMD platforms, so that I can use ConnectX-4 Lx NIC on my X570 motherboard. Mostly vibe coding.
To be able to attach to drivers that wants IOMapper support, there are two ways:
It only attaches to Mellanox ConnectX-4 Lx and Realtek RTL812x series by default. Support for other PCIe devices or motherboards other than X570 is unknown.
To attach to devices with specific hardware id, you can either:
An experimental kext that gives macOS a real IOMapper on AMD platforms, so that I can use ConnectX-4 Lx NIC on my X570 motherboard. Mostly vibe coding.
To be able to attach to drivers that wants IOMapper support, there are two ways:
- Install AMDMapperProbe.kext and append
amdiommu=auto-attachto boot args. Works with drivers that only call IOMapper::copyMapperForDevice() to receive the mapper. - Install Lilu.kext, AMDMapperHook.kext, AMDMapperProbe.kext and append
amdiommu=passiveto boot args. Works with drivers that start DMA before it asks for a mapper.
It only attaches to Mellanox ConnectX-4 Lx and Realtek RTL812x series by default. Support for other PCIe devices or motherboards other than X570 is unknown.
To attach to devices with specific hardware id, you can either:
- Add boot args like
amdiommu_devices=n2200,n2201(id is in decimals) - Append ids to kext's Info.plist (key
AMDMapperProbeDevices).
Attachments
Last edited by a moderator:
