[incubator-nuttx] branch master updated: arch/risc-v: Change hex number to low case in csr.h

2022-03-13 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.git The following commit(s) were added to refs/heads/master by this push: new ea61409 arch/risc-v: Change hex

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5730: arch/risc-v: Change hex number to low case in csr.h

2022-03-13 Thread GitBox
pkarashchenko merged pull request #5730: URL: https://github.com/apache/incubator-nuttx/pull/5730 -- 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 change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
Ouss4 commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825416189 ## File path: arch/xtensa/src/common/xtensa_asm_utils.h ## @@ -0,0 +1,76 @@ +/**

[GitHub] [incubator-nuttx] AndrewD commented on issue #3031: Unified device interface, callback based initialization and devicetree (DTS)

2022-03-13 Thread GitBox
AndrewD commented on issue #3031: URL: https://github.com/apache/incubator-nuttx/issues/3031#issuecomment-1066063212 Have you gone any further with this yourself since this proposal? We are interested to use device tree with nuttx in a product and have cloned your fork referenced in #1020

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #3031: Unified device interface, callback based initialization and devicetree (DTS)

2022-03-13 Thread GitBox
xiaoxiang781216 commented on issue #3031: URL: https://github.com/apache/incubator-nuttx/issues/3031#issuecomment-1066083202 It's nice to see we can finish @protobits's initiative. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Gi

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
Ouss4 commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825438352 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only level-specific

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
Ouss4 commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825438352 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only level-specific

[GitHub] [incubator-nuttx] no1wudi opened a new pull request #5731: arch/risc-v: Improve speed of context switch

2022-03-13 Thread GitBox
no1wudi opened a new pull request #5731: URL: https://github.com/apache/incubator-nuttx/pull/5731 ## Summary Follow #5645 ## Impact RISC-V ## Testing maix-bit/rv-virt:nsh/smp on qemu -- This is an automated message from the Apache Git Service. To respond to the mes

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5731: arch/risc-v: Improve speed of context switch

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5731: URL: https://github.com/apache/incubator-nuttx/pull/5731#discussion_r825443766 ## File path: arch/risc-v/src/qemu-rv/qemu_rv_head.S ## @@ -77,9 +77,9 @@ __start: ld sp, 0(t0) #endif - /* sp (stack top) = sp +

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825454231 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only level-

[GitHub] [incubator-nuttx] acassis commented on pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
acassis commented on pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#issuecomment-1066112350 Hi @anchao is it possible to add this test inside apps/testing/ ? So we can compare context switching time between different architectures -- This is an automated mes

[GitHub] [incubator-nuttx] acassis merged pull request #5728: drivers: Merge the common driver initialization into one place

2022-03-13 Thread GitBox
acassis merged pull request #5728: URL: https://github.com/apache/incubator-nuttx/pull/5728 -- 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: commit

[incubator-nuttx] branch master updated: drivers: Merge the common driver initialization into one place

2022-03-13 Thread acassis
This is an automated email from the ASF dual-hosted git repository. acassis 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 c96c96a drivers: Merge the common dri

[GitHub] [incubator-nuttx] hartmannathan commented on pull request #5151: Tiva CAN driver

2022-03-13 Thread GitBox
hartmannathan commented on pull request #5151: URL: https://github.com/apache/incubator-nuttx/pull/5151#issuecomment-1066116927 > Thanks for the feedback. Not all TM4C devices have dual CAN: https://www.ti.com/lit/sg/spmt285e/spmt285e.pdf Ah I see; many of the TM4C123 parts have only

[GitHub] [incubator-nuttx-apps] kassane opened a new pull request #1059: App: zig example - Hello

2022-03-13 Thread GitBox
kassane opened a new pull request #1059: URL: https://github.com/apache/incubator-nuttx-apps/pull/1059 ## Summary Hello zig. ## Impact none. ## Testing Arch Linux - simulation -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [incubator-nuttx] kassane opened a new pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
kassane opened a new pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732 [Zig](https://ziglang.org) is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. # Summary I made an example of [hello_zig](

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5731: arch/risc-v: Improve speed of context switch

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5731: URL: https://github.com/apache/incubator-nuttx/pull/5731#discussion_r825468065 ## File path: arch/risc-v/src/common/riscv_schedulesigaction.c ## @@ -293,8 +298,26 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
Ouss4 commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825469000 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only level-specific

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#discussion_r825468945 ## File path: tools/ci/docker/linux/Dockerfile ## @@ -89,10 +88,11 @@ RUN curl -s https://ziglang.org/download/index.json \ file=$(ls

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
xiaoxiang781216 commented on pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#issuecomment-1066131198 @kassane could you reorg your patch to remove the temporary change? -- This is an automated message from the Apache Git Service. To respond to the message, ple

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825469890 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only leve

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825469995 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only level-

[GitHub] [incubator-nuttx] kassane commented on a change in pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
kassane commented on a change in pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#discussion_r825470083 ## File path: tools/ci/docker/linux/Dockerfile ## @@ -68,6 +70,30 @@ RUN mkdir -p $CARGO_HOME \ && $CARGO_HOME/bin/rustup target add thumbv6m-n

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825469995 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only level-

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request #1060: examples/hello_rust: Change hello_rust_main to main

2022-03-13 Thread GitBox
xiaoxiang781216 opened a new pull request #1060: URL: https://github.com/apache/incubator-nuttx-apps/pull/1060 ## Summary Follow other main source ## Impact Minor ## Testing Pass CI -- This is an automated message from the Apache Git Service. To respond to the m

[GitHub] [incubator-nuttx] kassane commented on a change in pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
kassane commented on a change in pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#discussion_r825470083 ## File path: tools/ci/docker/linux/Dockerfile ## @@ -68,6 +70,30 @@ RUN mkdir -p $CARGO_HOME \ && $CARGO_HOME/bin/rustup target add thumbv6m-n

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825472091 ## File path: arch/arm/src/arm/arm_initialstate.c ## @@ -73,20 +77,28 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_color(t

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825472170 ## File path: arch/arm/src/armv6-m/arm_initialstate.c ## @@ -75,16 +79,24 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_col

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825472275 ## File path: arch/arm/src/armv7-a/arm_initialstate.c ## @@ -73,16 +77,24 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_col

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825472286 ## File path: arch/arm/src/armv7-m/arm_initialstate.c ## @@ -76,16 +80,24 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_col

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825472321 ## File path: arch/arm/src/armv7-r/arm_initialstate.c ## @@ -73,16 +77,24 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_col

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#discussion_r825472351 ## File path: arch/xtensa/src/common/xtensa_int_handlers.S ## @@ -768,13 +756,13 @@ _xtensa_level6_handler: /* Restore only leve

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825472375 ## File path: arch/arm/src/armv8-m/arm_initialstate.c ## @@ -76,16 +80,24 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_col

[GitHub] [incubator-nuttx] kassane commented on pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
kassane commented on pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#issuecomment-1066155234 > @kassane could you reorg your patch to remove the temporary change? Rebase? -- This is an automated message from the Apache Git Service. To respond to the mes

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
xiaoxiang781216 commented on pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#issuecomment-1066159421 > > @kassane could you reorg your patch to remove the temporary change? > > Rebase? yes, please: git remote add apache g...@github.com:apache/inc

[GitHub] [incubator-nuttx] Ouss4 commented on pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
Ouss4 commented on pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#issuecomment-1066186162 I applied all suggestions and squashed the commits. > Yes, I agree that the tab/space usage should be consistent, either tab or space is fine, but not mix. Since ma

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5720: arch: Merge up_arch.h into up_internal.h

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5720: URL: https://github.com/apache/incubator-nuttx/pull/5720#discussion_r825506055 ## File path: arch/risc-v/src/mpfs/mpfs_opensbi.c ## @@ -22,25 +22,12 @@ * Included Files **

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

2022-03-13 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 23eefea Publishing web

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5731: arch/risc-v: Improve speed of context switch

2022-03-13 Thread GitBox
masayuki2009 commented on pull request #5731: URL: https://github.com/apache/incubator-nuttx/pull/5731#issuecomment-1066240709 @no1wudi I tried this PR with maix-bit:kostest on QEMU but the ASSERTION happened. ``` $ ~/opensource/QEMU/qemu-5.2/build/riscv64-softmmu/qemu-syst

[GitHub] [incubator-nuttx] no1wudi opened a new pull request #5733: drivers/note: Correct macro guard for instrumention switch

2022-03-13 Thread GitBox
no1wudi opened a new pull request #5733: URL: https://github.com/apache/incubator-nuttx/pull/5733 ## Summary Fix ``` note/notelog_driver.c:95:1: error: expected identifier or '(' before '{' token { ^ note/notelog_driver.c:116:1: error: expected identifier or '(' before '

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5720: arch: Merge up_arch.h into up_internal.h

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5720: URL: https://github.com/apache/incubator-nuttx/pull/5720#discussion_r82833 ## File path: boards/arm/sama5/sama5d4-ek/src/sam_sdram.c ## @@ -274,7 +273,7 @@ static void sam_config_slaveddr(void) * "Two DDR2/SDR

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5720: arch: Merge up_arch.h into up_internal.h

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5720: URL: https://github.com/apache/incubator-nuttx/pull/5720#discussion_r825556113 ## File path: arch/z80/src/common/z80_internal.h ## @@ -73,6 +73,21 @@ #define STACK_ALIGN_DOWN(a) ((a) & ~STACK_ALIGN_MASK) #define STA

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5720: arch: Merge up_arch.h into up_internal.h

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5720: URL: https://github.com/apache/incubator-nuttx/pull/5720#discussion_r825556408 ## File path: arch/risc-v/src/bl602/bl602_systemreset.c ## @@ -68,6 +67,7 @@ void up_systemreset(void) asm volatile("csrci mstatus, 8")

[GitHub] [incubator-nuttx] no1wudi commented on pull request #5731: arch/risc-v: Improve speed of context switch

2022-03-13 Thread GitBox
no1wudi commented on pull request #5731: URL: https://github.com/apache/incubator-nuttx/pull/5731#issuecomment-1066286230 @masayuki2009 Emm, I meet another problem with qemu-6.2 with mainline or this PR: ``` > Executing task: qemu-system-riscv64 -M sifive_u -device loader,file=nuttx/

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5733: drivers/note: Add macro guard for instrumention switch

2022-03-13 Thread GitBox
xiaoxiang781216 merged pull request #5733: URL: https://github.com/apache/incubator-nuttx/pull/5733 -- 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 (c96c96a -> 7d58e62)

2022-03-13 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 c96c96a drivers: Merge the common driver initialization into one place add 7d58e62 drivers/note: A

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#discussion_r825560041 ## File path: tools/ci/cibuild.sh ## @@ -381,6 +381,26 @@ function rust { fi } +function zig { + mkdir -p "${prebuilt}"/zig + add_

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5732: Zig build on NuttX

2022-03-13 Thread GitBox
xiaoxiang781216 commented on pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#issuecomment-1066288585 @kassane I think the change for docker is also needed, you can create another patch for docker. -- This is an automated message from the Apache Git Service. T

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
xiaoxiang781216 commented on pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729#issuecomment-1066289806 > I applied all suggestions and squashed the commits. > > > Yes, I agree that the tab/space usage should be consistent, either tab or space is fine, but n

[incubator-nuttx] 01/09: xtensa_context.S: Remove the CALL0 ABI version of xtensa_context_switch as it's the same as the Window ABI now.

2022-03-13 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 e9018b29bf758c4721917a70c356b2c47176c199 Author: Abdelatif Guettouche AuthorDate: Fri Mar 11 15:58:56 2022 +

[incubator-nuttx] 04/09: xtensa_context.S: No need to save A2 before calling _xtensa_save_context. It uses CALL0, in this case A1 is callee saved and we can it directly.

2022-03-13 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 4786963ee2bb48e4888f87b3cf0da6e5c2b9806e Author: Abdelatif Guettouche AuthorDate: Fri Mar 11 18:54:36 2022 +

[incubator-nuttx] 02/09: xtensa_context.S: Fix the type of _xtensa_context_restore.

2022-03-13 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 5bd2e97a27954fdeba9168b883f139e11983977d Author: Abdelatif Guettouche AuthorDate: Fri Mar 11 16:09:18 2022 +

[incubator-nuttx] 07/09: xtensa_user_handler.S: In syscall handler store context before continuing the rest of the syscall handling.

2022-03-13 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 4d1bb20f8c0edb01fd02b63bb5d22967060724c4 Author: Abdelatif Guettouche AuthorDate: Sat Mar 12 23:10:22 2022 +

[incubator-nuttx] 06/09: xtensa_context.S: Use Zephyr's version of spilling the window register file.

2022-03-13 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 5305f76b1d8858f20d36c464d4e8c670c25b41ef Author: Abdelatif Guettouche AuthorDate: Fri Mar 11 19:36:56 2022 +

[GitHub] [incubator-nuttx] xiaoxiang781216 closed issue #574: _xtensa_panic clobbers the exception code

2022-03-13 Thread GitBox
xiaoxiang781216 closed issue #574: URL: https://github.com/apache/incubator-nuttx/issues/574 -- 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: commi

[incubator-nuttx] 09/09: arch/xtensa: Fix some indentations.

2022-03-13 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 cff3d9df7b980f9d89c391405205ead57dd10515 Author: Abdelatif Guettouche AuthorDate: Sun Mar 13 22:26:35 2022 +

[incubator-nuttx] 05/09: xtensa_dumpstate.c: Don't dump temporary registers.

2022-03-13 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 2445de173d444dcdec295afae28b6a983e6bd674 Author: Abdelatif Guettouche AuthorDate: Fri Mar 11 19:13:49 2022 +

[incubator-nuttx] branch master updated (7d58e62 -> cff3d9d)

2022-03-13 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 7d58e62 drivers/note: Add macro guard for instrumention switch new e9018b2 xtensa_context.S: Remov

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5729: arch/xtensa: Small improvements around xtensa_context

2022-03-13 Thread GitBox
xiaoxiang781216 merged pull request #5729: URL: https://github.com/apache/incubator-nuttx/pull/5729 -- 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] 08/09: xtensa/: Save A3 as part of the regular context saving.

2022-03-13 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 6fa4a42e34191e559ed5849511da0e6be63490bd Author: Abdelatif Guettouche AuthorDate: Sat Mar 12 23:38:01 2022 +

[incubator-nuttx] 03/09: xtensa_context.S: A1 should be restored by the caller not xtensa_context_resotred. Here it was being restored twice. Remove the one in xtensa_context_restore.

2022-03-13 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 2dcbf28f15783b30fde57ce99626b41587fff8b6 Author: Abdelatif Guettouche AuthorDate: Fri Mar 11 16:23:57 2022 +

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5662: arch/arm: Move ARCHCPUFLAGS to Toolchain.defs

2022-03-13 Thread GitBox
xiaoxiang781216 commented on pull request #5662: URL: https://github.com/apache/incubator-nuttx/pull/5662#issuecomment-1066296553 @no1wudi this patch need rebase to the last mainline. -- 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 change in pull request #5720: arch: Merge up_arch.h into up_internal.h

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5720: URL: https://github.com/apache/incubator-nuttx/pull/5720#discussion_r825567007 ## File path: arch/sparc/src/common/up_internal.h ## @@ -175,6 +182,12 @@ extern uint32_t _bmxdupba_address; /* BMX register setting */

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 closed pull request #1060: examples/hello_rust: Change hello_rust_main to main

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

[GitHub] [incubator-nuttx] no1wudi commented on pull request #5731: arch/risc-v: Improve speed of context switch

2022-03-13 Thread GitBox
no1wudi commented on pull request #5731: URL: https://github.com/apache/incubator-nuttx/pull/5731#issuecomment-1066322171 @masayuki2009 I can't reproduce this issue but the problem mentioned in #5672 occured: ``` user_main: nested signal handler test signest_test: Starting signal w

[GitHub] [incubator-nuttx] anchao opened a new pull request #5734: arm/armv7-a/r: set the default CPU mode to System

2022-03-13 Thread GitBox
anchao opened a new pull request #5734: URL: https://github.com/apache/incubator-nuttx/pull/5734 ## Summary In SVC mode, the banked register will be inconsistent with the user mode register: ``` arch/arm/src/armv7-a/arm_vectors.S 276 .globl arm_syscall 27

[GitHub] [incubator-nuttx] anchao commented on pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
anchao commented on pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#issuecomment-1066336425 > > I noticed that lm3s6965-ek:qemu-kostest (QEMU) failed with this PR. @masayuki2009 san, There is a issue with the consistency of banked registers in SVC

[GitHub] [incubator-nuttx-apps] DS-LK opened a new pull request #1061: apps/wamr: Add wamr memory Kconfig

2022-03-13 Thread GitBox
DS-LK opened a new pull request #1061: URL: https://github.com/apache/incubator-nuttx-apps/pull/1061 ## Summary wamr itself comes with a task, which we usually do not use directly, so closing this configuration can save about 50k code size. In addition, increase the memory configuration

[GitHub] [incubator-nuttx] anchao commented on pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
anchao commented on pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#issuecomment-1066398679 > Hi @anchao is it possible to add this test inside apps/testing/ ? So we can compare context switching time between different architectures Great idea, I'll add t

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5734: arm/armv7-a/r: set the default CPU mode to System

2022-03-13 Thread GitBox
xiaoxiang781216 commented on a change in pull request #5734: URL: https://github.com/apache/incubator-nuttx/pull/5734#discussion_r825605528 ## File path: arch/arm/src/armv7-a/arm_vectors.S ## @@ -279,53 +220,39 @@ arm_vectorirq: arm_vectorsvc: +#ifdef CONFIG_ARMV7A_DECODEF

[GitHub] [incubator-nuttx] masayuki2009 commented on a change in pull request #5734: arm/armv7-a/r: set the default CPU mode to System

2022-03-13 Thread GitBox
masayuki2009 commented on a change in pull request #5734: URL: https://github.com/apache/incubator-nuttx/pull/5734#discussion_r825602682 ## File path: arch/arm/src/armv7-a/arm_vectors.S ## @@ -279,53 +220,39 @@ arm_vectorirq: arm_vectorsvc: +#ifdef CONFIG_ARMV7A_DECODEFIQ

[GitHub] [incubator-nuttx] anchao opened a new pull request #5735: drviers/syslog: correct the return value of default channel write

2022-03-13 Thread GitBox
anchao opened a new pull request #5735: URL: https://github.com/apache/incubator-nuttx/pull/5735 ## Summary drviers/syslog: correct the return value of default channel write ## Impact CONFIG_CONSOLE_SYSLOG=y ## Testing ostesting with CONFIG_CONSOLE_SYSLOG=y

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5724: boards: sabre-6quad: Add CONFIG_DEBUG_FULLOPT=y to knsh/defconfig

2022-03-13 Thread GitBox
masayuki2009 commented on pull request #5724: URL: https://github.com/apache/incubator-nuttx/pull/5724#issuecomment-1066403256 I confirmed that https://github.com/apache/incubator-nuttx/pull/5734 fixes the sabref-6quad:knsh + gcc-10.3 issue. -- This is an automated message from the A

[GitHub] [incubator-nuttx-apps] Gary-Hobson opened a new pull request #1062: system/input: add input tool button support

2022-03-13 Thread GitBox
Gary-Hobson opened a new pull request #1062: URL: https://github.com/apache/incubator-nuttx-apps/pull/1062 Change-Id: Ie7eeab0a65501cd1cc015db09890367947cd352c Signed-off-by: yinshengkai ## Summary ## Impact ## Testing -- This is an automated message from

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #5734: arm/armv7-a/r: set the default CPU mode to System

2022-03-13 Thread GitBox
anchao commented on a change in pull request #5734: URL: https://github.com/apache/incubator-nuttx/pull/5734#discussion_r825620627 ## File path: arch/arm/src/armv7-r/arm_vectors.S ## @@ -233,53 +174,39 @@ arm_vectorirq: arm_vectorsvc: +#ifdef CONFIG_ARMV7A_DECODEFIQ +

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #5724: boards: sabre-6quad: Add CONFIG_DEBUG_FULLOPT=y to knsh/defconfig

2022-03-13 Thread GitBox
pkarashchenko commented on pull request #5724: URL: https://github.com/apache/incubator-nuttx/pull/5724#issuecomment-1066426882 Should we revert this change? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL abo

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5720: arch: Merge up_arch.h into up_internal.h

2022-03-13 Thread GitBox
pkarashchenko commented on a change in pull request #5720: URL: https://github.com/apache/incubator-nuttx/pull/5720#discussion_r825626922 ## File path: arch/sparc/src/common/up_internal.h ## @@ -175,6 +182,12 @@ extern uint32_t _bmxdupba_address; /* BMX register setting */

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5724: boards: sabre-6quad: Add CONFIG_DEBUG_FULLOPT=y to knsh/defconfig

2022-03-13 Thread GitBox
masayuki2009 commented on pull request #5724: URL: https://github.com/apache/incubator-nuttx/pull/5724#issuecomment-1066432152 > Should we revert this change? @pkarashchenko It's OK to keep the current configuration because `CONFIG_DEBUG_FULLOPT=y` is set in most of defconfigs.

[GitHub] [incubator-nuttx-apps] VanFeo opened a new pull request #1063: testing/fstest: add cleanup to fatutf8

2022-03-13 Thread GitBox
VanFeo opened a new pull request #1063: URL: https://github.com/apache/incubator-nuttx-apps/pull/1063 N/A Signed-off-by: fanzhuyun Change-Id: If458048804daced1bcc8f1ee82a5e2a16bf6140b ## Summary ## Impact ## Testing -- This is an automated message f

[GitHub] [incubator-nuttx-apps] zhhyu7 opened a new pull request #1064: [DRAFT]feature: wapi add encode parse when scan

2022-03-13 Thread GitBox
zhhyu7 opened a new pull request #1064: URL: https://github.com/apache/incubator-nuttx-apps/pull/1064 wapi add encode parse when scan fix: ap socket can not accept twice rpmsg: pointer of netdev ioctl support cross-core access via clean dcache fix: iperf can not exit when stop

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
anchao commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825631699 ## File path: arch/arm/src/arm/arm_initialstate.c ## @@ -73,20 +77,28 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_color(tcb->sta

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #5645: arch/arm: optimize context switch speed

2022-03-13 Thread GitBox
anchao commented on a change in pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r825631832 ## File path: arch/arm/src/armv7-m/arm_initialstate.c ## @@ -76,16 +80,24 @@ void up_initial_state(struct tcb_s *tcb) arm_stack_color(tcb-

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5735: drviers/syslog: correct the return value of default channel write

2022-03-13 Thread GitBox
pkarashchenko merged pull request #5735: URL: https://github.com/apache/incubator-nuttx/pull/5735 -- 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 (cff3d9d -> 4e08b1d)

2022-03-13 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 cff3d9d arch/xtensa: Fix some indentations. add 4e08b1d drviers/syslog: correct the return val