Skip to content

boards/qemu-intel64: add citest configuration - #20030

Open
raiden00pl wants to merge 2 commits into
apache:masterfrom
raiden00pl:nuttx-qemu-pr
Open

boards/qemu-intel64: add citest configuration#20030
raiden00pl wants to merge 2 commits into
apache:masterfrom
raiden00pl:nuttx-qemu-pr

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

Summary

CI/NTFC testing config for intel64

Impact

CI tests for intel64

Testing

CI

xiaoxiang781216
xiaoxiang781216 previously approved these changes Sep 1, 2026
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Size: M The size of the change in this PR is medium Board: x86_64 labels Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

xiaoxiang781216
xiaoxiang781216 previously approved these changes Sep 2, 2026
@raiden00pl

Copy link
Copy Markdown
Member Author

CI container uses old QEMU version that doens't support x2APIC, so we need this PR to run it #20044

CI/NTFC testing config for intel64

Signed-off-by: raiden00pl <raiden00@railab.me>
xiaoxiang781216
xiaoxiang781216 previously approved these changes Sep 2, 2026
intel64_oneshot_start() takes g_oneshot_spin and then, if the timer is
already running, calls intel64_oneshot_cancel(), which takes the same
spinlock again.  Spinlocks are not recursive, so the CPU spins forever
on its own lock while holding the critical section; the HPET timer ISR
on another CPU then blocks on g_cpu_irqlock and the system hangs.

This is hit as soon as the tickless scheduler re-arms a running HPET
oneshot timer under SMP (ostest task_restart, LTP aio tests).

Stop the running timer inline instead of calling cancel: disable the
interrupt, detach the ISR so up_enable_irq() does not assert on a busy
IRQ, and clear the running flag.  The ISR, comparator and interrupt
enable are reprogrammed by the rest of the function anyway.

Assisted-by: Claude Code
Signed-off-by: raiden00pl <raiden00@railab.me>
@github-actions github-actions Bot added the Arch: x86_64 Issues related to the x86_64 architecture label Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: x86_64 Issues related to the x86_64 architecture Area: Documentation Improvements or additions to documentation Board: x86_64 Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants