-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{bp-sim/arch} sim: fix sim smp boot regression #14066
Conversation
Summary The original implement for exception handler is very simple and haven't framework for breakpoint/watchpoint routine or brk instruction. I refine the fatal handler and add framework for debug handler to register or unregister. this is a prepare for watchpoint/breakpoint implement Signed-off-by: qinwei1 <[email protected]>
Summary Add a macro to obtain current execute level Signed-off-by: qinwei1 <[email protected]>
Signed-off-by: ligd <[email protected]>
Signed-off-by: ligd <[email protected]>
Signed-off-by: lipengfei28 <[email protected]>
As the handling of sp_el0 was moved from the context switch routine to exception entry/exit, we must set sp_el0 explicitly when the user process is first started.
…ow regs area move initial RSP for AP cores below regs area. otherwise IDLE thread for AP cores can be corrupted XCP region now match regs allocation in up_initial_state() Signed-off-by: p-szafonimateusz <[email protected]>
…to stack base not stack top stack_alloc should point to stack base not stack top Signed-off-by: p-szafonimateusz <[email protected]>
…l handler stack for vector operations signal handler stack must be properly aligned, otherwise vector instructions doesn't work in signal handler Signed-off-by: p-szafonimateusz <[email protected]>
Signed-off-by: buxiasen <[email protected]>
Signed-off-by: hujun5 <[email protected]>
Signed-off-by: hujun5 <[email protected]>
Signed-off-by: hujun5 <[email protected]>
Also move MSI IRQ definition to place where other IRQ definitions are. Signed-off-by: p-szafonimateusz <[email protected]>
1.nxsem_post wake up nxsched_smp_call; 2.stack smp_call_data_s may return; 3.nxsched_smp_call_handler access call_data->lock is not safety; so adjust the unlock order Signed-off-by: dulibo1 <[email protected]>
Signed-off-by: xuxingliang <[email protected]>
reason: nxsched_smp_call_handler need these parameters Signed-off-by: hujun5 <[email protected]>
colorize IDLE stack for AP cores in x86_64 Signed-off-by: p-szafonimateusz <[email protected]>
reason: In x86_64, g_current_regs is still used for context switching. This commit fixes the regression from apache#13616 Signed-off-by: hujun5 <[email protected]>
Signed-off-by: hujun5 <[email protected]>
reason: To remove the "sync pause" and decouple the critical section from the dependency on enabling interrupts, after that we need to further implement "schedlock + spinlock". changelist 1 Modify the implementation of critical sections to no longer involve enabling interrupts or handling synchronous pause events. 2 GIC_SMP_CPUCALL attach to pause handler to remove arch interface up_cpu_paused_restore up_cpu_paused_save 3 Completely remove up_cpu_pause, up_cpu_resume, up_cpu_paused, and up_cpu_pausereq 4 change up_cpu_pause_async to up_send_cpu_sgi Signed-off-by: hujun5 <[email protected]>
Signed-off-by: hujun5 <[email protected]>
This commit fixes the regression from apache#13716 Signed-off-by: hujun5 <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
reason: In the kernel, we are planning to remove all occurrences of up_cpu_pause as one of the steps to simplify the implementation of critical sections. The goal is to enable spin_lock_irqsave to encapsulate critical sections, thereby facilitating the replacement of critical sections(big lock) with smaller spin_lock_irqsave(small lock) Configuring NuttX and compile: $ ./tools/configure.sh -l qemu-armv8a:nsh_smp $ make Running with qemu $ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx Signed-off-by: hujun5 <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: Xu Xingliang <[email protected]>
1. extract dump from assert main flow 2. use OSINIT_PANIC for fatal error. 3. fix the method to judge kernel thread. Signed-off-by: xuxingliang <[email protected]>
Signed-off-by: xuxingliang <[email protected]>
Signed-off-by: wangmingrong1 <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Summary
backported patches
#13609
#13695
#13810
#13768
#13808
#13737
#13766
#13811
#13749
#13863
#13933
#13735
#13739
#13908
Impact
RELEASE
Testing
CI