arch/ceva: cannot be selected, has no board, and tests the removed CONFIG_DISABLE_SIGNALS
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- embedded-iot
Research direction
Start by checking arch/Kconfig, arch/ceva/Kconfig, and the listed signal guards in arch/ceva; compare them with other architectures’ CONFIG_ENABLE_ALL_SIGNALS guards. The issue offers two possible resolutions: make the port selectable and buildable by adding a board, or remove it. First determine whether the port is still in use; done means the selected path is resolved, including the stale signal configuration references if the port remains.
Written by the indexing model from the issue text.
Description
Description
arch/ceva (added in ee916bdb91c, 2022-01) cannot be built in the tree:
arch/Kconfighas noARCH_CEVAoption and does not sourcearch/ceva/Kconfig(which starts withif ARCH_CEVA). So no configuration can select the architecture.- No board under
boards/uses it, and no CI test list builds it.
The code is also out of date. 13 lines in 9 files test CONFIG_DISABLE_SIGNALS, which NuttX removed in 7.30 ("Signals can no longer be disabled"):
arch/ceva/include/xc5/irq.h:131,arch/ceva/include/xm6/irq.h:134arch/ceva/src/common/ceva_schedulesigaction.c:38,:149arch/ceva/src/common/ceva_sigdeliver.c:37,:98arch/ceva/src/common/ceva_signal_dispatch.c:33arch/ceva/src/common/ceva_svcall.c:281,:322arch/ceva/src/common/ceva_userspace.c:217arch/ceva/src/xc5/xc5_signal_handler.S:32,arch/ceva/src/xm6/xm6_signal_handler.S:32
The other architectures guard the same code with CONFIG_ENABLE_ALL_SIGNALS (0ea686bc5b3, partial signal support). With CONFIG_ENABLE_PARTIAL_SIGNALS or CONFIG_DISABLE_ALL_SIGNALS, ceva_userspace.c:218 and ceva_svcall.c:295 use userspace_s.signal_handler, which include/nuttx/userspace.h then does not declare.
Nobody can build or test a change to these files in the tree. Two ways forward:
- If the port is still in use: add
ARCH_CEVAtoarch/Kconfigand a board, then change the signal guards toCONFIG_ENABLE_ALL_SIGNALS. - If not: remove
arch/ceva.
Verification
- I have verified before submitting the report.
- Dominant language
- C
- Stars
- 4.1k
- Forks
- 1.8k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 833
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/nuttx
-
Arch: all Arch: arm Area: Build system OS: Linux Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/nuttx#19435 · 9 comments ·
Maintainers usually reply within 1 day
-
Arch: all OS: Linux Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apache/nuttx#16249 · 7 comments ·
Maintainers usually reply within 1 day
-
Arch: all Area: Networking OS: Linux
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Type: Enhancement
Difficulty 4/5 3-5 days Newbie friendliness 22/100
apache/nuttx#21581 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
SPIDevice selects an active-high device as soon as it is createdPossibly taken @mikeysklar claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
adafruit/circuitpython#11869 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
gnif/LookingGlass#1352 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kovidgoyal/kitty#10862 ·
Maintainers usually reply within 1 day