Re: [Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-17 Thread Auger Eric
Hi Peter, On 05/16/2018 06:18 PM, Peter Maydell wrote: > On 16 May 2018 at 15:33, Auger Eric wrote: >> On 05/08/2018 06:25 PM, Peter Maydell wrote: >>> This runs into something I found when I was implementing the Arm >>> Memory Protection Controller -- at the point when the guest changes >>> the c

Re: [Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-16 Thread Peter Maydell
On 16 May 2018 at 15:33, Auger Eric wrote: > On 05/08/2018 06:25 PM, Peter Maydell wrote: >> This runs into something I found when I was implementing the Arm >> Memory Protection Controller -- at the point when the guest changes >> the config, > do you mean the config structures (STE, CD) or the p

Re: [Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-16 Thread Auger Eric
Hi Peter, On 05/08/2018 06:25 PM, Peter Maydell wrote: > On 1 May 2018 at 16:53, Auger Eric wrote: >> Hi Peter, >> >> On 05/01/2018 05:00 PM, Peter Maydell wrote: >>> On 1 May 2018 at 15:32, Auger Eric wrote: Hi Peter, On 05/01/2018 12:19 PM, Peter Maydell wrote: > + * Onc

Re: [Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-08 Thread Peter Maydell
On 1 May 2018 at 16:53, Auger Eric wrote: > Hi Peter, > > On 05/01/2018 05:00 PM, Peter Maydell wrote: >> On 1 May 2018 at 15:32, Auger Eric wrote: >>> Hi Peter, >>> >>> On 05/01/2018 12:19 PM, Peter Maydell wrote: + * Once the IOMMU has returned a TLB entry, it must notify + *

Re: [Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-01 Thread Auger Eric
Hi Peter, On 05/01/2018 05:00 PM, Peter Maydell wrote: > On 1 May 2018 at 15:32, Auger Eric wrote: >> Hi Peter, >> >> On 05/01/2018 12:19 PM, Peter Maydell wrote: >>> Add more detail to the documentation for memory_region_init_iommu() >>> and other IOMMU-related functions and data structures. >>>

Re: [Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-01 Thread Peter Maydell
On 1 May 2018 at 15:32, Auger Eric wrote: > Hi Peter, > > On 05/01/2018 12:19 PM, Peter Maydell wrote: >> Add more detail to the documentation for memory_region_init_iommu() >> and other IOMMU-related functions and data structures. >> >> Signed-off-by: Peter Maydell >> --- >> v1 -> v2 changes: >>

Re: [Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-01 Thread Auger Eric
Hi Peter, On 05/01/2018 12:19 PM, Peter Maydell wrote: > Add more detail to the documentation for memory_region_init_iommu() > and other IOMMU-related functions and data structures. > > Signed-off-by: Peter Maydell > --- > v1 -> v2 changes: > * documented replay method > * added note about wan

[Qemu-devel] [PATCH v2 1/1] memory.h: Improve IOMMU related documentation

2018-05-01 Thread Peter Maydell
Add more detail to the documentation for memory_region_init_iommu() and other IOMMU-related functions and data structures. Signed-off-by: Peter Maydell --- v1 -> v2 changes: * documented replay method * added note about wanting RCU or big qemu lock while calling translate include/exec/memo