Re: [RFC PATCH 1/5] target/riscv: Add Nuclei CSR and Update interrupt handling

2021-05-10 Thread Wang Junqiang
On 2021/5/11 上午11:43, Alistair Francis wrote: On Tue, May 11, 2021 at 1:14 PM Wang Junqiang wrote: On 2021/5/10 上午10:17, Alistair Francis wrote: C isOn Fri, May 7, 2021 at 11:25 PM wangjunqiang wrote: This patch adds Nuclei CSR support for ECLIC and update the related interrupt

Re: [RFC PATCH 2/5] hw/intc: Add Nuclei ECLIC device

2021-05-10 Thread Wang Junqiang
xt version. Thanks Regards Wang Junqiang

Re: [RFC PATCH 1/5] target/riscv: Add Nuclei CSR and Update interrupt handling

2021-05-10 Thread Wang Junqiang
omment. About customized csr, I have a rough idea, whether it is possible to open the interface for manufacturers to allow them to implement their own csr.To implement the registration callback interface, add a branch to the riscv_csrrw function, and define a switch for the cpu. When a custom csr is supported, the vendor registration is preferred.The manufacturer maintains its own csr and does not invade the qemu code much. Of course, there may be some unknown security and stability issues. Regards Wang Junqiang