nuttx/arch/arm/src
chenrun1 ab4d72756e arch/samd2l2:Ignore atomic warning when using clang compiler
When the toolchain does not support atomic, it will use the version implemented by NuttX (low performance version). This scenario is consistent with the original design, so we can ignore it.

see bug here:
https://bugs.llvm.org/show_bug.cgi?id=43603

Error: inode/fs_inodeaddref.c:50:7: error: large atomic operation may incur significant performance penalty; the access size (4 bytes) exceeds the max lock-free size (0  bytes) [-Werror,-Watomic-alignment]
   50 |       atomic_fetch_add(&inode->i_crefs, 1);
      |       ^
/tools/clang-arm-none-eabi/lib/clang/17/include/stdatomic.h:152:43: note: expanded from macro 'atomic_fetch_add'
  152 | #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST)
      |                                           ^
1 error generated.
make[1]: *** [Makefile:83: fs_inodeaddref.o] Error 1
Error: inode/fs_inodefind.c:74:7: error: large atomic operation may incur significant performance penalty; the access size (4 bytes) exceeds the max lock-free size (0  bytes) [-Werror,-Watomic-alignment]
   74 |       atomic_fetch_add(&node->i_crefs, 1);

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-09-23 14:07:03 +08:00
..
a1x arch: Fix style warnings regarding included header files 2024-03-05 09:45:49 +08:00
am335x style: remove redundant spaces 2024-08-25 19:22:15 +08:00
arm arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
armv6-m arch/arm-m: Clear lr before jump to __start 2024-09-15 17:31:12 +08:00
armv7-a arm/cortex-a,r: replace cp15 instruct to macros to align operation 2024-09-20 09:29:57 +08:00
armv7-m arch/arm-m: Clear lr before jump to __start 2024-09-15 17:31:12 +08:00
armv7-r arm/cortex-a,r: replace cp15 instruct to macros to align operation 2024-09-20 09:29:57 +08:00
armv8-m arch/arm-m: Clear lr before jump to __start 2024-09-15 17:31:12 +08:00
armv8-r arm/cortex-a,r: replace cp15 instruct to macros to align operation 2024-09-20 09:29:57 +08:00
at32 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
c5471 net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
cmake arch/samd2l2:Ignore atomic warning when using clang compiler 2024-09-23 14:07:03 +08:00
common arch/samd2l2:Ignore atomic warning when using clang compiler 2024-09-23 14:07:03 +08:00
csk6 arm: Add support for CSK6011A SOC and CSK6011A-NANO board 2024-09-05 09:34:33 -03:00
cxd32xx Fix Kconfig style 2024-07-12 06:37:59 +08:00
cxd56xx fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
dm320 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
efm32 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
eoss3 arch/arm:add up_debugpoint api 2023-12-11 08:43:26 -08:00
fvp-v8r-aarch32 arm/cortex-a,r: replace cp15 instruct to macros to align operation 2024-09-20 09:29:57 +08:00
gd32f4 style: remove redundant spaces 2024-08-25 19:22:15 +08:00
goldfish goldfish:add kernel mode support 2024-09-17 20:10:13 +08:00
imx1 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
imx6 sched: replace up_cpu_index with this_cpu 2024-09-05 12:09:24 +08:00
imxrt can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. 2024-09-18 23:50:11 +08:00
kinetis can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. 2024-09-18 23:50:11 +08:00
kl spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
lc823450 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
lpc17xx_40xx net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
lpc31xx arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
lpc43xx lpc43xx/usb: Fix gcc13.2 compiler error 2023-12-19 08:36:49 +08:00
lpc54xx net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
lpc214x arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
lpc2378 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
max326xx arch/arm:add up_debugpoint api 2023-12-11 08:43:26 -08:00
moxart drivers: prepare 16550 UART driver to support PCI 2024-09-15 03:37:58 +08:00
mps nuttx/mps2: Support NuttX running on qemu cortex-m7 2024-08-25 22:56:46 +08:00
mx8mp arch/mx8mp: add rptun/rpmsg client support 2024-04-30 11:30:02 -03:00
nrf52 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
nrf53 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
nrf91 nrf91: Update GPS to GNSS 2024-09-20 14:38:43 +08:00
nuc1xx drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
phy62xx style: remove redundant spaces 2024-08-25 19:22:15 +08:00
qemu sched: replace up_cpu_index with this_cpu 2024-09-05 12:09:24 +08:00
rp2040 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
rtl8720c net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
s32k1xx can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. 2024-09-18 23:50:11 +08:00
s32k3xx can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. 2024-09-18 23:50:11 +08:00
sam34 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
sama5 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
samd2l2 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
samd5e5 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
samv7 arch/arm/samv7: add support of SocketLIN interface 2024-09-19 09:39:54 +08:00
stm32 can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. 2024-09-18 23:50:11 +08:00
stm32f0l0g0 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32f7 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32h7 can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. 2024-09-18 23:50:11 +08:00
stm32l4 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32l5 spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
stm32u5 style: remove redundant spaces 2024-08-25 19:22:15 +08:00
stm32wb style: remove redundant spaces 2024-08-25 19:22:15 +08:00
stm32wl5 fix stm32wl5_rcc.h: Add the missing argument to RCC_PLLCFG_PLLP define. 2024-08-11 03:10:20 +08:00
str71x arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
tiva can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
tlsr82 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
tms570 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
xmc4 Fix xmc4_spi.c DX select. 2024-09-10 11:36:59 +08:00
.gitignore arch/arm: Add support for boot stage2 from Raspberry Pi Pico SDK 2021-02-20 03:45:24 -08:00
CMakeLists.txt cmake: move NUTTX_CHIP_ABS_DIR before common src 2023-11-07 17:39:03 +01:00
Makefile mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00