masayuki2009 opened a new pull request #2042: URL: https://github.com/apache/incubator-nuttx/pull/2042
## Summary - This PR fixes interrupt stack handling for ARM SMP - This PR consists of following 4 commits - commit 1: arch: imx6: Fix style warnings in chip.h - commit 2: arch: arm: Fix interrupt stack handlings for SMP - Modify arm_intstack_base() to return "top" of the IRQ stack for the current CPU - This change fixes IRQ stack dump information for ARM SMP - Add arm_intstack_alloc() to return "bottom" of the IRQ stack for the current CPU - Also, these functions are now implemented in xxx_irq.c (imx/cxd56/lc823450) - up_color_intstack() and up_check_intstack() now call arm_intstack_alloc() - These semantics are now consistent with non-SMP case - up_color_intstack() now initializes whole IRQ stack region for SMP - Adjust IRQ stack top address for each CPU (e.g. -8) - Fix setintstack to handle in case of NCPUS=1 (cxd56, lc823450) - Adjust INTSTACK_SIZE to 8 bytes alignment (cxd56, lc823450) - Refactor setintstack for lc823450 - Remove old IRQ stack coloring code from up_irqinitialize() (lc823450) - Introduce g_cpu_intstack_top for lc823450 - Refactor header files - commit 3: boards: lc823450-xgevk: Update rndis/defconfig - commit 4: boards: sabre-6quad: Update smp/defconfig ## Impact - Affects imx6/cxd56xx/lc823450 SMP with interrupt stack enabled ## Testing - Tested with sabre-6quad:smp (with QEMU, NCPUS=1 and 4) - Tested with spresense:wifi_smp (NCPUS=1 and 2) - Tested with lc823450-xgevk:rndis (NCPUS=1 and 2) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org