20c90d5b43
add support for set an IRQ affinity to CPUs by software qemu-armv7a/bmp: switch uart irq to different CPUs nsh> ps PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND 0 0 0 FIFO Kthread - Ready 0000000000000000 004080 000536 13.1% CPU0 IDLE 1 1 192 RR Kthread - Waiting Semaphore 0000000000000000 004032 000296 7.3% hpwork 0x4013f51c 0x4013f530 2 2 100 RR Task - Running 0000000000000000 004056 001168 28.7% nsh_main nsh> irqaff 33 0x2 nsh> ps PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND 0 0 0 FIFO Kthread - Ready 0000000000000000 004080 000736 18.0% CPU1 IDLE 1 1 192 RR Kthread - Waiting Semaphore 0000000000000000 004032 000296 7.3% hpwork 0x4013f544 0x4013f558 2 2 100 RR Task - Running 0000000000000000 004056 001288 31.7% nsh_main nsh> irqaff 33 0x4 nsh> ps PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND 0 0 0 FIFO Kthread - Ready 0000000000000000 004080 000736 18.0% CPU2 IDLE 1 1 192 RR Kthread - Waiting Semaphore 0000000000000000 004032 000296 7.3% hpwork 0x4013f56c 0x4013f580 2 2 100 RR Task - Running 0000000000000000 004056 001168 28.7% nsh_main nsh> irqaff 33 0x8 nsh> ps PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND 0 0 0 FIFO Kthread - Ready 0000000000000000 004080 000736 18.0% CPU3 IDLE 1 1 192 RR Kthread - Waiting Semaphore 0000000000000000 004032 000296 7.3% hpwork 0x4013f594 0x4013f5a8 2 2 100 RR Task - Running 0000000000000000 004056 001168 28.7% nsh_main Signed-off-by: chao an <anchao@lixiang.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Make.defs | ||
Makefile | ||
nsh_alias.c | ||
nsh_altconsole.c | ||
nsh_builtin.c | ||
nsh_codeccmd.c | ||
nsh_command.c | ||
nsh_console.c | ||
nsh_console.h | ||
nsh_consolemain.c | ||
nsh_dbgcmds.c | ||
nsh_ddcmd.c | ||
nsh_envcmds.c | ||
nsh_fileapps.c | ||
nsh_fscmds.c | ||
nsh_fsutils.c | ||
nsh_init.c | ||
nsh_login.c | ||
nsh_mmcmds.c | ||
nsh_mntcmds.c | ||
nsh_modcmds.c | ||
nsh_netcmds.c | ||
nsh_parse.c | ||
nsh_passwdcmds.c | ||
nsh_printf.c | ||
nsh_proccmds.c | ||
nsh_prompt.c | ||
nsh_routecmds.c | ||
nsh_script.c | ||
nsh_session.c | ||
nsh_syscmds.c | ||
nsh_system.c | ||
nsh_telnetd.c | ||
nsh_telnetlogin.c | ||
nsh_test.c | ||
nsh_timcmds.c | ||
nsh_usbconsole.c | ||
nsh_usbtrace.c | ||
nsh_vars.c | ||
nsh.h | ||
rc.sysinit.template | ||
rcS.template |