I’m trying to use openPowerlink (GitHub - OpenAutomationTechnologies/openPOWERLINK_V2: Release 2 of the openPOWERLINK protocol stack) on my Xavier NX with ConnectTech’s Quark carrier which has an i210 Intel NIC on it. Unfortunately, the driver for powerlink appears to have difficulties with the SMMU (I’m guessing due to the kernel messages received). I’ve found conflicting advice on how to disable the SMMU (eg pcie smmu issue - #6 by vidyas) but seem to have been unable to as most of the patches found don’t apply cleanly.
Does anyone know what the method to disable the SMMU would be in 32.7.2?
Of course, I should also try to fix the driver, assuming this is in fact my issue. The same driver does work properly on an x86 host.
Thanks for the reply. It appears drivers/iommu/arm-smmu-t19x.c no longer exists (see drivers/iommu - linux-4.9 - Gitiles) - is it now using the generic arm-smmu.c? If so, it would appear that there is the “disable_bypass” option which seems to do the same thing (and more!). Should this flag be used instead?
I’m using the tegra-l4t-r32.7.1 tag for the kernel (jp4.6, I belive) from the 4.9 kernel and drivers/iommu/arm-smmu-t19x.c doesn’t exist there. Am I using the wrong kernel base?