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=y`, `ARCH_RV_HAVE_IMSIC=y` and `ARCH_RV_EXT_AIA=y` to defconfig? > Yeah, these arguments are right. > > It seems that AIA spec allows one to AIA in three forms: > > * with only APLIC or > * or with both APLIC and IMSIC? > These two are implemented and recommended. > * with only IMSIC or Although the spec allows using PLIC with IMSIC, it is not recommended since the spec says nothing about routing the PLIC interrupt to SxAIA area. So the IMSIC is almost useless in this scenario (It can be used to route S-mode IPI, but I do not find a clean way to implement it) -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org