Re: [RFC 0/5] Support non-coherent DMA on RISC-V using a global pool

2021-08-17 Thread Guo Ren
On Tue, Aug 17, 2021 at 11:28 AM Atish Patra wrote: > > On Mon, Aug 16, 2021 at 6:37 PM Guo Ren wrote: > > > > 1 > > > > On Thu, Jul 29, 2021 at 2:19 PM Atish Patra wrote: > > > > > > On Wed, Jul 28, 2021 at 9:30 PM Palmer Dabbelt wrote: > > > > > > > > On Fri, 23 Jul 2021 14:40:26 PDT

Re: [RFC 0/5] Support non-coherent DMA on RISC-V using a global pool

2021-08-16 Thread Atish Patra
On Mon, Aug 16, 2021 at 6:37 PM Guo Ren wrote: > > 1 > > On Thu, Jul 29, 2021 at 2:19 PM Atish Patra wrote: > > > > On Wed, Jul 28, 2021 at 9:30 PM Palmer Dabbelt wrote: > > > > > > On Fri, 23 Jul 2021 14:40:26 PDT (-0700), Atish Patra wrote: > > > > RISC-V privilege specification doesn't

Re: [RFC 0/5] Support non-coherent DMA on RISC-V using a global pool

2021-08-16 Thread Guo Ren
1 On Thu, Jul 29, 2021 at 2:19 PM Atish Patra wrote: > > On Wed, Jul 28, 2021 at 9:30 PM Palmer Dabbelt wrote: > > > > On Fri, 23 Jul 2021 14:40:26 PDT (-0700), Atish Patra wrote: > > > RISC-V privilege specification doesn't define an IOMMU or any method > > > modify > > > PMA attributes or

Re: [RFC 0/5] Support non-coherent DMA on RISC-V using a global pool

2021-07-29 Thread Palmer Dabbelt
On Fri, 23 Jul 2021 14:40:26 PDT (-0700), Atish Patra wrote: RISC-V privilege specification doesn't define an IOMMU or any method modify PMA attributes or PTE entries to allow non-coherent mappings yet. In the beginning, this approach was adopted assuming that most of the RISC-V platforms would

Re: [RFC 0/5] Support non-coherent DMA on RISC-V using a global pool

2021-07-29 Thread Atish Patra
On Wed, Jul 28, 2021 at 9:30 PM Palmer Dabbelt wrote: > > On Fri, 23 Jul 2021 14:40:26 PDT (-0700), Atish Patra wrote: > > RISC-V privilege specification doesn't define an IOMMU or any method modify > > PMA attributes or PTE entries to allow non-coherent mappings yet. In > > the beginning, this

[RFC 0/5] Support non-coherent DMA on RISC-V using a global pool

2021-07-23 Thread Atish Patra
RISC-V privilege specification doesn't define an IOMMU or any method modify PMA attributes or PTE entries to allow non-coherent mappings yet. In the beginning, this approach was adopted assuming that most of the RISC-V platforms would support full cache-coherent IO. Here is excerpt from the priv