Re: [Qemu-devel] [RFC 1/3] memory: add MemTxAttrs to translate function

2018-06-05 Thread David Gibson
On Tue, Jun 05, 2018 at 02:38:31PM +0100, Peter Maydell wrote: > On 5 June 2018 at 14:19, Peter Xu wrote: > > Add a new MemTxAttrs parameter to the IOMMUMemoryRegionClass.translate() > > function, which takes some extra context of the translation request. > > > > Signed-off-by: Peter Xu > > --- >

Re: [Qemu-devel] [RFC 1/3] memory: add MemTxAttrs to translate function

2018-06-05 Thread Peter Maydell
On 5 June 2018 at 14:19, Peter Xu wrote: > Add a new MemTxAttrs parameter to the IOMMUMemoryRegionClass.translate() > function, which takes some extra context of the translation request. > > Signed-off-by: Peter Xu > --- > include/exec/memory.h| 5 - > exec.c | 2 +- >

[Qemu-devel] [RFC 1/3] memory: add MemTxAttrs to translate function

2018-06-05 Thread Peter Xu
Add a new MemTxAttrs parameter to the IOMMUMemoryRegionClass.translate() function, which takes some extra context of the translation request. Signed-off-by: Peter Xu --- include/exec/memory.h| 5 - exec.c | 2 +- hw/alpha/typhoon.c | 3 ++- hw/arm/smmuv3.c