nuttx/drivers
hujun5 498c59450f fix a deadlock
0  up_testset (lock=0x404241c0 <g_uart1priv+32>) at /home/hujun5/下载/vela_sim/nuttx/include/arch/spinlock.h:96
1  spin_lock_wo_note (lock=<optimized out>) at /home/hujun5/下载/vela_sim/nuttx/include/nuttx/spinlock.h:207
2  spin_lock_irqsave_wo_note (lock=0x404241c0 <g_uart1priv+32>) at /home/hujun5/下载/vela_sim/nuttx/include/nuttx/spinlock.h:467
3  spin_lock_irqsave (lock=0x404241c0 <g_uart1priv+32>) at /home/hujun5/下载/vela_sim/nuttx/include/nuttx/spinlock.h:521
4  pl011_txint (dev=0x404240b0 <g_uart1port>, enable=false) at serial/uart_pl011.c:746
5  0x00000000402a3f1c in uart_xmitchars (dev=0x404240b0 <g_uart1port>) at serial/serial_io.c:118
6  0x00000000402a10f8 in pl011_txint (dev=<optimized out>, enable=<optimized out>) at serial/uart_pl011.c:756
7  0x00000000402a2ca0 in uart_write (filep=<optimized out>, buffer=<optimized out>, buflen=0) at serial/serial.c:1493
8  0x000000004028c464 in file_writev_compat (filep=0x4046cda0, uio=<optimized out>) at vfs/fs_write.c:81
9  0x000000004028c588 in file_writev (filep=<optimized out>, uio=uio@entry=0x40470dc0) at vfs/fs_write.c:161
10 0x000000004028c5fc in nx_writev (fd=<optimized out>, iov=iov@entry=0x40470e10, iovcnt=iovcnt@entry=1) at vfs/fs_write.c:257
11 0x000000004028c660 in writev (fd=<optimized out>, iov=iov@entry=0x40470e10, iovcnt=iovcnt@entry=1) at vfs/fs_write.c:356
12 0x000000004028c6dc in write (fd=<optimized out>, buf=buf@entry=0x404090b2 <g_nshgreeting>, nbytes=<optimized out>) at vfs/fs_write.c:421
13 0x00000000402adb10 in nsh_session (pstate=pstate@entry=0x40471080, login=login@entry=1, argc=argc@entry=1, argv=argv@entry=0x4046cf40) at nsh_session.c:108
14 0x00000000402ad94c in nsh_consolemain (argc=argc@entry=1, argv=argv@entry=0x4046cf40) at nsh_consolemain.c:75
15 0x00000000402ad894 in nsh_main (argc=argc@entry=1, argv=argv@entry=0x4046cf40) at nsh_main.c:74
16 0x00000000402a5880 in nxtask_startup (entrypt=0x402ad7fc <nsh_main>, argc=1, argv=0x4046cf40) at sched/task_startup.c:72
17 0x000000004029d444 in nxtask_start () at task/task_start.c:116
18 0x0000000000000000 in ?? ()

fix regresion from https://github.com/apache/nuttx/pull/15301

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-28 11:39:50 +08:00
..
1wire drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
aie drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
analog drivers/adc: Rename up_ads1255initialize to ads1255_initialize 2024-11-16 17:39:27 +01:00
audio wm8776: use small lock in drivers/audio/wm8776.c 2024-12-05 21:22:32 +08:00
bch drivers/bch/bchdev_driver.c: Fix BIOC_FLUSH 2024-12-19 19:22:22 +08:00
can com/can: Remove unnecessary judgment logic 2024-12-03 08:48:18 +08:00
clk drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
contactless drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
coresight drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
crypto crypto/se05x: Allow set_enable_pin to be NULL and fix error handling 2024-11-07 11:37:58 +08:00
devicetree limits/path: replace CONFIG_PATH_MAX to PATH_MAX to ensure consistency 2024-12-10 21:56:57 +08:00
dma drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
dummy drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
eeprom drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
efuse drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
i2c use small lock in following files 2024-12-28 11:39:50 +08:00
i2s drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
i3c arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
input drivers/input/uinput: migrate to ASF license 2024-12-19 15:29:10 +08:00
ioexpander sim/configs/rpserver/rpproxy_virtio: Change the sim 32bit to 64bit compilation 2024-11-15 14:01:11 +08:00
ipcc drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
lcd st7789: add configuration option to set default background color 2024-11-29 18:32:22 +08:00
leds drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
loop drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
math drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
misc drivers/misc: fix rpmsg dev poll assert crash 2024-11-12 14:58:53 +08:00
mmcsd drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
modem drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
motor drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
mtd drivers/mtd/mtd_config_fs: migrate to SPDX identifier 2024-12-19 15:29:10 +08:00
net drivers/net: change netdev_lower_quota_load to macro. 2024-12-05 13:26:22 +08:00
note arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
pci pci: fix pci dev alloc bridge mem error 2024-12-06 21:12:24 +08:00
pinctrl drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pipes Revert "drivers/pipes: return after short write if buffer is full" 2024-11-26 11:08:02 -03:00
power use small lock in following files 2024-12-28 11:39:50 +08:00
rc drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
regmap drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
reset arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
rf drivers/rf: migrate license to ASF 2024-11-06 19:46:13 +08:00
rmt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
rpmsg arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
rptun drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
segger spelling: fix spelling typo premption -> preemption 2024-11-25 22:05:05 +08:00
sensors sensors: fix Make.defs for bmm150 2024-12-16 10:27:21 +08:00
serial fix a deadlock 2024-12-28 11:39:50 +08:00
spi drivers/spi/ice40: migrate to SPDX identifier 2024-12-17 08:37:13 +08:00
syslog drivers/syslog/syslog_channel.c: remove a duplicated comment 2024-11-18 19:10:24 +08:00
thermal drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
timers drivers/timers: export arch timer api to support higher resolution 2024-12-04 10:52:26 +01:00
usbdev drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
usbhost drivers/usbhost/hid_parser: migrate to SPDX identifier 2024-12-19 15:29:10 +08:00
usbmisc driver for STUSB4500 2024-11-30 08:40:08 -03:00
usbmonitor drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
usrsock drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
vhost drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
video video/fb: fix integer overflow issue 2024-12-02 13:30:50 +08:00
virtio virtio: fix compile error 2024-12-06 20:32:21 +08:00
wireless use small lock in following files 2024-12-28 11:39:50 +08:00
.gitignore
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
drivers_initialize.c Fix some minor style issues 2024-11-20 10:51:07 +01:00
Kconfig AI engine driver 2024-10-16 13:57:23 +08:00
Makefile drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00