> Edgar has done all of the SMMU work for Xilinx, he knows it the best. > I'll let him comment on it. > > For anyone interested you can see our implementation at: > https://github.com/Xilinx/qemu/blob/master/hw/misc/arm-smmu.c. It does > use the register API that we have been trying to upstream. > Hi, I took a quick look at the code, The Xilinx implements mmu-500 which is a SMMU- v2. I am not very familiar with V2, however, the architecture and internal workings are different between v2 and v3. hence there are 2 different drivers in Linux for V2 and V3, and the code I posted is for SMMU-v3.
Cheers, /Prem