AsRock B360M pro4 supports IOMMU?

enable vtd or VM extensions (terminology varies from vendor to vendor) in uefi.

and then add the flags to kernel params

we have a wiki for passthrough related articles