This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Touchscreen settings

Part Number: AM5728

Tool/software: Linux

Hi everyone,

I  am asking this is because I am having UDP drop problem when touch screen is touched. I have increased the UDP buffer size to maximum (this solved the packet drop problem except for when the touch screen is used, in another word, there is no packet drop unless the touch screen is touched), so I think it has to be the touch screen issue.

I feel like when the touch screen is used, the system kind of ignore the current task(UDP socket reading), and jump right to the touch screen event. Is there any way to lower its priority or just let it wait for others process?

Or any other idea is welcome.

Thank you.

  • Hi,

    The software team have been notified. They will respond here.
  • Hello Xiang,

    Is this also happen on the latest Processor SDK? How do you measure the packet loss?

    Best regards,
    Kemal

  • Hi Kemal,

    I was having compiling issue on the latest PDK 3.2.0.5. So I went back to 3.1.0.6. but don't think it matters.

    I use iperf, 

    Server: iperf -s -u 31680

    Client: iperf -u -c 10.1.7.57 -f M -b 120000000 -l 31680

    And also my own testing application. They both shows similar issue.

    I can increase the speed from 120mbps to up to 500mbps, the server receives all if I don't use the touch screen at all. 

    However, if I try to touch the touch screen during the test, it shows one or two drop. It feels like it will drop 1 packet when I first touch it after not touching it for a few second. If I continuously touch/press/move/multi-touch after the first touching, it only shows 1 drop. But if I touch it, then wait for a few second, touch again, it will likely show a second drop. It also tend to drop more if I touch different area of the touch screen, instead of press/release the same spot. 

    My guess is that, when the touch screen is not used for certain amount of time, it goes into some kind of sleep mode. It wakes up after being touched, and the wake up process event/interrupt prevent the UDP process from reading the current packet.

    Is there any way to change a setting such that the touch screen never goes to "sleep"? 

    Or other suggestion?

    Another question regarding the iperf. People are saying iperf is old, and suggest to use iperf3. How to install iperf3 onto the EVM?

    Thank you

    Peter

     

  • Can you use ftrace irqsoff and preemptoff to see how long the touch screen driver spends in scheduler.
    To install the iperf3 going trough these steps and typing $ MACHINE=am335x-evm bitbake iperf3 in the last step, should do the trick.

  • Hi Kemal,

    I don't see "tracing" under "/sys/kernel/debug", Am I doing it wrong?

    root@am57xx-evm:~# mount -t debugfs nodev /sys/kernel/debug
    mount: nodev is already mounted or /sys/kernel/debug busy
    root@am57xx-evm:~# cd /sys/kernel/debug
    root@am57xx-evm:/sys/kernel/debug# ls
    48890000.usb fault_around_bytes omap_mux regulator
    488d0000.usb gpio omapdss remoteproc
    asoc hid opp sched_features
    bdi iio pinctrl sleep_time
    bluetooth memblock pm_debug suspend_stats
    clk mmc0 pm_qos ubi
    dma_buf mmc1 pwm ubifs
    dri mmc2 ras usb
    extfrag omap_iommu regmap wakeup_sources
    root@am57xx-evm:/sys/kernel/debug#

    I also try to the following to make sure tracer is enabled.

    CONFIG_FUNCTION_TRACER=y
    CONFIG_FUNCTION_GRAPH_TRACER=y
    CONFIG_STACK_TRACER=y
    CONFIG_DYNAMIC_FTRACE=y

    but after doing so, I still don't see them =y in the config file, only 

    CONFIG_HAVE_FUNCTION_TRACER=y
    CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
    CONFIG_HAVE_DYNAMIC_FTRACE=y
    CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y

    ,which only mean the system supports them.

    Any idea?

    Regards,

    Peter

  • Please, enable these configs in the menuconfig:
    Kernel hacking ---> [*] Tracers ---> [*] Interrupts-off Latency Tracer
                                                                      [*] Preemption-off Latency Tracer

  • I have issue enabling the tracer. 

    Another thread was created here 

    I will continue this thread after resolving the tracer issue.

  • I have issue enabling the tracer.

    Another thread was created here

    I will continue this thread after resolving the tracer issue.
  • Basically, the recompiled kernel failed to boot properly as we discussed on other two threads. e2e.ti.com/.../2109649

    Could you (TI) please provide the compiled and ready-to-go image with all function that I need to debug touchscreen issue that I mentioned on the top of this thread? It should include "Tracers" enabled and other modules. My platform is AM5728 EVM without camera module.

    Thank you.

  • Kemal R. Shakir said:

    Can you use ftrace irqsoff and preemptoff to see how long the touch screen driver spends in scheduler.
    To install the iperf3 going trough these steps and typing $ MACHINE=am335x-evm bitbake iperf3 in the last step, should do the trick.

    I am able to

    echo irqsoff > /sys/kernel/debug/tracing/current_tracer

    then

    cat /sys/kernel/debug/tracing//trace

    and see a bunch of irq (i guess?) with time stamps.

    But what exactly I am looking for?  How do I know how long the touch screen driver spends in scheduler?

    Thank you.

  • Can you attach the logs of trace and cat /proc/interrupts before and after the test while the irqsoff  is enabled and while the preemptoff is enabled?

  • First I notice that UDP packets drop significantly after enabling irqsoff preemptoff, which I guess is expected.

    Here is what I did:

    1) echo irqsoff >  /sys/kernel/debug/tracing/current_tracer

        echo preemptoff >  /sys/kernel/debug/tracing/current_tracer

    2) cat /proc/interrupts > /home/root/interrupts_before.txt

    3) Launch my UDP receiver application on the board, and UDP transmitter app on my host, start transmitting.

    4) cat trace > /home/root/trace.txt

    5) Use the touch screen for a few seconds, ctrl+c to end the logging.

    6) cat /proc/interrupts > /home/root/interrupts_after.txt

    Here are those files. Hope they help

    interrupts_after.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:      94353     104757       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:         13          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:       1079          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:         59          0      CBAR  25 Level     48055000.gpio
     75:         59          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          0          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       2857          0      CBAR  69 Level     48020000.serial
    313:         29          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         37          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         12          0      CBAR 108 Level     omap_dmm_irq_handler
    336:       4819          0      CBAR  16 Level     SGX ISR
    338:       6336          0      CBAR  51 Level     48070000.i2c
    339:         31          0      CBAR  56 Level     48060000.i2c
    340:       2246          0      CBAR  55 Level     4807c000.i2c
    341:      15954          0      CBAR  78 Level     mmc0
    342:       1451          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        218          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:      97718          0      CBAR 335 Level     48484000.ethernet
    356:     110349          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:      82769          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    472:          0          0      CBAR   2 Edge      mcp7941x
    473:          0          0   pinctrl 1060 Edge      2-006f
    474:       1124          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       9556      30460  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        334        478  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    interrupts_before.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:      80695      82361       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:         13          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:       1055          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:         27          0      CBAR  25 Level     48055000.gpio
     75:         27          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          0          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       2752          0      CBAR  69 Level     48020000.serial
    313:         29          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         37          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         12          0      CBAR 108 Level     omap_dmm_irq_handler
    336:       4704          0      CBAR  16 Level     SGX ISR
    338:       6097          0      CBAR  51 Level     48070000.i2c
    339:         31          0      CBAR  56 Level     48060000.i2c
    340:       1047          0      CBAR  55 Level     4807c000.i2c
    341:      15881          0      CBAR  78 Level     mmc0
    342:       1451          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        218          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:      96244          0      CBAR 335 Level     48484000.ethernet
    356:     103943          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:      78408          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    472:          0          0      CBAR   2 Edge      mcp7941x
    473:          0          0   pinctrl 1060 Edge      2-006f
    474:       1124          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       8881      28135  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        331        478  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    trace.txt

  • Can you also attach the logs from this sequence.

    1) echo irqsoff > /sys/kernel/debug/tracing/current_tracer
    2) cat /proc/interrupts > /home/root/interrupts_irqsoff_before.txt
    3) Launch your UDP receiver application on the board and also touch on the screen simultaneously.
    4) cat /proc/interrupts > /home/root/interrupts_irqsoff_after.txt
    5) echo preemptoff > /sys/kernel/debug/tracing/current_tracer
    6) cat /proc/interrupts > /home/root/interrupts_preemptoff_before.txt
    7) Launch your UDP receiver application on the board and also touch on the screen simultaneously.
    8) cat /proc/interrupts > /home/root/interrupts_preemptoff_after.txt
  • Here are the files. I kept my app running while doing 4) and 8).

    interrupts_preemptoff_before.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:      72050      66971       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:          5          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        640          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:          8          0      CBAR  25 Level     48055000.gpio
     75:          8          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          0          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       2968          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         12          0      CBAR 108 Level     omap_dmm_irq_handler
    336:      10364          0      CBAR  16 Level     SGX ISR
    338:       4938          0      CBAR  51 Level     48070000.i2c
    339:         30          0      CBAR  56 Level     48060000.i2c
    340:        294          0      CBAR  55 Level     4807c000.i2c
    341:      14928          0      CBAR  78 Level     mmc0
    342:       1511          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        218          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:       1602          0      CBAR 335 Level     48484000.ethernet
    356:       7903          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:      54256          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:       3033          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       9856      26446  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        506        390  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    interrupts_preemptoff_after.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:      86382      81395       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:          7          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        641          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:         18          0      CBAR  25 Level     48055000.gpio
     75:         18          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          0          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       3194          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         12          0      CBAR 108 Level     omap_dmm_irq_handler
    336:      10697          0      CBAR  16 Level     SGX ISR
    338:       5241          0      CBAR  51 Level     48070000.i2c
    339:         30          0      CBAR  56 Level     48060000.i2c
    340:        679          0      CBAR  55 Level     4807c000.i2c
    341:      14955          0      CBAR  78 Level     mmc0
    342:       1511          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        218          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:       2484          0      CBAR 335 Level     48484000.ethernet
    356:      11997          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:      57758          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:       3058          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:      10140      28294  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        508        390  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    interrupts_irqsoff_after.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:      21139      18347       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:          3          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        638          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:          8          0      CBAR  25 Level     48055000.gpio
     75:          8          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          0          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       2504          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         12          0      CBAR 108 Level     omap_dmm_irq_handler
    336:       4407          0      CBAR  16 Level     SGX ISR
    338:       1671          0      CBAR  51 Level     48070000.i2c
    339:         30          0      CBAR  56 Level     48060000.i2c
    340:        294          0      CBAR  55 Level     4807c000.i2c
    341:      14766          0      CBAR  78 Level     mmc0
    342:       1511          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        218          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:       1156          0      CBAR 335 Level     48484000.ethernet
    356:       6549          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:      18336          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:        958          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       6379      14784  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        502        369  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    interrupts_irqsoff_before.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:       7558       4084       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:          2          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        637          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:          1          0      CBAR  25 Level     48055000.gpio
     75:          1          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          0          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       2258          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         12          0      CBAR 108 Level     omap_dmm_irq_handler
    336:       4152          0      CBAR  16 Level     SGX ISR
    338:       1478          0      CBAR  51 Level     48070000.i2c
    339:         30          0      CBAR  56 Level     48060000.i2c
    340:         39          0      CBAR  55 Level     4807c000.i2c
    341:      14310          0      CBAR  78 Level     mmc0
    342:       1511          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        218          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:        200          0      CBAR 335 Level     48484000.ethernet
    356:         55          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:      15200          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:        816          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       5941      13160  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        499        367  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
     

  • Sorry, I have forgotten to require the trace log. Can you also attach the cat trace > /home/root/trace_irqsoff.txt and cat trace > /home/root/trace_preemptoff.txt after step 4) and 8). If you re-get all logs with this two logs included will be great. Sorry about that.
  • No problem. 

    Since I slowed down the UDP transmitting speed, I didn't see the packet drop in this test. I thought if I send it to fast, it will be too hard for you to find the issue.

    trace_irqsoff.txttrace_preemptoff.txt

    3252.interrupts_irqsoff_after.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:     386955     455513       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:         15          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        609          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:        328          0      CBAR  25 Level     48055000.gpio
     75:        324          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          4          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       3094          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         14          0      CBAR 108 Level     omap_dmm_irq_handler
    336:      23953          0      CBAR  16 Level     SGX ISR
    338:      13030          0      CBAR  51 Level     48070000.i2c
    339:         64          0      CBAR  56 Level     48060000.i2c
    340:      25115          0      CBAR  55 Level     4807c000.i2c
    341:      19212          0      CBAR  78 Level     mmc0
    342:       1378          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        439          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:    4522156          0      CBAR 335 Level     48484000.ethernet
    356:    5427670          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:     121940          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:       5953          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:      15868     391096  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        467        632  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    6866.interrupts_preemptoff_after.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:     416901     499647       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:         15          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        613          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:        351          0      CBAR  25 Level     48055000.gpio
     75:        347          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          4          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       3966          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         14          0      CBAR 108 Level     omap_dmm_irq_handler
    336:      24943          0      CBAR  16 Level     SGX ISR
    338:      15221          0      CBAR  51 Level     48070000.i2c
    339:         64          0      CBAR  56 Level     48060000.i2c
    340:      26369          0      CBAR  55 Level     4807c000.i2c
    341:      19317          0      CBAR  78 Level     mmc0
    342:       1378          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        439          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:    4525628          0      CBAR 335 Level     48484000.ethernet
    356:    5450228          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:     131102          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:       5953          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:      16447     396216  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        468        635  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    5327.interrupts_irqsoff_before.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:     366932     433793       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:         15          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        607          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:        319          0      CBAR  25 Level     48055000.gpio
     75:        315          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          4          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       2607          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         14          0      CBAR 108 Level     omap_dmm_irq_handler
    336:      23745          0      CBAR  16 Level     SGX ISR
    338:      12137          0      CBAR  51 Level     48070000.i2c
    339:         64          0      CBAR  56 Level     48060000.i2c
    340:      24805          0      CBAR  55 Level     4807c000.i2c
    341:      19168          0      CBAR  78 Level     mmc0
    342:       1378          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        439          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:    4520734          0      CBAR 335 Level     48484000.ethernet
    356:    5418193          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:     116977          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:       5951          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:      15504     388635  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        467        630  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    
    8032.interrupts_preemptoff_before.txt
               CPU0       CPU1       
     16:          0          0      CBAR  32 Level     gp_timer
     19:     405752     487635       GIC  27 Edge      arch_timer
     22:          0          0      CBAR   4 Level     l3-dbg-irq
     23:          0          0     WUGEN  10 Level     l3-app-irq
     25:          7          0      CBAR 232 Level     dra7xx-pcie-main
     26:          0          0      CBAR 233 Level     dra7-pcie-msi
     27:         15          0      CBAR 121 Level     talert
     29:         57          0      CBAR   8 Level     omap-dma-engine
     32:        612          0      CBAR 361 Level     43300000.edma_ccint
     34:          0          0      CBAR 359 Level     43300000.edma_ccerrint
     37:          0          0      CBAR  24 Level     4ae10000.gpio
     38:          0          0  4ae10000.gpio   0 Level     palmas
     70:        334          0      CBAR  25 Level     48055000.gpio
     75:        330          0  48055000.gpio   4 Edge      pixcir_tangoc
     91:          0          0  48055000.gpio  20 Edge      Home
     94:          4          0  48055000.gpio  23 Edge      Up
     95:          0          0  48055000.gpio  24 Edge      Right
     96:          0          0  48055000.gpio  25 Edge      Down
     99:          0          0  48055000.gpio  28 Edge      Left
    103:          0          0      CBAR  26 Level     48057000.gpio
    136:          0          0      CBAR  27 Level     48059000.gpio
    158:          0          0  48059000.gpio  21 Edge      palmas_usb_vbus
    169:          0          0      CBAR  28 Level     4805b000.gpio
    202:          0          0      CBAR  29 Level     4805d000.gpio
    230:          0          0  4805d000.gpio  27 Edge      4809c000.mmc cd
    235:          0          0      CBAR  30 Level     48051000.gpio
    268:          0          0      CBAR 116 Level     48053000.gpio
    301:       3704          0      CBAR  69 Level     48020000.serial
    313:         31          0      CBAR 251 Level     mbox_ipu1_ipc3x, mbox_dsp1_ipc3x
    317:         41          0      CBAR 255 Level     mbox_ipu2_ipc3x, mbox_dsp2_ipc3x
    321:          0          0      CBAR  35 Level     rproc-wdt
    326:          0          0      CBAR  40 Level     rproc-wdt
    335:         14          0      CBAR 108 Level     omap_dmm_irq_handler
    336:      24504          0      CBAR  16 Level     SGX ISR
    338:      14621          0      CBAR  51 Level     48070000.i2c
    339:         64          0      CBAR  56 Level     48060000.i2c
    340:      25711          0      CBAR  55 Level     4807c000.i2c
    341:      19303          0      CBAR  78 Level     mmc0
    342:       1378          0      CBAR  81 Level     mmc1
    343:         13          0      CBAR  89 Level     mmc2
    344:          0          0      CBAR  23 Level     40d01000.mmu
    345:          0          0      CBAR 145 Level     40d02000.mmu
    346:          0          0      CBAR 395 Level     58882000.mmu
    347:          0          0      CBAR 396 Level     55082000.mmu
    348:        439          0      CBAR  49 Level     4a140000.sata
    349:          0          0      CBAR 217 Level     rtc2
    350:          5          0      CBAR  72 Level     dwc3-omap
    351:          2          0      CBAR  87 Level     dwc3-omap
    352:          0          0      CBAR 151 Level     48468000.mcasp_tx
    353:          0          0      CBAR 150 Level     48468000.mcasp_rx
    355:    4524738          0      CBAR 335 Level     48484000.ethernet
    356:    5443957          0      CBAR 336 Level     48484000.ethernet
    358:          0          0      CBAR 354 Level     vpe
    362:         20          0      CBAR  46 Level     4b101000.sham
    363:          0          0      CBAR  47 Level     48090000.rng
    364:          0          0      CBAR 146 Level     41501000.mmu
    365:          0          0      CBAR 147 Level     41502000.mmu
    366:          0          0      CBAR 352 Level     vip2-s0
    367:          0          0      CBAR 393 Level     vip2-s1
    370:     128456          0      CBAR  20 Level     OMAP DISPC
    371:          3          0      CBAR  96 Level     OMAP HDMI
    436:          0          0    palmas   8 Edge      48070000.i2c:tps659038@58:tps659038_rtc
    438:          0          0   PCI-MSI   0 Edge      PCIe PME, aerdrv
    470:          0          0   pinctrl 1016 Edge      48020000.serial
    471:          0          0      CBAR   2 Edge      mcp7941x
    472:          0          0   pinctrl 1060 Edge      2-006f
    474:       5953          0      CBAR  71 Level     xhci-hcd:usb1
    492:          1          0  4b220000.intc  16 Edge      remoteproc4
    494:          1          0  4b220000.intc  18 Edge      remoteproc5
    496:          1          0  4b2a0000.intc  16 Edge      remoteproc6
    498:          1          0  4b2a0000.intc  18 Edge      remoteproc7
    IPI0:          0          1  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:      16173     394360  Rescheduling interrupts
    IPI3:          0          0  Function call interrupts
    IPI4:        467        634  Single function call interrupts
    IPI5:          0          0  CPU stop interrupts
    IPI6:          0          0  IRQ work interrupts
    IPI7:          0          0  completion interrupts
    Err:          0
    

  • I wonder how it is going there?

    I have tried some workarounds, does seem to work. How to lower the interrupt priority so that the touch screen won't interfere with other processes?
  • I see these additional 2us delays on the trace_preemptoff.txt log and seems that the irq/75 is causing these package drops. Here in this thread you can find information about changing the interrupt priority.

  • I wasn't able to change the priority based on the link you provided. Some function is different, and I don't know which one should I change in my case. Please provide more detailed and platform specified description. Thank you.