How to disable imx8mq's low power mode?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to disable imx8mq's low power mode?

472 次查看
hello-world123
Contributor II

Hello, I'm john, Currently doing work to reduce PCIe MSI interrupt latency.

When doing above things, I found out strange things that after executing my user-space application which use threads, PCIe MSI interrupt latency became shortened.

By result of 'vmstat' and 'cat /proc/interrupts', we found that after executing, arch_timer's interrupt increased tremendously which this timer's role is deliver interrupts to GIC.

So, we assume like the following.

1. After executing application, the number of context switching will be large.

2. Due to increment of context switching, low-power mode will become disable.

3. Because of disabling low-power mode, arch_timer will do their work without idle.

4. without idle, arch_timer's tick will increase normally which means delivering interrupts to SPI will work without idle.

5. PCIe MSI interrupt will arrive without latency.

I disabled 'arm,no-tick-in-suspend' on timer property in devicetree but same result.

I want to know above scenario is right and if right, I want to know how to disable low-power mode in imx8mq.

Thanks.

0 项奖励
回复
1 回复

397 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @hello-world123 

I hope you are doing well.
 
-> If the number of context switching will be large. then the context switching will consume more power.

   Then, the low-power mode will be enabled due to the increment of context switching.

So, It won't get disabled.

Thanks & Regards.

Sanket Parekh

0 项奖励
回复