[GitHub] [incubator-nuttx] pussuw edited a comment on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
pussuw edited a comment on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1084163676 > > I had a better look at this, and this basically forces me to attach an IRQ handler to move from riscv_syscall_dispatch -> riscv_swint even though the call com

[GitHub] [incubator-nuttx] pussuw commented on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
pussuw commented on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1084163676 > > I had a better look at this, and this basically forces me to attach an IRQ handler to move from riscv_syscall_dispatch -> riscv_swint even though the call comes from

[GitHub] [incubator-nuttx] no1wudi commented on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
no1wudi commented on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1084161388 > I had a better look at this, and this basically forces me to attach an IRQ handler to move from riscv_syscall_dispatch -> riscv_swint even though the call comes from

[GitHub] [incubator-nuttx] pussuw edited a comment on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
pussuw edited a comment on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1084157869 I had a better look at this, and this basically forces me to attach an IRQ handler to move from riscv_syscall_dispatch -> riscv_swint even though the call comes f

[GitHub] [incubator-nuttx] pussuw commented on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
pussuw commented on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1084157869 I had a better look at this, and this basically forces me to attach an IRQ handler for riscv_syscall_dispatch even though the call comes from thread mode. I assume the i

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#issuecomment-1084151446 I will fix the build in 1h -- 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

[GitHub] [incubator-nuttx] pussuw commented on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
pussuw commented on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1084138691 > @pussuw There is a little change in latest update: Do `group_addrenv(NULL);` in `riscv_doirq` if context switched instead of in context switch/restore syscall, but it

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5918: stm32f7: stm32f7 support backtrace.

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5918: URL: https://github.com/apache/incubator-nuttx/pull/5918#discussion_r839215660 ## File path: arch/arm/src/stm32f7/Make.defs ## @@ -36,6 +36,10 @@ CMN_CSRCS += arm_svcall.c arm_systemreset.c arm_trigger_irq.c arm_unblocktask.

[GitHub] [incubator-nuttx] pussuw commented on pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pussuw commented on pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#issuecomment-1084131476 There is a build failure: In file included from common/riscv_pmp.c:34: common/riscv_pmp.c: In function 'pmp_read_region_cfg': Error: common/riscv_internal.h:

[GitHub] [incubator-nuttx] CV-Bowen opened a new pull request #5918: stm32f7: stm32f7 support backtrace.

2022-03-30 Thread GitBox
CV-Bowen opened a new pull request #5918: URL: https://github.com/apache/incubator-nuttx/pull/5918 ## Summary add arm_backtrace_thumb.c in Make.defs. ## Impact ## Testing local test with nucleo-144 f746zg board. -- This is an automated message from the Apache Git S

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#discussion_r839168763 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -223,6 +223,16 @@ int riscv_swint(int irq, void *context, void *arg) {

[GitHub] [incubator-nuttx] CV-Bowen commented on a change in pull request #5914: mm/mm_heap: MMSIZE_MAX should be half of UINT16_MAX/UINT32_MAX.

2022-03-30 Thread GitBox
CV-Bowen commented on a change in pull request #5914: URL: https://github.com/apache/incubator-nuttx/pull/5914#discussion_r839168428 ## File path: mm/mm_heap/mm.h ## @@ -130,10 +130,10 @@ #ifdef CONFIG_MM_SMALL # define MM_ALLOC_BIT0x8000 -# define MMSIZE_MAX UINT1

[GitHub] [incubator-nuttx] no1wudi commented on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
no1wudi commented on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1084075660 @pussuw There is a little change in latest update: Do `group_addrenv(NULL);` in `riscv_doirq` if context switched instead of in context switch/restore syscall, but it s

[GitHub] [incubator-nuttx] Donny9 commented on a change in pull request #5882: sensor/utils: add remap data according to postion on board

2022-03-30 Thread GitBox
Donny9 commented on a change in pull request #5882: URL: https://github.com/apache/incubator-nuttx/pull/5882#discussion_r839158891 ## File path: include/nuttx/sensors/sensor.h ## @@ -827,6 +827,23 @@ extern "C" #define EXTERN extern #endif +/

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#discussion_r839153266 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -223,6 +223,16 @@ int riscv_swint(int irq, void *context, void *arg) {

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r839147888 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifde

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5905: arch/risc-v: Store/Restore FPU register in exception_common

2022-03-30 Thread GitBox
xiaoxiang781216 merged pull request #5905: URL: https://github.com/apache/incubator-nuttx/pull/5905 -- 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 (8db038c -> 814c07c)

2022-03-30 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 8db038c ioe_rpmsg: use rptun_wait/post to resolve deadlock with usrsock add 814c07c arch/risc-v:

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#discussion_r839144432 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -248,9 +258,19 @@ int riscv_swint(int irq, void *context, void *arg) {

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r839140385 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifde

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5905: arch/risc-v: Store/Restore FPU register in exception_common

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5905: URL: https://github.com/apache/incubator-nuttx/pull/5905#discussion_r839127053 ## File path: arch/risc-v/src/common/riscv_exception_common.S ## @@ -96,6 +98,11 @@ exception_common: addi s0, sp, XCPTCONTEXT_SIZE RE

[GitHub] [incubator-nuttx-apps] masayuki2009 commented on pull request #1112: testing/mm: add memory boundary realloc test.

2022-03-30 Thread GitBox
masayuki2009 commented on pull request #1112: URL: https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1084000357 >Yes, or CONFIG_DEBUG_MM==y since both option change mm_allocnode_s layout and then may make the assumption fail. @xiaoxiang781216 @CV-Bowen OK, so

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1112: testing/mm: add memory boundary realloc test.

2022-03-30 Thread GitBox
xiaoxiang781216 commented on pull request #1112: URL: https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1083974976 > @xiaoxiang781216 > > > @masayuki2009 the change ensure the heap memory align with MM_MIN_CHUNK, which is a core heap manager assumption. Why this

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5905: arch/risc-v: Store/Restore FPU register in exception_common

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5905: URL: https://github.com/apache/incubator-nuttx/pull/5905#discussion_r839101963 ## File path: arch/risc-v/src/common/riscv_exception_common.S ## @@ -96,6 +98,11 @@ exception_common: addi s0, sp, XCPTCONTEXT_SI

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#discussion_r839096969 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -34,6 +34,7 @@ #include #include #include +#include Review comment: This i

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#discussion_r839096830 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -223,6 +227,18 @@ int riscv_swint(int irq, void *context, void *arg) {

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5905: arch/risc-v: Store/Restore FPU register in exception_common

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5905: URL: https://github.com/apache/incubator-nuttx/pull/5905#discussion_r839092683 ## File path: arch/risc-v/src/common/riscv_exception_common.S ## @@ -96,6 +98,11 @@ exception_common: addi s0, sp, XCPTCONTEXT_SIZE RE

[GitHub] [incubator-nuttx] rtucker85 commented on issue #5916: libc++ on sim is broken

2022-03-30 Thread GitBox
rtucker85 commented on issue #5916: URL: https://github.com/apache/incubator-nuttx/issues/5916#issuecomment-1083895020 I also get this error. I have noticed that if you deselect CONFIG_HAVE_CXXINITIALIZE it doesn't crash. This may help with hunting down the root cause of this problem

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

2022-03-30 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 e492158 Publishing web

[GitHub] [incubator-nuttx-apps] masayuki2009 edited a comment on pull request #1112: testing/mm: add memory boundary realloc test.

2022-03-30 Thread GitBox
masayuki2009 edited a comment on pull request #1112: URL: https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1083816969 >@masayuki2009 , sorry, i didn't consider the big memory condition. I will find a better solution. @CV-Bowen If the issue only happens `CONF

[GitHub] [incubator-nuttx-apps] masayuki2009 commented on pull request #1112: testing/mm: add memory boundary realloc test.

2022-03-30 Thread GitBox
masayuki2009 commented on pull request #1112: URL: https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1083816969 >@masayuki2009 , sorry, i didn't consider the big memory condition. I will find a better solution. If the issue only happens `CONFIG_MM_SMALL=y`, how a

[GitHub] [incubator-nuttx-apps] masayuki2009 commented on pull request #1112: testing/mm: add memory boundary realloc test.

2022-03-30 Thread GitBox
masayuki2009 commented on pull request #1112: URL: https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1083793236 @xiaoxiang781216 >@masayuki2009 the change ensure the heap memory align with MM_MIN_CHUNK, which is a core heap manager assumption. Why this issue isn

[GitHub] [incubator-nuttx-apps] pkarashchenko commented on a change in pull request #1099: rptun cmd update

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #1099: URL: https://github.com/apache/incubator-nuttx-apps/pull/1099#discussion_r838910598 ## File path: nshlib/nsh_syscmds.c ## @@ -343,23 +341,94 @@ int cmd_rptun(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) {

[GitHub] [incubator-nuttx-apps] pkarashchenko merged pull request #1103: nsh: sh_main also support isctty = true

2022-03-30 Thread GitBox
pkarashchenko merged pull request #1103: URL: https://github.com/apache/incubator-nuttx-apps/pull/1103 -- 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-m

[incubator-nuttx-apps] branch master updated: nsh: sh_main also support isctty = true

2022-03-30 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko 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 9730eaa nsh: sh_main also

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838899591 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -83,7 +85,7 @@ up_signal_handler: /* Restore the register */ ld

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1113: testing/mm: repair the memory leak question when realloc failed.

2022-03-30 Thread GitBox
xiaoxiang781216 merged pull request #1113: URL: https://github.com/apache/incubator-nuttx-apps/pull/1113 -- 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

[incubator-nuttx-apps] branch master updated: testing/mm: repair the memory leak question when realloc failed.

2022-03-30 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 963c1f3 testing/mm: repair the

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5844: rpmsgfs: do NOT access the pointer when do remote ioctl

2022-03-30 Thread GitBox
xiaoxiang781216 commented on pull request #5844: URL: https://github.com/apache/incubator-nuttx/pull/5844#issuecomment-1083524657 @GUIDINGLI please rebase your patch to fix the ci error -- This is an automated message from the Apache Git Service. To respond to the message, please log on t

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5847: rptun related update

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5847: URL: https://github.com/apache/incubator-nuttx/pull/5847#discussion_r838879051 ## File path: drivers/rptun/rptun.c ## @@ -56,9 +56,10 @@ #define RPTUNIOC_NONE 0 #define NO_HOLDER (INV

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838845739 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -83,7 +85,7 @@ up_signal_handler: /* Restore the register */ ld

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838842715 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -69,7 +71,7 @@ up_signal_handler: /* Save ra on the stack */ - a

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1112: testing/mm: add memory boundary realloc test.

2022-03-30 Thread GitBox
xiaoxiang781216 commented on pull request #1112: URL: https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1083470255 @masayuki2009 the change ensure the heap memory align with MM_MIN_CHUNK, which is a core heap manager assumption. Why this issue isn't reported before? Be

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838840371 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -69,7 +71,7 @@ up_signal_handler: /* Save ra on the stack */ - add

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838836606 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -69,7 +71,7 @@ up_signal_handler: /* Save ra on the stack */ - add

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838836606 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -69,7 +71,7 @@ up_signal_handler: /* Save ra on the stack */ - add

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838828111 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -69,7 +71,7 @@ up_signal_handler: /* Save ra on the stack */ - a

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838827865 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838826470 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -69,7 +71,7 @@ up_signal_handler: /* Save ra on the stack */ - add

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
xiaoxiang781216 commented on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1083451652 > Progress: > > nsh> ? help usage: help [-v] [] > > . cat dd false ls ps test unset [ cd df free mkrd pwd time usleep ? cp echo help mount set true

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838816359 ## File path: arch/risc-v/src/common/riscv_signal_handler.S ## @@ -69,7 +71,7 @@ up_signal_handler: /* Save ra on the stack */ - a

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5905: arch/risc-v: Store/Restore FPU register in exception_common

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5905: URL: https://github.com/apache/incubator-nuttx/pull/5905#discussion_r838810701 ## File path: arch/risc-v/src/common/riscv_exception_common.S ## @@ -96,6 +98,11 @@ exception_common: addi s0, sp, XCPTCONTEXT_SI

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5892: rpmsgfs related update

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5892: URL: https://github.com/apache/incubator-nuttx/pull/5892#discussion_r838806490 ## File path: fs/rpmsgfs/rpmsgfs.c ## @@ -1101,6 +1129,7 @@ static int rpmsgfs_bind(FAR struct inode *blkdriver, FAR const void *data,

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5893: ioe_rpmsg: use rptun_wait/post to resolve deadlock with usrsock

2022-03-30 Thread GitBox
xiaoxiang781216 merged pull request #5893: URL: https://github.com/apache/incubator-nuttx/pull/5893 -- 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: ioe_rpmsg: use rptun_wait/post to resolve deadlock with usrsock

2022-03-30 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 8db038c ioe_rpmsg: use rptun_wait/p

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5914: mm/mm_heap: MMSIZE_MAX should be half of UINT16_MAX/UINT32_MAX.

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5914: URL: https://github.com/apache/incubator-nuttx/pull/5914#discussion_r838803259 ## File path: mm/mm_heap/mm.h ## @@ -130,10 +130,10 @@ #ifdef CONFIG_MM_SMALL # define MM_ALLOC_BIT0x8000 -# define MMSIZE_MAX

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838776475 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838772228 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838770195 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838760512 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/ + * ar

svn commit: r53467 - /dev/incubator/nuttx/10.3.0-RC0/

2022-03-30 Thread jerpelea
Author: jerpelea Date: Wed Mar 30 16:47:41 2022 New Revision: 53467 Log: Staging apache-nuttx-10.3.0-RC0-incubating Added: dev/incubator/nuttx/10.3.0-RC0/ dev/incubator/nuttx/10.3.0-RC0/apache-nuttx-10.3.0-RC0-incubating.tar.gz (with props) dev/incubator/nuttx/10.3.0-RC0/apache-nut

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838748007 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/ + * ar

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838748007 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/ + * ar

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838749173 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/

[incubator-nuttx] annotated tag nuttx-10.3.0-RC0 updated (c180757 -> 9e75162)

2022-03-30 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-RC0 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git. *** WARNING: tag nuttx-10.3.0-RC0 was modified! *** from c180757 (commit) to 9e75162

[incubator-nuttx-apps] annotated tag nuttx-10.3.0-RC0 updated (4a2aa6d -> 7ad529a)

2022-03-30 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-RC0 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git. *** WARNING: tag nuttx-10.3.0-RC0 was modified! *** from 4a2aa6d (commit) to 7ad5

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838748007 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/ + * ar

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838747174 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838742018 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef CONFIG_

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838742018 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef CONFIG_

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838743067 ## File path: arch/risc-v/include/mode.h ## @@ -0,0 +1,103 @@ +/

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838742018 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef CONFIG_

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838739916 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef CONFIG_

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838738171 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838737418 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a change in pull request #1111: apps/nsh:add resetcause command

2022-03-30 Thread GitBox
xiaoxiang781216 commented on a change in pull request #: URL: https://github.com/apache/incubator-nuttx-apps/pull/#discussion_r838720350 ## File path: nshlib/nsh_syscmds.c ## @@ -319,6 +319,26 @@ int cmd_reboot(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } #

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838715537 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef CONFIG_

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838715537 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef CONFIG_

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917#discussion_r838685873 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -109,45 +109,24 @@ static void riscv_registerdump(const uintptr_t *regs) #ifdef

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838683762 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile

[GitHub] [incubator-nuttx] pkarashchenko opened a new pull request #5917: arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

2022-03-30 Thread GitBox
pkarashchenko opened a new pull request #5917: URL: https://github.com/apache/incubator-nuttx/pull/5917 ## Summary Improve RISC-V common code usage ## Impact Should not be any. Refactoring only ## Testing Pass CI -- This is an automated message from the Apache Git S

[GitHub] [incubator-nuttx] gustavonihei opened a new issue #5916: libc++ on sim is broken

2022-03-30 Thread GitBox
gustavonihei opened a new issue #5916: URL: https://github.com/apache/incubator-nuttx/issues/5916 Testing `libc++` via a slight modified `sim:cxxtest` results in a segmentation fault. After a post-mortem analysis, it crashes due to a NULL-pointer dereference on the following line:

[GitHub] [incubator-nuttx-apps] anchao opened a new pull request #1114: sched/note: add support of trace section mark

2022-03-30 Thread GitBox
anchao opened a new pull request #1114: URL: https://github.com/apache/incubator-nuttx-apps/pull/1114 ## Summary sched/note: add support of trace section mark The implementation of this feature is based on android systrace: https://source.android.com/devices/tech/debug/f

[GitHub] [incubator-nuttx] anchao opened a new pull request #5915: sched/note: add support of trace section mark

2022-03-30 Thread GitBox
anchao opened a new pull request #5915: URL: https://github.com/apache/incubator-nuttx/pull/5915 ## Summary sched/note: add support of trace section mark The implementation of this feature is based on android systrace: https://source.android.com/devices/tech/debug/ftrace

[GitHub] [incubator-nuttx-apps] CV-Bowen commented on pull request #1113: testing/mm: repair the memory leak question when realloc failed.

2022-03-30 Thread GitBox
CV-Bowen commented on pull request #1113: URL: https://github.com/apache/incubator-nuttx-apps/pull/1113#issuecomment-1083222747 @xiaoxiang781216 -- 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

[GitHub] [incubator-nuttx-apps] CV-Bowen commented on pull request #1112: testing/mm: add memory boundary realloc test.

2022-03-30 Thread GitBox
CV-Bowen commented on pull request #1112: URL: https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1083215530 @masayuki2009 @pkarashchenko I found an memory leak question when working on this, please have a look. https://github.com/apache/incubator-nuttx-apps/pull/1113

[GitHub] [incubator-nuttx-apps] CV-Bowen opened a new pull request #1113: testing/mm: repair the memory leak question when realloc failed.

2022-03-30 Thread GitBox
CV-Bowen opened a new pull request #1113: URL: https://github.com/apache/incubator-nuttx-apps/pull/1113 ## Summary Repair the memory leak question when realloc failed. realloc return NULL if failed, so we have to use a local variable to store the return value to avoid the missing of o

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5905: arch/risc-v: Store/Restore FPU register in exception_common

2022-03-30 Thread GitBox
no1wudi commented on a change in pull request #5905: URL: https://github.com/apache/incubator-nuttx/pull/5905#discussion_r838582926 ## File path: arch/risc-v/src/common/riscv_exception_common.S ## @@ -147,6 +155,10 @@ exception_common: REGLOADs0, REG_INT_CTX(sp) /* resto

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#discussion_r838580880 ## File path: arch/risc-v/src/common/riscv_swint.c ## @@ -223,6 +227,18 @@ int riscv_swint(int irq, void *context, void *arg) {

[GitHub] [incubator-nuttx] pussuw commented on pull request #5913: arch/risc-v: Move group_addrenv to correct place

2022-03-30 Thread GitBox
pussuw commented on pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913#issuecomment-1083174945 @no1wudi to me this patch seems fine, I did not test with #5905 but the change itself is good. Thanks for the help all. -- This is an automated message from the Apache

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838577139 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile ( +#

[GitHub] [incubator-nuttx-apps] pkarashchenko commented on pull request #1111: apps/nsh:add resetcause command

2022-03-30 Thread GitBox
pkarashchenko commented on pull request #: URL: https://github.com/apache/incubator-nuttx-apps/pull/#issuecomment-1083158844 I approved the CI run. Let's wait it to finish. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Gi

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838540001 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile

[GitHub] [incubator-nuttx-apps] XinStellaris commented on pull request #1111: apps/nsh:add resetcause command

2022-03-30 Thread GitBox
XinStellaris commented on pull request #: URL: https://github.com/apache/incubator-nuttx-apps/pull/#issuecomment-1083135655 @xiaoxiang781216 Need your review and approval. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838525221 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile ( +#

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838525221 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile ( +#

[GitHub] [incubator-nuttx] pussuw commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838524206 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile ( +#

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838523525 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838522264 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5782: RISC-V: Implement option to run NuttX in supervisor mode (S-mode)

2022-03-30 Thread GitBox
pkarashchenko commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r838522264 ## File path: arch/risc-v/include/syscall.h ## @@ -207,7 +162,15 @@ static inline uintptr_t sys_call0(unsigned int nbr) asm volatile

  1   2   >