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 件の賞賛
返信