stm32mp1 spi transaction slow down main application
Hi All
I have disabled the second core to validate one of old product, which runs on single core,
and same application cpu usage i have seen is 90-95 %
and same application runs and does the same spi transaction, i am seeing the cpu usage is 57%
all constraint are same except the core
following is the top of stm32mp1
top - 04:18:53 up 37 min, 1 user, load average: 1.70, 1.65, 1.51
Tasks: 107 total, 4 running, 103 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4.5 us, 93.4 sy, 0.0 ni, 1.5 id, 0.3 wa, 0.0 hi, 0.3 si, 0.0 st
9 root 20 0 0 0 0 S 2.3 0.0 0:05.56 ksoftirqd/0
78 root 20 0 0 0 0 I 1.6 0.0 0:03.88 kworker/0:2-pm
768 root 20 0 4556 1544 1204 R 1.0 0.2 0:01.27 top
612 root 20 0 113608 6668 4068 R 57.6 0.7 21:52.52 pxl
78 root 20 0 0 0 0 I 16.8 0.0 1:44.42 kworker/0:2-pm
63 root 20 0 0 0 0 S 8.2 0.0 2:43.77 spi1
62 root -51 0 0 0 0 S 7.4 0.0 2:30.84 irq/30-44005000
9137 root 20 0 0 0 0 I 2.4 0.0 0:01.96 kworker/0:0-pm
10 root 20 0 0 0 0 R 0.6 0.0 0:10.91 rcu_preempt
768 root 20 0 4556 1544 1204 R 0.6 0.2 0:18.68 top
9 root 20 0 0 0 0 R 0.3 0.0 0:10.92 ksoftirqd/0
what am observing , is that the SPI irq is running with very high priority -51, which makes our APP(pxl) deviates from cpu usage from 90 to 57,
is there any solution, to get pxl use cpu 90-95%
