[Qemu-devel] [PATCH v3] audio: intel-hda: do not use old_mmio accesses

2017-08-27 Thread Matt Parker
intel-hda is currently using the old_mmio accessors for io. This updates the device to use .read and .write accessors instead. Signed-off-by: Matt Parker --- v3: * use MAKE_64BIT_MASK --- hw/audio/intel-hda.c | 58 ++-- 1 file changed, 11

Re: [Qemu-devel] [PATCH] audio: intel-hda: do not use old_mmio accesses

2017-08-23 Thread Matt Parker
On 22 August 2017 at 09:44, Peter Maydell wrote: > On 21 August 2017 at 22:13, Matt Parker wrote: >> intel-hda is still using the old_mmio accessors for io. >> This updates the device to use .read and .write accessors instead. > > Hi; thanks for this patch. > >

Re: [Qemu-devel] [PATCH v2] audio: intel-hda: do not use old_mmio accesses

2017-08-23 Thread Matt Parker
I've just noticed the suggested changes from the v1 patch regarding using MAKE_64BIT_MASK. This patch is can be ignored for now. On 23 August 2017 at 20:37, Matt Parker wrote: > intel-hda is currently using the old_mmio accessors for io. > This updates the device to use .read

[Qemu-devel] [PATCH v2] audio: intel-hda: do not use old_mmio accesses

2017-08-23 Thread Matt Parker
intel-hda is currently using the old_mmio accessors for io. This updates the device to use .read and .write accessors instead. Signed-off-by: Matt Parker --- hw/audio/intel-hda.c | 57 +--- 1 file changed, 10 insertions(+), 47 deletions(-) diff

[Qemu-devel] [PATCH] audio: intel-hda: do not use old_mmio accesses

2017-08-21 Thread Matt Parker
intel-hda is still using the old_mmio accessors for io. This updates the device to use .read and .write accessors instead. --- hw/audio/intel-hda.c | 56 +--- 1 file changed, 9 insertions(+), 47 deletions(-) diff --git a/hw/audio/intel-hda.c b/hw/au

[Qemu-devel] [PATCH v2] net: rtl8139: do not use old_mmio accesses

2017-08-15 Thread Matt Parker
Both io and memory use the same mmio functions in the rtl8139 device. This patch removes the separate MemoryRegionOps and old_mmio accessors for memory, and replaces it with an alias to the io memory region. Signed-off-by: Matt Parker --- hw/net/rtl8139.c | 53

Re: [Qemu-devel] [PATCH] net: rtl8139: do not use old_mmio accesses

2017-08-14 Thread Matt Parker
On Mon, Aug 14, 2017 at 10:40:27AM +0200, Paolo Bonzini wrote: > On 12/08/2017 23:33, Matt Parker wrote: > > This updates the current MemoryRegionOps for the bar 1 memory region > > from using the old_mmio accessors to the .read and .write accessors. > > > >

[Qemu-devel] [PATCH] net: rtl8139: do not use old_mmio accesses

2017-08-12 Thread Matt Parker
This updates the current MemoryRegionOps for the bar 1 memory region from using the old_mmio accessors to the .read and .write accessors. Signed-off-by: Matt Parker --- hw/net/rtl8139.c | 60 +++- 1 file changed, 16 insertions(+), 44 deletions

[Qemu-devel] [PATCH] net: rtl8139: do not use old_mmio accesses

2017-08-12 Thread Matt Parker
This updates the current MemoryRegionOps for the bar 1 memory region from using the old_mmio accessors to the .read and .write accessors. Signed-off-by: Matt Parker --- hw/net/rtl8139.c | 60 +++- 1 file changed, 16 insertions(+), 44 deletions