Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2025-04-05 Thread via GitHub
filippofontana commented on code in PR #12804: URL: https://github.com/apache/nuttx/pull/12804#discussion_r2001363740 ## arch/risc-v/src/common/Make.defs: ## @@ -91,6 +91,10 @@ ifeq ($(CONFIG_ARCH_RV_ISA_A),y) CMN_ASRCS += riscv_testset.S endif +ifeq ($(CONFIG_ARCH_RV_HAVE_A

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2025-03-25 Thread via GitHub
inochisa commented on PR #12804: URL: https://github.com/apache/nuttx/pull/12804#issuecomment-2753051993 > @inochisa thanks for the help. I can boot FLAT mode NuttX with `-M virt,aia=aplic-imsic` now on QEMU v9.2. Can you teach what the `SxAIA` thing is? I can't find it in AIA spec v1.0.

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2025-03-25 Thread via GitHub
yf13 commented on PR #12804: URL: https://github.com/apache/nuttx/pull/12804#issuecomment-2752863309 @inochisa thanks for the confirmations. I can boot FLAT mode NuttX with `-M virt,aia=aplic-imsic` now on QEMU v9.2. Can you teach what is `SxAIA` thing? I can't find it in AIA spec v1.0 yet

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2025-03-25 Thread via GitHub
inochisa commented on PR #12804: URL: https://github.com/apache/nuttx/pull/12804#issuecomment-2750865497 > @inochisa How can we try this? > > * for QEMU `-M aia=aplic`, add `ARCH_RV_HAVE_APLIC=y` to defconfig? > > * for QEMU `-M aia=aplic-imsic`, add `ARCH_RV_HAVE_APLIC=

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2025-03-25 Thread via GitHub
yf13 commented on PR #12804: URL: https://github.com/apache/nuttx/pull/12804#issuecomment-2750827404 @inochisa How can we try this? - for QEMU `-M aia=aplic`, add `ARCH_RV_HAVE_APLIC=y` to defconfig? - for QEMU `-M aia=aplic-imsic`, add `ARCH_RV_HAVE_APLIC=y`, `ARCH_RV_HAVE_IMSIC=y` a

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2025-03-18 Thread via GitHub
inochisa commented on code in PR #12804: URL: https://github.com/apache/nuttx/pull/12804#discussion_r2000906916 ## arch/risc-v/src/common/Make.defs: ## @@ -91,6 +91,10 @@ ifeq ($(CONFIG_ARCH_RV_ISA_A),y) CMN_ASRCS += riscv_testset.S endif +ifeq ($(CONFIG_ARCH_RV_HAVE_APLIC),

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2025-03-18 Thread via GitHub
filippofontana commented on code in PR #12804: URL: https://github.com/apache/nuttx/pull/12804#discussion_r2000885540 ## arch/risc-v/src/common/Make.defs: ## @@ -91,6 +91,10 @@ ifeq ($(CONFIG_ARCH_RV_ISA_A),y) CMN_ASRCS += riscv_testset.S endif +ifeq ($(CONFIG_ARCH_RV_HAVE_A

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-31 Thread via GitHub
acassis merged PR #12804: URL: https://github.com/apache/nuttx/pull/12804 -- 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...@nuttx.apac

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-31 Thread via GitHub
acassis commented on PR #12804: URL: https://github.com/apache/nuttx/pull/12804#issuecomment-2260825487 Nice work @inochisa ! Kudos!!! -- 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

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-30 Thread via GitHub
inochisa commented on PR #12804: URL: https://github.com/apache/nuttx/pull/12804#issuecomment-2259539536 Thanks, I have fixed these typo. -- 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 speci

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-30 Thread via GitHub
lupyuen commented on code in PR #12804: URL: https://github.com/apache/nuttx/pull/12804#discussion_r1697788324 ## arch/risc-v/Kconfig: ## @@ -553,6 +553,30 @@ config ARCH_RV_EXT_SSTC default n depends on ARCH_USE_S_MODE +config ARCH_RV_HAVE_APLIC + bool "

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-30 Thread via GitHub
lupyuen commented on code in PR #12804: URL: https://github.com/apache/nuttx/pull/12804#discussion_r1697788131 ## arch/risc-v/Kconfig: ## @@ -553,6 +553,30 @@ config ARCH_RV_EXT_SSTC default n depends on ARCH_USE_S_MODE +config ARCH_RV_HAVE_APLIC + bool "

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-30 Thread via GitHub
lupyuen commented on code in PR #12804: URL: https://github.com/apache/nuttx/pull/12804#discussion_r1697787619 ## Documentation/platforms/risc-v/qemu-rv/boards/rv-virt/index.rst: ## @@ -34,7 +34,21 @@ Build and install ``qemu``:: $ make $ sudo make install -QEMU 7.2.9 or

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-30 Thread via GitHub
inochisa commented on PR #12804: URL: https://github.com/apache/nuttx/pull/12804#issuecomment-2259435876 @acassis OK, I have update the header file. In fact, I also have no idea for why nxstyle does not catch this -- This is an automated message from the Apache Git Service. To respon

Re: [PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-30 Thread via GitHub
acassis commented on code in PR #12804: URL: https://github.com/apache/nuttx/pull/12804#discussion_r1697176084 ## arch/risc-v/include/csr.h: ## @@ -390,6 +390,27 @@ #define MISELECT_CLICINTIE 0x1400 /* MIREG2 */ #define MISELECT_CLICINTTRIG 0x1480 /* MIREG */ +/* AIA Machi

[PR] arch/risc-v: introduce AIA support [nuttx]

2024-07-30 Thread via GitHub
inochisa opened a new pull request, #12804: URL: https://github.com/apache/nuttx/pull/12804 ## Summary Advanced Interrupt Architecture (AIA) introduces flexiable interrupt controll for RISC-V. It includes three parts: 1. AIA CSRs 2. Incoming Message Signaled Interrupt Controller (I