[GitHub] [incubator-nuttx] hotislandn commented on a diff in pull request #6151: RISC-V: workaround for the RV64 SoC which does not has mem mapped MTI…

2022-04-27 Thread GitBox
hotislandn commented on code in PR #6151: URL: https://github.com/apache/incubator-nuttx/pull/6151#discussion_r859420206 ## arch/risc-v/src/common/riscv_mtimer.c: ## @@ -104,7 +110,16 @@ static void riscv_mtimer_set_mtimecmp(struct riscv_mtimer_lowerhalf_s *priv,

[GitHub] [incubator-nuttx] Donny9 opened a new pull request, #6159: driver/ioexpander: remove response about irq_handler

2022-04-27 Thread GitBox
Donny9 opened a new pull request, #6159: URL: https://github.com/apache/incubator-nuttx/pull/6159 ## Summary driver/ioexpander: remove response about irq_handler Signed-off-by: Jiuzhu Dong ## Impact normal using rpmsg ioexpander in irq mode ## Testing Ci

[GitHub] [incubator-nuttx] pussuw commented on pull request #6134: RISC-V: Fix system crash when FPU is in use

2022-04-27 Thread GitBox
pussuw commented on PR #6134: URL: https://github.com/apache/incubator-nuttx/pull/6134#issuecomment-1110623077 @masayuki2009 I also did testing on icicle:nsh (BUILD_FLAT) and it works with and without this patch. However, with icicle:knsh (BUILD_PROTECTED) the issue is 100%

[GitHub] [incubator-nuttx] hotislandn commented on pull request #6151: RISC-V: workaround for the RV64 SoC which does not has mem mapped MTI…

2022-04-27 Thread GitBox
hotislandn commented on PR #6151: URL: https://github.com/apache/incubator-nuttx/pull/6151#issuecomment-1110625179 > > Tested on this RV64 SoC in our project: use the MTIMER as the OS tick. > > @hotislandn Could you tell us the name of the SoC? It's a customized chip, based on

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6155: boards: Move -fno-strict-aliasing from Make.defs to Toolchain.defs

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6155: URL: https://github.com/apache/incubator-nuttx/pull/6155#discussion_r859479347 ## arch/arm/src/arm/Toolchain.defs: ## @@ -51,20 +51,22 @@ endif # CROSSDEV The GNU toolchain triple (command prefix) # ARCHCPUFLAGS

[incubator-nuttx] annotated tag nuttx-10.3.0-RC1 updated (2e3c217d10 -> 0acb6452e9)

2022-04-27 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-10.3.0-RC1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git *** WARNING: tag nuttx-10.3.0-RC1 was modified! *** from 2e3c217d10 (commit) to

[incubator-nuttx-apps] annotated tag nuttx-10.3.0-RC1 updated (ecd8a9722 -> e431a0002)

2022-04-27 Thread jerpelea
This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a change to annotated tag nuttx-10.3.0-RC1 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git *** WARNING: tag nuttx-10.3.0-RC1 was modified! *** from ecd8a9722 (commit) to

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6158: arm/assert: fix build warning on clang

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6158: URL: https://github.com/apache/incubator-nuttx/pull/6158 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated: arm/assert: fix build warning on clang

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new db54b0b836 arm/assert: fix build

[GitHub] [incubator-nuttx-apps] zhuyanlinzyl opened a new pull request, #1156: pmconfig: add mulit domain support

2022-04-27 Thread GitBox
zhuyanlinzyl opened a new pull request, #1156: URL: https://github.com/apache/incubator-nuttx-apps/pull/1156 VELAPLATFO-2387 pmconfig [domain] pmconfig relax/stay state [domain] Change-Id: I3dd9fb402f4cb7414d53b64bc66961f3b76ec8ac Signed-off-by: zhuyanlin ## Summary

[GitHub] [incubator-nuttx] pussuw commented on pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pussuw commented on PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#issuecomment-1110627508 > BTW, please keep up_addrenv_vheap related change in one patch. Sure, I'll pluck it from this PR -- This is an automated message from the Apache Git Service. To respond

[GitHub] [incubator-nuttx] pussuw opened a new pull request, #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pussuw opened a new pull request, #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160 For some reason # CONFIG_ARCH_FPU is not set also unsets ARCH_FPU for the .config file, meaning FPU support is not built. ## Summary Without this, FPU does not get enabled ##

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6052: arch/riscv: Jump instead call riscv_dispatch_syscall

2022-04-27 Thread GitBox
pussuw commented on code in PR #6052: URL: https://github.com/apache/incubator-nuttx/pull/6052#discussion_r859469443 ## arch/risc-v/include/syscall.h: ## @@ -176,7 +178,7 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile ( - ASM_SYS_CALL +

svn commit: r54108 - /dev/incubator/nuttx/10.3.0-RC1/

2022-04-27 Thread jerpelea
Author: jerpelea Date: Wed Apr 27 07:59:17 2022 New Revision: 54108 Log: Staging apache-nuttx-10.3.0-RC1-incubating Added: dev/incubator/nuttx/10.3.0-RC1/ dev/incubator/nuttx/10.3.0-RC1/apache-nuttx-10.3.0-incubating.tar.gz (with props)

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6123: arch/arm: add support for GCC LTO

2022-04-27 Thread GitBox
anchao commented on code in PR #6123: URL: https://github.com/apache/incubator-nuttx/pull/6123#discussion_r859532860 ## arch/arm/src/Makefile: ## @@ -138,6 +138,15 @@ $(KBIN): $(OBJS) board$(DELIM)libboard$(LIBEXT): $(Q) $(MAKE) -C board libboard$(LIBEXT)

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6052: arch/riscv: Jump instead call riscv_dispatch_syscall

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6052: URL: https://github.com/apache/incubator-nuttx/pull/6052#discussion_r859571250 ## arch/risc-v/include/syscall.h: ## @@ -176,7 +178,7 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile ( - ASM_SYS_CALL

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r859524862 ## arch/risc-v/include/arch.h: ## @@ -70,6 +71,18 @@ #define STACK_ALIGNMENT 16 #define STACK_FRAME_SIZE__XSTR(STACK_ALIGNMENT) +/* Provide

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6159: driver/ioexpander: remove response about irq_handler

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6159: URL: https://github.com/apache/incubator-nuttx/pull/6159 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated (db54b0b836 -> 54b770d46a)

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from db54b0b836 arm/assert: fix build warning on clang add 54b770d46a driver/ioexpander: remove response

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
xiaoxiang781216 commented on PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#issuecomment-1110779050 @pussuw : error happen in opensbi: ``` /github/workspace/sources/nuttx/arch/risc-v/src/opensbi/opensbi-3rdparty/lib/sbi/sbi_hart.c:94: undefined reference to

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6155: boards: Move -fno-strict-aliasing from Make.defs to Toolchain.defs

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6155: URL: https://github.com/apache/incubator-nuttx/pull/6155#discussion_r859583425 ## Documentation/guides/cpp_cmake.rst: ## @@ -88,7 +88,7 @@ Creating the project include(cmake/stm32f4discovery.cmake) -set(AC_COMMON_FLAGS

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6123: arch/arm: add support for GCC LTO

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6123: URL: https://github.com/apache/incubator-nuttx/pull/6123#discussion_r859583427 ## arch/arm/src/Makefile: ## @@ -138,6 +143,13 @@ $(KBIN): $(OBJS) board$(DELIM)libboard$(LIBEXT): $(Q) $(MAKE) -C board libboard$(LIBEXT)

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6155: boards: Move -fno-strict-aliasing from Make.defs to Toolchain.defs

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6155: URL: https://github.com/apache/incubator-nuttx/pull/6155#discussion_r859585667 ## arch/arm/src/arm/Toolchain.defs: ## @@ -51,20 +51,22 @@ endif # CROSSDEV The GNU toolchain triple (command prefix) # ARCHCPUFLAGS

[GitHub] [incubator-nuttx] pussuw commented on pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pussuw commented on PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#issuecomment-1110781618 > @pussuw : error happen in opensbi: > > ``` > /github/workspace/sources/nuttx/arch/risc-v/src/opensbi/opensbi-3rdparty/lib/sbi/sbi_hart.c:94: undefined reference to

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pkarashchenko commented on PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#issuecomment-1110784816 I think this is because `lib/sbi/riscv_hardfp.S` is not compiled -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [incubator-nuttx] michi-jung opened a new pull request, #6161: Fix udp recvfrom to correctly return addrlen

2022-04-27 Thread GitBox
michi-jung opened a new pull request, #6161: URL: https://github.com/apache/incubator-nuttx/pull/6161 ## Summary According to POSIX the length of the source address of the received message shall be stored in the object pointed to by the address_len argument. This patch

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6151: RISC-V: workaround for the RV64 SoC which does not has mem mapped MTI…

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6151: URL: https://github.com/apache/incubator-nuttx/pull/6151#discussion_r859589549 ## arch/risc-v/src/common/riscv_mtimer.c: ## @@ -104,7 +110,16 @@ static void riscv_mtimer_set_mtimecmp(struct riscv_mtimer_lowerhalf_s *priv,

[GitHub] [incubator-nuttx] pussuw commented on pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pussuw commented on PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#issuecomment-1110793729 > I think this is because `lib/sbi/riscv_hardfp.S` is not compiled Most likely yes. But I sitll don't understand why removing` # CONFIG_ARCH_FPU is not set` from a **NuttX

[GitHub] [incubator-nuttx] pussuw commented on pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pussuw commented on PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#issuecomment-1110801802 Found it, __riscv_flen is not defined if # CONFIG_ARCH_FPU is not set, and is set otherwise -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pussuw commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r859608227 ## arch/risc-v/include/arch.h: ## @@ -70,6 +71,18 @@ #define STACK_ALIGNMENT 16 #define STACK_FRAME_SIZE__XSTR(STACK_ALIGNMENT) +/* Provide the

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pussuw commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r859608473 ## arch/risc-v/src/common/riscv_addrenv.c: ## @@ -0,0 +1,788 @@ +/ + *

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pussuw commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r859609137 ## arch/risc-v/src/common/riscv_addrenv.c: ## @@ -0,0 +1,788 @@ +/ + *

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pussuw commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r859610275 ## arch/risc-v/include/arch.h: ## @@ -70,6 +71,18 @@ #define STACK_ALIGNMENT 16 #define STACK_FRAME_SIZE__XSTR(STACK_ALIGNMENT) +/* Provide the

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r859615301 ## arch/risc-v/src/common/riscv_addrenv.c: ## @@ -0,0 +1,788 @@ +/ + *

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pkarashchenko commented on PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#issuecomment-1110817636 > Found it, __riscv_flen is not defined if CONFIG_ARCH_FPU is not set, and is set otherwise yes. because of ``` ifeq ($(CONFIG_ARCH_FPU),y) ARCHRVISAF

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#discussion_r859617339 ## arch/risc-v/src/opensbi/Make.defs: ## @@ -30,6 +30,7 @@ OPENSBI_CSRCS += opensbi/opensbi-3rdparty/lib/utils/timer/aclint_mtimer.c OPENSBI_ASRCS +=

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#discussion_r859617730 ## arch/risc-v/src/opensbi/Make.defs: ## @@ -30,6 +30,7 @@ OPENSBI_CSRCS += opensbi/opensbi-3rdparty/lib/utils/timer/aclint_mtimer.c OPENSBI_ASRCS +=

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6069: RISC-V: Add support for CONFIG_BUILD_KERNEL

2022-04-27 Thread GitBox
pussuw commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r859620652 ## arch/risc-v/src/common/riscv_addrenv.c: ## @@ -0,0 +1,788 @@ +/ + *

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#discussion_r859621614 ## arch/risc-v/src/opensbi/Make.defs: ## @@ -30,6 +30,7 @@ OPENSBI_CSRCS += opensbi/opensbi-3rdparty/lib/utils/timer/aclint_mtimer.c OPENSBI_ASRCS +=

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#discussion_r859622256 ## arch/risc-v/src/opensbi/Make.defs: ## @@ -30,6 +30,7 @@ OPENSBI_CSRCS += opensbi/opensbi-3rdparty/lib/utils/timer/aclint_mtimer.c OPENSBI_ASRCS +=

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
pussuw commented on code in PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160#discussion_r859625744 ## arch/risc-v/src/opensbi/Make.defs: ## @@ -30,6 +30,7 @@ OPENSBI_CSRCS += opensbi/opensbi-3rdparty/lib/utils/timer/aclint_mtimer.c OPENSBI_ASRCS +=

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6161: Fix udp recvfrom to correctly return addrlen

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6161: URL: https://github.com/apache/incubator-nuttx/pull/6161#discussion_r859632311 ## net/udp/udp_recvfrom.c: ## @@ -351,11 +352,13 @@ static inline void udp_sender(FAR struct net_driver_s *dev, else #endif { +

[GitHub] [incubator-nuttx] maht commented on a diff in pull request #6152: libc/stdio: Add stdio file locking functions

2022-04-27 Thread GitBox
maht commented on code in PR #6152: URL: https://github.com/apache/incubator-nuttx/pull/6152#discussion_r860310154 ## libs/libc/stdio/lib_ftrylockfile.c: ## @@ -0,0 +1,100 @@ +/ + *

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #6164: drivers/audio/cxd56: Workaround for HW issue of CXD56

2022-04-27 Thread GitBox
masayuki2009 merged PR #6164: URL: https://github.com/apache/incubator-nuttx/pull/6164 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated (ffab2dc628 -> afc09fb442)

2022-04-27 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from ffab2dc628 risc-v: Restrict Fence instruction for chips that support S-mode add afc09fb442

[GitHub] [incubator-nuttx] Ouss4 opened a new pull request, #6167: arch/xtensa: Replace the xcp context with stack context to improve context switching

2022-04-27 Thread GitBox
Ouss4 opened a new pull request, #6167: URL: https://github.com/apache/incubator-nuttx/pull/6167 ## Summary Apply the same ideas from: - https://github.com/apache/incubator-nuttx/pull/5645 - https://github.com/apache/incubator-nuttx/pull/5731 ## Impact Xtensa chips.

[GitHub] [incubator-nuttx] yamt opened a new pull request, #6168: Implement preadv and pwritev

2022-04-27 Thread GitBox
yamt opened a new pull request, #6168: URL: https://github.com/apache/incubator-nuttx/pull/6168 ## Summary Implement preadv and pwritev ## Impact ## Testing build tested with modified wamr -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #6166: Correct the dependence in Kconfig

2022-04-27 Thread GitBox
masayuki2009 merged PR #6166: URL: https://github.com/apache/incubator-nuttx/pull/6166 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] 02/02: config: It's enough to let LTO_FULL depend on ARCH_TOOLCHAIN_GNU only

2022-04-27 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 2dbf826c19c38e641cf3209ccb68e8771f368c94 Author: Xiang Xiao AuthorDate: Thu Apr 28 00:05:08 2022 +0800

[incubator-nuttx] branch master updated (afc09fb442 -> 2dbf826c19)

2022-04-27 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from afc09fb442 drivers/audio/cxd56: Workaround for HW issue of CXD56 new 7539d75bb4 config:

[incubator-nuttx] 01/02: config: DEBUG_LINK_MAP don't need depend on ARCH_TOOLCHAIN_GNU

2022-04-27 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 7539d75bb4c759e9ecae19bf82d2aec811de9c72 Author: Xiang Xiao AuthorDate: Thu Apr 28 00:02:37 2022 +0800

[incubator-nuttx-website] branch asf-site updated: Publishing web: 1b39f27b512cbb1fc294b70e0e70a67d0092b98d docs: afc09fb442dfa7227726bfbed2c439ae85e0e6ac

2022-04-27 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 36de4df Publishing

[GitHub] [incubator-nuttx] yamt commented on a diff in pull request #6123: arch/arm: add support for GCC LTO

2022-04-27 Thread GitBox
yamt commented on code in PR #6123: URL: https://github.com/apache/incubator-nuttx/pull/6123#discussion_r860479694 ## arch/arm/src/arm/Toolchain.defs: ## @@ -113,15 +113,28 @@ endif # Default toolchain -CC = $(CROSSDEV)gcc -CXX = $(CROSSDEV)g++ -CPP = $(CROSSDEV)gcc -E -P

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6167: arch/xtensa: Replace the xcp context with stack context to improve context switching

2022-04-27 Thread GitBox
xiaoxiang781216 commented on PR #6167: URL: https://github.com/apache/incubator-nuttx/pull/6167#issuecomment-761939 @zhuyanlin111 could you review the change? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6168: Implement preadv and pwritev

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6168: URL: https://github.com/apache/incubator-nuttx/pull/6168#discussion_r860457776 ## libs/libc/uio/lib_pwritev.c: ## @@ -0,0 +1,111 @@ +/ + *

[GitHub] [incubator-nuttx] yamt commented on a diff in pull request #6168: Implement preadv and pwritev

2022-04-27 Thread GitBox
yamt commented on code in PR #6168: URL: https://github.com/apache/incubator-nuttx/pull/6168#discussion_r860463262 ## libs/libc/uio/lib_pwritev.c: ## @@ -0,0 +1,111 @@ +/ + * libs/libc/uio/lib_pwritev.c

[incubator-nuttx] branch master updated (2b938ed8f8 -> ded4fd33c1)

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 2b938ed8f8 tools:minidumpserver.py support xtensa new d832df88a5 libc.csv: sort new ded4fd33c1

[incubator-nuttx] 02/02: Implement preadv and pwritev

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit ded4fd33c17753b6127970c1716ec9f751f5ce44 Author: YAMAMOTO Takashi AuthorDate: Thu Apr 28 09:26:17 2022

[incubator-nuttx] 01/02: libc.csv: sort

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit d832df88a56a3932fa720377cb86fe90aaabd333 Author: YAMAMOTO Takashi AuthorDate: Thu Apr 28 09:50:52 2022

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6123: arch/arm: add support for GCC LTO

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6123: URL: https://github.com/apache/incubator-nuttx/pull/6123#discussion_r860503361 ## arch/arm/src/arm/Toolchain.defs: ## @@ -113,15 +113,28 @@ endif # Default toolchain -CC = $(CROSSDEV)gcc -CXX = $(CROSSDEV)g++ -CPP =

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6168: Implement preadv and pwritev

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6168: URL: https://github.com/apache/incubator-nuttx/pull/6168 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6129: tools:minidumpserver.py support xtensa

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6129: URL: https://github.com/apache/incubator-nuttx/pull/6129 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6168: Implement preadv and pwritev

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6168: URL: https://github.com/apache/incubator-nuttx/pull/6168#discussion_r860498804 ## libs/libc/uio/lib_pwritev.c: ## @@ -0,0 +1,111 @@ +/ + *

[incubator-nuttx] branch master updated: tools:minidumpserver.py support xtensa

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 2b938ed8f8 tools:minidumpserver.py

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6167: arch/xtensa: Replace the xcp context with stack context to improve context switching

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6167: URL: https://github.com/apache/incubator-nuttx/pull/6167#discussion_r860509508 ## arch/xtensa/src/common/xtensa_dumpstate.c: ## @@ -295,12 +295,11 @@ void xtensa_dumpstate(void) if (CURRENT_REGS) { -

[GitHub] [incubator-nuttx] CV-Bowen opened a new pull request, #6169: libc/arch_atomic: add weak attribute for all atomic functions.

2022-04-27 Thread GitBox
CV-Bowen opened a new pull request, #6169: URL: https://github.com/apache/incubator-nuttx/pull/6169 ## Summary Some compilers have defined __atomic builtin functions, so add weak attribute for all atomic functions implemented by libc. ## Impact all chip select LIBC_ARCH_ATOMIC.

[GitHub] [incubator-nuttx] QinWei2003 opened a new issue, #6170: ARMv8-A/R support in NuttX

2022-04-27 Thread GitBox
QinWei2003 opened a new issue, #6170: URL: https://github.com/apache/incubator-nuttx/issues/6170 I am planning to support ARMv8-A/R for Nuttx, the features are: 1. ARMv8 architecture core (cotex-a53/cotex-a72/cotex-r82) support 2. SMP support 3. FPU context switch suppot 4.

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
pussuw commented on code in PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859798924 ## arch/risc-v/src/common/riscv_internal.h: ## @@ -119,16 +119,16 @@ #define READ_CSR(reg) \ ({ \ - uintptr_t reg##_val; \ Review Comment: I think

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6165: arch/arm/Make.defs: unify common source include

2022-04-27 Thread GitBox
anchao commented on code in PR #6165: URL: https://github.com/apache/incubator-nuttx/pull/6165#discussion_r859831884 ## arch/arm/src/common/Make.defs: ## @@ -0,0 +1,83 @@ + +#

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
gustavonihei commented on code in PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859832219 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -600,9 +600,14 @@ int riscv_config_pmp_region(uintptr_t region, uintptr_t attr, # error "XLEN of risc-v

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6165: arch/arm/Make.defs: unify common source include

2022-04-27 Thread GitBox
anchao commented on code in PR #6165: URL: https://github.com/apache/incubator-nuttx/pull/6165#discussion_r859831884 ## arch/arm/src/common/Make.defs: ## @@ -0,0 +1,83 @@ + +#

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6165: arch/arm/Make.defs: unify common source include

2022-04-27 Thread GitBox
anchao commented on code in PR #6165: URL: https://github.com/apache/incubator-nuttx/pull/6165#discussion_r859877880 ## arch/arm/src/Makefile: ## @@ -20,6 +20,7 @@ include $(TOPDIR)/Make.defs include chip/Make.defs +include common/Make.defs Review Comment: This will be

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6151: RISC-V: workaround for the RV64 SoC which does not has mem mapped MTI…

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6151: URL: https://github.com/apache/incubator-nuttx/pull/6151 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated (98d8d2a1ff -> d7cc3f9275)

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 98d8d2a1ff arch/xtensa: Group all the macros in one file. add d7cc3f9275 RISC-V: workaround for the

[GitHub] [incubator-nuttx] Ouss4 commented on a diff in pull request #6148: arch/xtensa: Refactor assembly macros

2022-04-27 Thread GitBox
Ouss4 commented on code in PR #6148: URL: https://github.com/apache/incubator-nuttx/pull/6148#discussion_r859897841 ## arch/xtensa/src/common/xtensa_panic.S: ## @@ -147,14 +129,7 @@ _xtensa_panic: /* Set up PS for C, re-enable hi-pri interrupts, and clear EXCM. */

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6163: arm/arch_setjmp.S: armv6m support setjmp, longjmp

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6163: URL: https://github.com/apache/incubator-nuttx/pull/6163 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated: arm/arch_setjmp.S: armv6m support setjmp, longjmp

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new cbab540169 arm/arch_setjmp.S:

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6160: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6160: URL: https://github.com/apache/incubator-nuttx/pull/6160 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] 01/02: MPFS: Remove # CONFIG_ARCH_FPU is not set from defconfigs

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit d495007943c23f85b6206fb52f73a6469814210d Author: Ville Juven AuthorDate: Tue Apr 26 10:24:02 2022 +0300

[incubator-nuttx] 02/02: OpenSBI: Add riscv_hardfp.S to compilation

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 216574bba8fbf4ea512345eababcfc85a7c23231 Author: Ville Juven AuthorDate: Wed Apr 27 12:55:04 2022 +0300

[incubator-nuttx] branch master updated (d7cc3f9275 -> 216574bba8)

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from d7cc3f9275 RISC-V: workaround for the RV64 SoC which does not has mem mapped MTIMER currten value regs.

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6129: tools:minidumpserver.py support xtensa

2022-04-27 Thread GitBox
xiaoxiang781216 commented on PR #6129: URL: https://github.com/apache/incubator-nuttx/pull/6129#issuecomment-147358 > use hardcode to mask high bit 31-30 for A0 ,it work,but gdb just can see the frist call stack,and gdb output `Backtrace stopped: Cannot access memory at address 0x0`

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6129: tools:minidumpserver.py support xtensa

2022-04-27 Thread GitBox
xiaoxiang781216 commented on PR #6129: URL: https://github.com/apache/incubator-nuttx/pull/6129#issuecomment-150040 Anyway, this patch isn't related to the discussion, let's merge it first. -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6129: tools:minidumpserver.py support xtensa

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6129: URL: https://github.com/apache/incubator-nuttx/pull/6129#discussion_r859949765 ## tools/minidumpserver.py: ## @@ -261,6 +283,11 @@ def parse(self): memory = {"start": start, "end": start + len(data), "data": data}

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6157: drivers: mtd: fix null buffer reference

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6157: URL: https://github.com/apache/incubator-nuttx/pull/6157 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated (cbab540169 -> daccde3605)

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from cbab540169 arm/arch_setjmp.S: armv6m support setjmp, longjmp add daccde3605 drivers: mtd: fix null

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6126: arch/risc-v: add support for GCC LTO

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6126: URL: https://github.com/apache/incubator-nuttx/pull/6126 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated: arch/risc-v: add support for GCC LTO

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new cbef8681fe arch/risc-v: add support

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6123: arch/arm: add support for GCC LTO

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6123: URL: https://github.com/apache/incubator-nuttx/pull/6123 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[incubator-nuttx] branch master updated: arch/arm: add support for GCC LTO

2022-04-27 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 042640abbf arch/arm: add support

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
pussuw commented on code in PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859810549 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -600,9 +600,14 @@ int riscv_config_pmp_region(uintptr_t region, uintptr_t attr, # error "XLEN of risc-v not

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
gustavonihei commented on code in PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859821671 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -600,9 +600,14 @@ int riscv_config_pmp_region(uintptr_t region, uintptr_t attr, # error "XLEN of risc-v

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
pussuw commented on code in PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859834307 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -600,9 +600,14 @@ int riscv_config_pmp_region(uintptr_t region, uintptr_t attr, # error "XLEN of risc-v not

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6148: arch/xtensa: Refactor assembly macros

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6148: URL: https://github.com/apache/incubator-nuttx/pull/6148#discussion_r859854635 ## arch/xtensa/src/common/xtensa_panic.S: ## @@ -147,14 +129,7 @@ _xtensa_panic: /* Set up PS for C, re-enable hi-pri interrupts, and clear

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6165: arch/arm/Make.defs: unify common source include

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6165: URL: https://github.com/apache/incubator-nuttx/pull/6165#discussion_r859864348 ## arch/arm/src/Makefile: ## @@ -20,6 +20,7 @@ include $(TOPDIR)/Make.defs include chip/Make.defs +include common/Make.defs Review Comment:

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6161: Fix udp recvfrom to correctly return addrlen

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6161: URL: https://github.com/apache/incubator-nuttx/pull/6161#discussion_r859883177 ## net/udp/udp_recvfrom.c: ## @@ -244,6 +244,7 @@ static inline void udp_readahead(struct udp_recvfrom_s *pstate) pstate->ir_recvlen =

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
gustavonihei commented on code in PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859805563 ## arch/risc-v/src/common/riscv_internal.h: ## @@ -119,16 +119,16 @@ #define READ_CSR(reg) \ ({ \ - uintptr_t reg##_val; \ Review Comment:

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6165: arch/arm/Make.defs: unify common source include

2022-04-27 Thread GitBox
anchao opened a new pull request, #6165: URL: https://github.com/apache/incubator-nuttx/pull/6165 ## Summary arch/arm/Make.defs: unify common source include ## Impact N/A, Make.defs refactor ## Testing CI-check -- This is an automated message from the

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6165: arch/arm/Make.defs: unify common source include

2022-04-27 Thread GitBox
pkarashchenko commented on code in PR #6165: URL: https://github.com/apache/incubator-nuttx/pull/6165#discussion_r859822145 ## arch/arm/src/common/Make.defs: ## @@ -0,0 +1,83 @@ + +#

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
gustavonihei commented on code in PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859825192 ## arch/risc-v/src/common/riscv_pmp.c: ## @@ -600,9 +600,14 @@ int riscv_config_pmp_region(uintptr_t region, uintptr_t attr, # error "XLEN of risc-v

  1   2   >