Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-14 Thread LIU Zhiwei
On 2024/6/12 20:10, Daniel Henrique Barboza wrote: On 6/12/24 4:50 AM, LIU Zhiwei wrote: On 2024/6/11 18:13, Daniel Henrique Barboza wrote: Hi Zhiwei, On 6/10/24 10:51 PM, LIU Zhiwei wrote: Hi Daniel, I want to know if we can use the IOMMU and IOPMP at the same time. AFAIK we can. The

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-12 Thread Daniel Henrique Barboza
On 6/12/24 4:50 AM, LIU Zhiwei wrote: On 2024/6/11 18:13, Daniel Henrique Barboza wrote: Hi Zhiwei, On 6/10/24 10:51 PM, LIU Zhiwei wrote: Hi Daniel, I want to know if we can use the IOMMU and IOPMP at the same time. AFAIK we can. They're not mutually exclusive since they offer protecti

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-12 Thread LIU Zhiwei
On 2024/6/11 18:13, Daniel Henrique Barboza wrote: Hi Zhiwei, On 6/10/24 10:51 PM, LIU Zhiwei wrote: Hi Daniel, I want to know if we can use the IOMMU and IOPMP at the same time. AFAIK we can. They're not mutually exclusive since they offer protection and isolation at different layers/stag

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-11 Thread Daniel Henrique Barboza
Hi Zhiwei, On 6/10/24 10:51 PM, LIU Zhiwei wrote: Hi Daniel, I want to know if we can use the IOMMU and IOPMP at the same time. AFAIK we can. They're not mutually exclusive since they offer protection and isolation at different layers/stages. The relationship between them is more similar

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread LIU Zhiwei
Hi Daniel, I want to know if we can use the IOMMU and IOPMP at the same time. The relationship between them is more similar to MMU and sPMP or to MMU and PMP? Thanks, Zhiwei On 2024/5/24 1:39, Daniel Henrique Barboza wrote: Hi, In this new version a lot of changes were made throughout all

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread Alistair Francis
On Tue, Jun 11, 2024 at 5:16 AM Daniel Henrique Barboza wrote: > > > > On 6/10/24 3:32 PM, Andrew Jones wrote: > > On June 10, 2024 2:34:58 AM GMT+02:00, Alistair Francis > > wrote: > >> On Fri, May 24, 2024 at 3:43 AM Daniel Henrique Barboza > >> wrote: > >>> > >>> Hi, > >>> > >>> In this new

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread Daniel Henrique Barboza
On 6/10/24 3:32 PM, Andrew Jones wrote: On June 10, 2024 2:34:58 AM GMT+02:00, Alistair Francis wrote: On Fri, May 24, 2024 at 3:43 AM Daniel Henrique Barboza wrote: Hi, In this new version a lot of changes were made throughout all the code, most notably on patch 3. Link for the previou

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread Andrew Jones
On June 10, 2024 2:34:58 AM GMT+02:00, Alistair Francis wrote: >On Fri, May 24, 2024 at 3:43 AM Daniel Henrique Barboza > wrote: >> >> Hi, >> >> In this new version a lot of changes were made throughout all the code, >> most notably on patch 3. Link for the previous version is [1]. >> >> * How it

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-09 Thread Alistair Francis
On Fri, May 24, 2024 at 3:43 AM Daniel Henrique Barboza wrote: > > Hi, > > In this new version a lot of changes were made throughout all the code, > most notably on patch 3. Link for the previous version is [1]. > > * How it was tested * > > This series was tested using an emulated QEMU RISC-V hos

[PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-05-23 Thread Daniel Henrique Barboza
Hi, In this new version a lot of changes were made throughout all the code, most notably on patch 3. Link for the previous version is [1]. * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from