[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) { -

[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

[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

[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 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 =

[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 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 @@ +/ + *

[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] 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] 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

[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] 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] 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.

[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

[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:

[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

[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] 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.

[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] 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:

[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 @@ +/ + *

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

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 670ea1e5fb net/tcp:make initial tcp port more random add 1967805b91 risc-v: Fix format specifier in

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #6162: URL: https://github.com/apache/incubator-nuttx/pull/6162 -- 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 (042640abbf -> 670ea1e5fb)

2022-04-27 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 042640abbf arch/arm: add support for GCC LTO add 670ea1e5fb net/tcp:make initial tcp port more

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #6154: net/tcp:make initial tcp port more random

2022-04-27 Thread GitBox
pkarashchenko merged PR #6154: URL: https://github.com/apache/incubator-nuttx/pull/6154 -- 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-apps] branch master updated: pmconfig: add mulit domain support

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-apps.git The following commit(s) were added to refs/heads/master by this push: new a5a4c561f pmconfig: add mulit

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1156: pmconfig: add mulit domain support

2022-04-27 Thread GitBox
xiaoxiang781216 merged PR #1156: URL: https://github.com/apache/incubator-nuttx-apps/pull/1156 -- 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 opened a new pull request, #6166: Make2

2022-04-27 Thread GitBox
xiaoxiang781216 opened a new pull request, #6166: URL: https://github.com/apache/incubator-nuttx/pull/6166 ## Summary Correct the dependence ## Impact minor fix ## Testing Pass CI -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [incubator-nuttx] JacobCrabill commented on a diff in pull request #6057: arch/stm32h7: Add SocketCAN FDCAN driver

2022-04-27 Thread GitBox
JacobCrabill commented on code in PR #6057: URL: https://github.com/apache/incubator-nuttx/pull/6057#discussion_r860004334 ## include/nuttx/net/ioctl.h: ## @@ -112,8 +112,12 @@ /* SocketCAN / -#define

[GitHub] [incubator-nuttx] JacobCrabill commented on a diff in pull request #6057: arch/stm32h7: Add SocketCAN FDCAN driver

2022-04-27 Thread GitBox
JacobCrabill commented on code in PR #6057: URL: https://github.com/apache/incubator-nuttx/pull/6057#discussion_r860002694 ## include/nuttx/net/ioctl.h: ## @@ -112,8 +112,12 @@ /* SocketCAN / -#define

[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_r859979918 ## include/nuttx/lib/lib.h: ## @@ -114,10 +114,12 @@ void lib_stream_release(FAR struct task_group_s *group); #ifdef CONFIG_STDIO_DISABLE_BUFFERING # define

[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_r859973593 ## libs/libc/stdio/lib_libfilesem.c: ## @@ -95,6 +95,47 @@ void lib_take_semaphore(FAR struct file_struct *stream) } }

[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] 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/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 #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:

[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 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 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 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`

[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 #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 (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.

[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] 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

[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:

[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. */

[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] 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:

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

2022-04-27 Thread GitBox
xiaoxiang781216 commented on code in PR #6152: URL: https://github.com/apache/incubator-nuttx/pull/6152#discussion_r859894887 ## include/nuttx/lib/lib.h: ## @@ -114,10 +114,12 @@ void lib_stream_release(FAR struct task_group_s *group); #ifdef CONFIG_STDIO_DISABLE_BUFFERING #

[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] 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 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 #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] 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] 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_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] 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_r859828302 ## 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] 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_r859828302 ## 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] 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

[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_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] 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] 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_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] 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] takayoshi-k opened a new pull request, #6164: drivers/audio/cxd56: Workaround for HW issue of CXD56

2022-04-27 Thread GitBox
takayoshi-k opened a new pull request, #6164: URL: https://github.com/apache/incubator-nuttx/pull/6164 ## Summary Workaround HW issue of audio device on CXD5602. ## Impact Volume control works fine by this commit. ## Testing Confirm the nxplayer works fine. --

[GitHub] [incubator-nuttx] CV-Bowen opened a new pull request, #6163: arm/arch_setjmp.S: armv6m support setjmp, longjmp

2022-04-27 Thread GitBox
CV-Bowen opened a new pull request, #6163: URL: https://github.com/apache/incubator-nuttx/pull/6163 ## Summary Original implementation of arch_setjmp.S not supports armv6m arch. ## Impact armv6m arch chip support setjmp and longjmp ## Testing armv6m: phy6222 chip

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request, #6162: [RISC-V] PMP: Restrict Fence instruction for chips that support S-mode

2022-04-27 Thread GitBox
accesses check the PMP settings synchronously, so no `SFENCE.VMA` is needed. Reference: **3.7.2 Physical Memory Protection and Paging** section from working draft of RISC-V Privileged Spec: https://github.com/riscv/riscv-isa-manual/releases/download/draft-20220427-db7a4a0/riscv

[incubator-nuttx] 02/02: arch/xtensa: Group all the macros in one file.

2022-04-27 Thread gustavonihei
This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 98d8d2a1ff4e60514e7c18a7b1607430c1310d06 Author: Abdelatif Guettouche AuthorDate: Mon Apr 25 15:31:24

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

2022-04-27 Thread gustavonihei
This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 54b770d46a driver/ioexpander: remove response about irq_handler new 541eabb535

[incubator-nuttx] 01/02: xtensa_int_handlers.S: Refactor the calls to ps_setup.

2022-04-27 Thread gustavonihei
This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 541eabb535144214faf9dd64777c407ae502bc10 Author: Abdelatif Guettouche AuthorDate: Mon Apr 25 13:43:34

[GitHub] [incubator-nuttx] gustavonihei merged pull request #6148: arch/xtensa: Refactor assembly macros

2022-04-27 Thread GitBox
gustavonihei merged PR #6148: URL: https://github.com/apache/incubator-nuttx/pull/6148 -- 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] 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_r859699638 ## 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] 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_r859699606 ## arch/arm/src/Makefile: ## @@ -138,6 +143,13 @@ $(KBIN): $(OBJS) board$(DELIM)libboard$(LIBEXT): $(Q) $(MAKE) -C board libboard$(LIBEXT)

[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] 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 #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] 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] 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_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] 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 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 #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] 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] 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_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_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 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 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] 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] 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] 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] 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

  1   2   >