nuttx/arch
Eero Nurkkala 95163f504c risc-v/mpfs: usb: fix fierce cpu polling if remote closes
If the remote end just closes an endpoint and no longer handles it,
the system is prone to intensive cpu polling via mpfs_write_tx_fifo()
especially if the device side doesn't know a thing about what the
remote did.

Fix this by marking the EP as dead, which will skip all writes causing
unnecessary polling. The EP is back in business if the remote end
sends some data (rx) or the connection is re-established.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
Signed-off-by: Ville Juven <ville.juven@unikie.com>
2025-04-01 20:49:43 +08:00
..
arm arch/arm/src/samv7: enable GPIO clock even if interrupt not enabled 2025-03-29 10:33:25 +08:00
arm64 arch/arm64: Increase the timer accuracy with the lower USEC_PER_TICK. 2025-03-26 19:26:37 +08:00
avr Revert "Use small lock to protect usbdev and endpoint in AVR." 2025-02-13 14:15:43 +08:00
ceva arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
dummy
hc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
mips Revert "Use small lock to protect usbdev and endpoint in arch mips" 2025-02-13 14:15:43 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k nuttx/compiler: fix build warning on GCC14 2025-02-18 09:04:54 -05:00
renesas Revert "Use small lock to protect usbdev and endpoint in arch renesas." 2025-02-13 14:15:43 +08:00
risc-v risc-v/mpfs: usb: fix fierce cpu polling if remote closes 2025-04-01 20:49:43 +08:00
sim Revert "Use small lock to protect usbdev and endpoint in sim." 2025-02-13 14:15:43 +08:00
sparc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
tricore [nxstyle] fix Relative files path 2025-02-21 15:36:05 +01:00
x86 x86/Toolchain.defs: Add LLVM target definitions 2025-01-27 02:28:29 +08:00
x86_64 arch/x86_64: Implement TSC frequency query via CPUID 0x40000010 2025-03-15 13:35:16 +01:00
xtensa arch/xtensa/src/common/espressif: Add wlan config option 2025-03-31 11:35:39 -03:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt
Kconfig arch/Kconfig: allow FLASH config for non-MMU chips 2025-01-17 16:38:17 +08:00