[incubator-nuttx] 03/03: mm: Add CONFIG_MM_PANIC_ON_FAILURE option

2022-05-20 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 5edf5e5585fa022c0399c7b5ccf5a36476dad4c5 Author: YAMAMOTO Takashi AuthorDate: Sat May 21 08:13:09 2022 +0900

[incubator-nuttx] branch master updated (2f03b42bfc -> 5edf5e5585)

2022-05-20 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 2f03b42bfc boards: arm: kl: keep cfmconfig sections in linker script new c546c0b647 mm: Do not abort

[incubator-nuttx] 02/03: mm: Move backtrace stuff into a separate option

2022-05-20 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 b05320cac2a8519516ebb9576dc3d64ef1c2a6ad Author: YAMAMOTO Takashi AuthorDate: Fri May 20 17:37:14 2022 +0900

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
xiaoxiang781216 merged PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305 -- 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: commits-unsubs

[incubator-nuttx] 01/03: mm: Do not abort on allocation failue with CONFIG_DEBUG_MM

2022-05-20 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 c546c0b647bd7e995678d8292f2cff9a8f7e9052 Author: YAMAMOTO Takashi AuthorDate: Fri May 20 17:20:10 2022 +0900

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

2022-05-20 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 0311c1c Publishing web

[GitHub] [incubator-nuttx] yamt commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
yamt commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878593694 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else { +#ifdef CON

[GitHub] [incubator-nuttx] davids5 commented on issue #6310: Priority Inheritance fails to restore base priority

2022-05-20 Thread GitBox
davids5 commented on issue #6310: URL: https://github.com/apache/incubator-nuttx/issues/6310#issuecomment-1133438807 > Few questions on this test: > > 1. What is the value of `SEM_NNESTPRIO`? > 2. What is the value of `SEM_PREALLOCHOLDERS`? SEM_NNESTPRIO=32 SEM_PREALLOCHO

[GitHub] [incubator-nuttx] pussuw commented on pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pussuw commented on PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#issuecomment-1133252289 I think the CI error is still not my doing Skipping: sim/sotest32 Configuration/T

[GitHub] [incubator-nuttx] pkarashchenko commented on issue #6310: Priority Inheritance fails to restore base priority

2022-05-20 Thread GitBox
pkarashchenko commented on issue #6310: URL: https://github.com/apache/incubator-nuttx/issues/6310#issuecomment-1133228015 Few questions on this test: 1. What is the value of `SEM_NNESTPRIO`? 2. What is the value of `SEM_PREALLOCHOLDERS`? -- This is an automated message from the Apa

[GitHub] [incubator-nuttx-apps] pkarashchenko commented on a diff in pull request #1168: ostest:priority_inheritance Added priority restoration test

2022-05-20 Thread GitBox
pkarashchenko commented on code in PR #1168: URL: https://github.com/apache/incubator-nuttx-apps/pull/1168#discussion_r878461499 ## testing/ostest/prioinherit.c: ## @@ -588,6 +667,61 @@ void priority_inheritance(void) dump_nfreeholders("priority_inheritance:"); }

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request, #1169: examples/README.md: Remove -nostartfiles and -nodefaultlibs

2022-05-20 Thread GitBox
xiaoxiang781216 opened a new pull request, #1169: URL: https://github.com/apache/incubator-nuttx-apps/pull/1169 ## Summary And Remove -nostartfiles and -nodefaultlibs from examples/README.md ## Impact Follow nuttx change: ## Testing Pass CI -- This is an automat

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6298: arch/arm/samv7: Fix PWM operation for single channel mode

2022-05-20 Thread GitBox
pkarashchenko commented on code in PR #6298: URL: https://github.com/apache/incubator-nuttx/pull/6298#discussion_r878367010 ## arch/arm/src/samv7/sam_pwm.c: ## @@ -493,71 +449,39 @@ static int pwm_start(struct pwm_lowerhalf_s *dev, const struct pwm_info_s *

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6302: xtensa: coproc: modify coproc_save/restore to macro

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6302: URL: https://github.com/apache/incubator-nuttx/pull/6302#discussion_r878349648 ## arch/xtensa/src/common/xtensa_coproc.S: ## @@ -89,31 +85,18 @@ _xtensa_coproc_saoffsets: * around the assembly language call to _xtensa_coproc_sav

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878332420 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else {

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6298: arch/arm/samv7: Fix PWM operation for single channel mode

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6298: URL: https://github.com/apache/incubator-nuttx/pull/6298#discussion_r878327156 ## arch/arm/src/samv7/sam_pwm.c: ## @@ -493,71 +449,39 @@ static int pwm_start(struct pwm_lowerhalf_s *dev, const struct pwm_info_s

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
pkarashchenko commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878320285 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else { +#

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1168: ostest:priority_inheritance Added priority restoration test

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #1168: URL: https://github.com/apache/incubator-nuttx-apps/pull/1168#discussion_r878231510 ## testing/ostest/prioinherit.c: ## @@ -88,10 +92,76 @@ static sem_t g_sem; static volatile enum thstate_e g_middlestate; static volatile enum th

[incubator-nuttx] 02/02: boards: arm: kl: keep cfmconfig sections in linker script

2022-05-20 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 2f03b42bfc234e211e13eed3df3ea87a40833b07 Author: Karel Kočí AuthorDate: Fri May 20 11:44:05 2022 +0200

[incubator-nuttx] branch master updated (f2bc4555bb -> 2f03b42bfc)

2022-05-20 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 f2bc4555bb kmalloc.h: Add kmm_heapmember for !CONFIG_MM_KERNEL_HEAP case new a74c707da6 arch: arm: a

[incubator-nuttx] 01/02: arch: arm: armv6-m: fix LTO build

2022-05-20 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 a74c707da651ffb357d24a6e90e46706024f2a9b Author: Karel Kočí AuthorDate: Fri May 20 11:37:25 2022 +0200

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878306656 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else {

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878306656 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else {

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6279: include:add recursive lock

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6279: URL: https://github.com/apache/incubator-nuttx/pull/6279#discussion_r878274715 ## include/nuttx/mutex.h: ## @@ -205,6 +217,210 @@ static inline int nxmutex_unlock(FAR mutex_t *mutex) return nxsem_post(mutex); } +/*

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6309: Armv6-m LTO fix

2022-05-20 Thread GitBox
xiaoxiang781216 merged PR #6309: URL: https://github.com/apache/incubator-nuttx/pull/6309 -- 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: commits-unsubs

[GitHub] [incubator-nuttx] davids5 commented on issue #6310: Priority Inheritance fails to restore base priority

2022-05-20 Thread GitBox
davids5 commented on issue #6310: URL: https://github.com/apache/incubator-nuttx/issues/6310#issuecomment-1133044221 It is still broken. Tested with NuttX master f2bc4555bb0a4386ecc10ac04eb2de34864835e4 NuttX Apps f2bc4555bb0a4386ecc10ac04eb2de34864835e4 ``` priority_inherita

[GitHub] [incubator-nuttx] davids5 commented on issue #6310: Priority Inheritance fails to restore base priority

2022-05-20 Thread GitBox
davids5 commented on issue #6310: URL: https://github.com/apache/incubator-nuttx/issues/6310#issuecomment-1132954079 This may have been resolved on master after https://github.com/apache/incubator-nuttx/pull/5171 came in. But the test was not detecting the issue. - I will re-test with mast

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6302: xtensa: coproc: modify coproc_save/restore to macro

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6302: URL: https://github.com/apache/incubator-nuttx/pull/6302#discussion_r878196367 ## arch/xtensa/src/common/xtensa_coproc.S: ## @@ -123,86 +106,85 @@ _xtensa_coproc_savestate: * ---|

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6302: xtensa: coproc: modify coproc_save/restore to macro

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6302: URL: https://github.com/apache/incubator-nuttx/pull/6302#discussion_r878196043 ## arch/xtensa/src/common/xtensa_coproc.S: ## @@ -70,13 +68,11 @@ _xtensa_coproc_saoffsets: .size_xtensa_coproc_saoffsets, . - _xtensa_coproc_sao

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878180283 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else { +#i

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878180283 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else { +#i

[incubator-nuttx-apps] branch master updated: interpreters/wamr/Kconfig: Add INTERPRETERS_WAMR_PERF_PROFILING

2022-05-20 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 137b924b9 interpreters/wamr/Kco

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1166: interpreters/wamr/Kconfig: Add INTERPRETERS_WAMR_PERF_PROFILING

2022-05-20 Thread GitBox
xiaoxiang781216 merged PR #1166: URL: https://github.com/apache/incubator-nuttx-apps/pull/1166 -- 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: commits-u

[GitHub] [incubator-nuttx-apps] davids5 opened a new pull request, #1168: ostest:priority_inheritance Added priority restoration test

2022-05-20 Thread GitBox
davids5 opened a new pull request, #1168: URL: https://github.com/apache/incubator-nuttx-apps/pull/1168 ## Summary See https://github.com/apache/incubator-nuttx/issues/6310 ## Impact Loss of system priorities ## Testing master nuttx -- This is an auto

[GitHub] [incubator-nuttx] davids5 opened a new issue, #6310: Priority Inheritance fails to restore base priority

2022-05-20 Thread GitBox
davids5 opened a new issue, #6310: URL: https://github.com/apache/incubator-nuttx/issues/6310 Reproduce CONFIG_PRIORITY_INHERITANCE is enabled CONFIG_SEM_PREALLOCHOLDERS is either 0 (use the array of holder) or N use the pr

[GitHub] [incubator-nuttx] eenurkka commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
eenurkka commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878159941 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -115,22 +114,30 @@ struct mpfs_rptun_dev_s char shmemname[RPMSG_NAME_SIZE + 1]; }; -typede

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878152820 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else {

[incubator-nuttx] branch master updated (de27cfeec7 -> f2bc4555bb)

2022-05-20 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 de27cfeec7 kmalloc.h: Remove extra semicolons add 35a5cc27ac include/nuttx/arch.h: Add up_textheap_he

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6306: Add up_textheap_heapmember

2022-05-20 Thread GitBox
xiaoxiang781216 merged PR #6306: URL: https://github.com/apache/incubator-nuttx/pull/6306 -- 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: commits-unsubs

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878131916 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -115,22 +114,30 @@ struct mpfs_rptun_dev_s char shmemname[RPMSG_NAME_SIZE + 1]; }; -ty

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878132073 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -115,22 +114,30 @@ struct mpfs_rptun_dev_s char shmemname[RPMSG_NAME_SIZE + 1]; }; -ty

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878131823 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -115,22 +114,30 @@ struct mpfs_rptun_dev_s char shmemname[RPMSG_NAME_SIZE + 1]; }; -ty

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878131472 ## arch/risc-v/src/mpfs/hardware/mpfs_ihc.h: ## @@ -274,57 +274,19 @@ #define IHC_MAX_MESSAGE_SIZE4 -typedef union ihca_ip_int_en_t_ -{ - uint32_t

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878130883 ## arch/risc-v/src/mpfs/hardware/mpfs_ihc.h: ## @@ -274,57 +274,19 @@ #define IHC_MAX_MESSAGE_SIZE4 -typedef union ihca_ip_int_en_t_ -{ - uint32_t

[incubator-nuttx] branch master updated: kmalloc.h: Remove extra semicolons

2022-05-20 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 de27cfeec7 kmalloc.h: Remove extra s

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6308: kmalloc.h: Remove extra semicolons

2022-05-20 Thread GitBox
xiaoxiang781216 merged PR #6308: URL: https://github.com/apache/incubator-nuttx/pull/6308 -- 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: commits-unsubs

[GitHub] [incubator-nuttx] Cynerd opened a new pull request, #6309: Armv6-m LTO fix

2022-05-20 Thread GitBox
Cynerd opened a new pull request, #6309: URL: https://github.com/apache/incubator-nuttx/pull/6309 ## Summary The previous commits added support for LTO to both GCC and Clang but the Armv6-m build wasn't producing the correct result. Technically it procured an empty file or reported missi

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878119279 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else { +#i

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
gustavonihei commented on code in PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#discussion_r878120386 ## mm/mm_heap/mm_malloc.c: ## @@ -244,15 +244,18 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM else { +#i

[GitHub] [incubator-nuttx] eenurkka commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
eenurkka commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878111756 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -367,6 +440,50 @@ static void mpfs_ihc_rx_handler(uint32_t *message, bool is_ack) } } +/*

[incubator-nuttx] branch master updated (0a1ac4762a -> ba6ee2a407)

2022-05-20 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 0a1ac4762a littlefs_stat: Fix directory size add ba6ee2a407 pthread/spinlock: Call up_testsest dir

[GitHub] [incubator-nuttx] gustavonihei merged pull request #6283: pthread/spinlock: Call up_testsest directly in the flat build

2022-05-20 Thread GitBox
gustavonihei merged PR #6283: URL: https://github.com/apache/incubator-nuttx/pull/6283 -- 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: commits-unsubscr.

[incubator-nuttx] branch master updated (91063e85f0 -> 0a1ac4762a)

2022-05-20 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 91063e85f0 risc-v/vfork: FPU was not saved correctly add 0a1ac4762a littlefs_stat: Fix directory

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #6307: littlefs_stat: Fix directory size

2022-05-20 Thread GitBox
pkarashchenko merged PR #6307: URL: https://github.com/apache/incubator-nuttx/pull/6307 -- 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: commits-unsubscr

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6279: include:add recursive lock

2022-05-20 Thread GitBox
pkarashchenko commented on code in PR #6279: URL: https://github.com/apache/incubator-nuttx/pull/6279#discussion_r878096488 ## include/nuttx/mutex.h: ## @@ -205,6 +214,200 @@ static inline int nxmutex_unlock(FAR mutex_t *mutex) return nxsem_post(mutex); } +/***

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
pkarashchenko commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r878087167 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -367,6 +440,50 @@ static void mpfs_ihc_rx_handler(uint32_t *message, bool is_ack) } } +/

[GitHub] [incubator-nuttx] Ouss4 commented on pull request #6306: Add up_textheap_heapmember

2022-05-20 Thread GitBox
Ouss4 commented on PR #6306: URL: https://github.com/apache/incubator-nuttx/pull/6306#issuecomment-1132822783 > > LGTM! > > Although [bytecodealliance/wasm-micro-runtime#1181](https://github.com/bytecodealliance/wasm-micro-runtime/pull/1181) calls directly into arch code. We briefly disc

[GitHub] [incubator-nuttx] yamt commented on pull request #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
yamt commented on PR #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305#issuecomment-1132820103 i pushed a lot of unrelated stuff to the branch mistakenly and then restored. -- This is an automated message from the Apache Git Service. To respond to the message, please log on t

[GitHub] [incubator-nuttx] yamt opened a new pull request, #6308: kmalloc.h: Remove extra semicolons

2022-05-20 Thread GitBox
yamt opened a new pull request, #6308: URL: https://github.com/apache/incubator-nuttx/pull/6308 ## Summary kmalloc.h: Remove extra semicolons ## Impact ## Testing -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [incubator-nuttx] yamt commented on pull request #6306: Add up_textheap_heapmember

2022-05-20 Thread GitBox
yamt commented on PR #6306: URL: https://github.com/apache/incubator-nuttx/pull/6306#issuecomment-1132805828 > LGTM! > > Although [bytecodealliance/wasm-micro-runtime#1181](https://github.com/bytecodealliance/wasm-micro-runtime/pull/1181) calls directly into arch code. We briefly dis

[GitHub] [incubator-nuttx] pussuw commented on pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pussuw commented on PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#issuecomment-1132802121 I don't think the CI error is of my making: ==> Downloading https://ghcr.io/v2/homebrew/core/hiredis/manifests/1.0.2 curl: (22) The requested URL returned error: 500 Error

[GitHub] [incubator-nuttx-apps] zhuyanlinzyl opened a new pull request, #1167: pmconfig: add last state and modify current state to next state

2022-05-20 Thread GitBox
zhuyanlinzyl opened a new pull request, #1167: URL: https://github.com/apache/incubator-nuttx-apps/pull/1167 Signed-off-by: zhuyanlin ## Summary ## Impact ## Testing Testing pass in inner board -- This is an automated message from the Apache Git Service. To

[GitHub] [incubator-nuttx] davids5 commented on a diff in pull request #6279: include:add recursive lock

2022-05-20 Thread GitBox
davids5 commented on code in PR #6279: URL: https://github.com/apache/incubator-nuttx/pull/6279#discussion_r878007864 ## include/nuttx/mutex.h: ## @@ -205,6 +216,210 @@ static inline int nxmutex_unlock(FAR mutex_t *mutex) return nxsem_post(mutex); } +/*

[GitHub] [incubator-nuttx] yamt commented on pull request #6307: littlefs_stat: Fix directory size

2022-05-20 Thread GitBox
yamt commented on PR #6307: URL: https://github.com/apache/incubator-nuttx/pull/6307#issuecomment-1132732129 > lfs_info.size is only valid for LFS_TYPE_REG. see https://github.com/littlefs-project/littlefs/blob/40dba4a556e0d81dfbe64301a6aa4e18ceca896c/lfs.h#L273-L274 -- This is an

[GitHub] [incubator-nuttx] yamt opened a new pull request, #6307: littlefs_stat: Fix directory size

2022-05-20 Thread GitBox
yamt opened a new pull request, #6307: URL: https://github.com/apache/incubator-nuttx/pull/6307 ## Summary lfs_info.size is only valid for LFS_TYPE_REG. For directory, use 0 instead of stack garbage. ## Impact ## Testing tested on esp32 -- This is an automated me

[GitHub] [incubator-nuttx] yamt opened a new pull request, #6306: Add up_textheap_heapmember

2022-05-20 Thread GitBox
yamt opened a new pull request, #6306: URL: https://github.com/apache/incubator-nuttx/pull/6306 ## Summary intended usage: https://github.com/bytecodealliance/wasm-micro-runtime/pull/1181 ## Impact ## Testing tested on esp32 (with various other patches) -- This is

[GitHub] [incubator-nuttx] eenurkka commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
eenurkka commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r877906705 ## arch/risc-v/src/mpfs/mpfs_opensbi.c: ## @@ -499,6 +517,72 @@ static void mpfs_opensbi_pmp_setup(void) csr_write(pmpcfg2, 0); } +/**

[GitHub] [incubator-nuttx-apps] yamt opened a new pull request, #1166: interpreters/wamr/Kconfig: Add INTERPRETERS_WAMR_PERF_PROFILING

2022-05-20 Thread GitBox
yamt opened a new pull request, #1166: URL: https://github.com/apache/incubator-nuttx-apps/pull/1166 ## Summary interpreters/wamr/Kconfig: Add INTERPRETERS_WAMR_PERF_PROFILING ## Impact ## Testing tested on esp32 -- This is an automated message from the Apache Git S

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pussuw commented on code in PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#discussion_r877898130 ## arch/risc-v/src/mpfs/mpfs_shead.S: ## @@ -0,0 +1,87 @@ +/ + * /nuttx-bare/arch/risc

[GitHub] [incubator-nuttx] eenurkka commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
eenurkka commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r877895842 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -367,6 +440,51 @@ static void mpfs_ihc_rx_handler(uint32_t *message, bool is_ack) } } +/*

[GitHub] [incubator-nuttx] yamt opened a new pull request, #6305: Separate a few debug stuff from CONFIG_DEBUG_MM

2022-05-20 Thread GitBox
yamt opened a new pull request, #6305: URL: https://github.com/apache/incubator-nuttx/pull/6305 ## Summary Separate a few debug stuff from CONFIG_DEBUG_MM. * backtrace * dump and abort on failure ## Impact ## Testing compile tested a few combinations tested on

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pussuw commented on code in PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#discussion_r877893640 ## arch/risc-v/src/mpfs/mpfs_head.S: ## @@ -100,30 +100,17 @@ __start: csrr a0, mhartid beqz a0, .skip_e51 - /* Clear sscratch if u54 */ - - csrw sscrat

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pussuw commented on code in PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#discussion_r877891686 ## arch/risc-v/src/mpfs/mpfs_shead.S: ## @@ -0,0 +1,87 @@ +/ + * /nuttx-bare/arch/risc

[GitHub] [incubator-nuttx] pussuw commented on a diff in pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pussuw commented on code in PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#discussion_r877891436 ## arch/risc-v/src/mpfs/mpfs_shead.S: ## @@ -0,0 +1,87 @@ +/ + * /nuttx-bare/arch/risc

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
pkarashchenko commented on code in PR #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304#discussion_r877870638 ## arch/risc-v/src/mpfs/mpfs_ihc.c: ## @@ -367,6 +440,51 @@ static void mpfs_ihc_rx_handler(uint32_t *message, bool is_ack) } } +/

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pkarashchenko commented on code in PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#discussion_r877864955 ## arch/risc-v/src/mpfs/mpfs_shead.S: ## @@ -0,0 +1,87 @@ +/ + * /nuttx-bare/ar

[GitHub] [incubator-nuttx] eenurkka opened a new pull request, #6304: risc-v/mpfs: amend OpenSBI to utilize IHC

2022-05-20 Thread GitBox
eenurkka opened a new pull request, #6304: URL: https://github.com/apache/incubator-nuttx/pull/6304 Linux kernel uses M-mode trap for handling Inter-Hart Communication (IHC). This patch provides all the required functionalities for this purpose. Previously, HSS bootloader was required.

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
xiaoxiang781216 commented on code in PR #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303#discussion_r877856797 ## arch/risc-v/src/mpfs/mpfs_head.S: ## @@ -100,30 +100,17 @@ __start: csrr a0, mhartid beqz a0, .skip_e51 - /* Clear sscratch if u54 */ - - cs

[incubator-nuttx] branch master updated: risc-v/vfork: FPU was not saved correctly

2022-05-20 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 91063e85f0 risc-v/vfork: FPU was not

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6300: risc-v/vfork: FPU was not saved correctly

2022-05-20 Thread GitBox
xiaoxiang781216 merged PR #6300: URL: https://github.com/apache/incubator-nuttx/pull/6300 -- 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: commits-unsubs

[GitHub] [incubator-nuttx] pussuw opened a new pull request, #6303: MPFS: Implement S-mode head and start function

2022-05-20 Thread GitBox
pussuw opened a new pull request, #6303: URL: https://github.com/apache/incubator-nuttx/pull/6303 - Remove S-mode initializations from the M-mode head file, they are not required - Writing mstatus->tvm from S-mode will result in illegal instruction ## Summary Adds proper sta