[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [Qemu-devel] [PATCH v5 04/15] hw/s390x: Access MemoryRe
From: |
Richard Henderson |
Subject: |
Re: [qemu-s390x] [Qemu-devel] [PATCH v5 04/15] hw/s390x: Access MemoryRegion with MemOp |
Date: |
Fri, 26 Jul 2019 06:42:35 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 7/25/19 11:44 PM, address@hidden wrote:
> No-op SIZE_MEMOP macro allows us to later easily convert
> memory_region_dispatch_{read|write} paramter "unsigned size" into a
> size+sign+endianness encoded "MemOp op".
>
> Being a no-op macro, this patch does not introduce any logical change.
>
> Signed-off-by: Tony Nguyen <address@hidden>
> ---
> hw/s390x/s390-pci-inst.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
> for (i = 0; i < len / 8; i++) {
> result = memory_region_dispatch_write(mr, offset + i * 8,
> - ldq_p(buffer + i * 8), 8,
> + ldq_p(buffer + i * 8),
> + SIZE_MEMOP(8),
MO_64, eventually.
r~
- [qemu-s390x] [Qemu-devel] [PATCH v5 00/15] Invert Endian bit in SPARCv9 MMU TTE, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 02/15] memory: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 01/15] tcg: TCGMemOp is now accelerator independent MemOp, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 03/15] target/mips: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 04/15] hw/s390x: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26
- Re: [qemu-s390x] [Qemu-devel] [PATCH v5 04/15] hw/s390x: Access MemoryRegion with MemOp,
Richard Henderson <=
- [qemu-s390x] [Qemu-devel] [PATCH v5 05/15] hw/intc/armv7m_nic: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 06/15] hw/virtio: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 07/15] hw/vfio: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 08/15] exec: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26
- [qemu-s390x] [Qemu-devel] [PATCH v5 09/15] cputlb: Access MemoryRegion with MemOp, tony.nguyen, 2019/07/26