Low performance on Linux when turning on SMMU with Stage 2 address translation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Low performance on Linux when turning on SMMU with Stage 2 address translation

209 Views
jimipietrucci
Contributor I

Hi all,

I'm using i.MX8QM-MEK platform. 

On the platform, Yocto Linux with SMMU off is working as expected.

When I turn on SMMU at EL2 level of privilege for supporting only Stage 2 translation, either the cores or the devices that do memory accesses (R/W) are experiencing lack of performance, resulting in a quite slow boot phase (2x slower). Turning it off at runtime results in better performance. 

What can be the cause?

Is there a clock frequency for improving performance on the SMMU?

0 Kudos
Reply
1 Reply

173 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Are you using the linux BSP? since linux BSP work with EL1, so you have to make the build and change the kernel for booting with EL2, or you can use hypervisor.

Regards

0 Kudos
Reply