Miouyouyou / Mainline-Rockchip-VPU

WIP.
0 stars 0 forks source link

IOMMU issues #2

Closed Miouyouyou closed 6 years ago

Miouyouyou commented 6 years ago

It seems that the new IOMMU code has some issues with the VPU devices :

[12753.996950] rk_iommu ff9c0440.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[12754.007483] rk_iommu ff9c0440.iommu: Disable stall request timed out, status: 0xffffffff                                                                                                                                              
[12754.016540] rk_iommu ff9c0440.iommu: Disable stall request timed out, status: 0xffffffff                                                                                                                                              
[12754.026652] rk_iommu ff9c0440.iommu: Disable paging request timed out, status: 0xffffffff                                                                                                                                             
[12754.035803] rk_iommu ff9c0440.iommu: Disable paging request timed out, status: 0xffffffff                                                                                                                                             
[12754.045975] rk_iommu ff9c0440.iommu: Disable stall request timed out, status: 0xffffffff                                                                                                                                              
[12754.055025] rk_iommu ff9c0440.iommu: Disable stall request timed out, status: 0xffffffff

Hmm... Are the MMU addresses set up correctly ?

Looking at the source code of the Rockchip IOMMU driver, I'm pretty sure it's doing its job correctly.

Miouyouyou commented 6 years ago

Adding the right power-domains to the MMU seems to remove the warnings... Does it work better ? I still have no idea but we'll test that tomorrow.

Miouyouyou commented 6 years ago

For the moment, the IOMMU seems to act correctly.