Linux / windows build iommu question

Hello guys
I’m looking to build a ryzen system with the asrock x370 sli/ac
And I want to be able to use gpu pass through
using the Gen3 nvme for Linux and gen2 nvme for for windows

I wonder if the mobo will support that?
Thanks
I’ll use a RX 580 for Linux and a gtx 1080 for windows
thanks!