mbox

[PULL,00/19] Memory API patches for 2022-01-18

Message ID 20220118120229.196337-1-f4bug@amsat.org (mailing list archive)
State New, archived
Headers show

Pull-request

https://github.com/philmd/qemu.git tags/memory-api-20220118

Message

Philippe Mathieu-Daudé Jan. 18, 2022, 12:02 p.m. UTC
The following changes since commit 6621441db50d5bae7e34dbd04bf3c57a27a71b32:

  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20220115' into staging (2022-01-16 20:12:23 +0000)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/memory-api-20220118

for you to fetch changes up to 9d696cd50442327fd71ec7309e7b0c6fee693b1d:

  docs/devel: add some clarifying text for aliases (2022-01-18 12:56:29 +0100)

----------------------------------------------------------------
Memory API patches

- Directly dispatch MemoryRegion alias accesses
- Remove duplicated Address Space information in 'info mtree'
- Cleanups around memory_region_is_mapped()
- Fix incorrect calls of log_global_start/stop()
- Use dma_addr_t type definition when relevant
- Let dma_buf_read() / dma_buf_write() propagate MemTxResult
- Clarify MemoryRegion aliases documentation

----------------------------------------------------------------

Alex Bennée (1):
  docs/devel: add some clarifying text for aliases

David Hildenbrand (3):
  machine: Use host_memory_backend_is_mapped() in
    machine_consume_memdev()
  memory: Make memory_region_is_mapped() succeed when mapped via an
    alias
  memory: Update description of memory_region_is_mapped()

Peter Xu (1):
  memory: Fix incorrect calls of log_global_start/stop

Philippe Mathieu-Daudé (14):
  memory: Directly dispatch alias accesses on origin memory region
  memory: Split mtree_info() as mtree_info_flatview() + mtree_info_as()
  memory: Have 'info mtree' remove duplicated Address Space information
  stubs: Restrict fw_cfg to system emulation
  hw/nvram: Restrict fw_cfg QOM interface to sysemu and tools
  hw/pci: Restrict pci-bus stub to sysemu
  hw/pci: Document pci_dma_map()
  hw/dma: Remove CONFIG_USER_ONLY check
  hw/rdma/rdma_utils: Rename rdma_pci_dma_map 'len' argument
  hw/scsi: Rename SCSIRequest::resid as 'residual'
  hw/dma: Fix format string issues using dma_addr_t
  hw/dma: Move ScatterGatherEntry / QEMUSGList declarations around
  hw/dma: Use dma_addr_t type definition when relevant
  hw/dma: Let dma_buf_read() / dma_buf_write() propagate MemTxResult

 docs/devel/memory.rst  |  14 +--
 hw/rdma/rdma_utils.h   |   2 +-
 include/exec/memory.h  |   4 +-
 include/hw/pci/pci.h   |  12 +++
 include/hw/scsi/scsi.h |   4 +-
 include/sysemu/dma.h   |  31 ++++---
 hw/core/machine.c      |   2 +-
 hw/ide/ahci.c          |  10 +--
 hw/nvme/ctrl.c         |   6 +-
 hw/rdma/rdma_utils.c   |  14 +--
 hw/scsi/megasas.c      |  85 ++++++++++++------
 hw/scsi/scsi-bus.c     |  12 +--
 hw/scsi/scsi-disk.c    |   4 +-
 softmmu/dma-helpers.c  |  34 +++----
 softmmu/memory.c       | 200 +++++++++++++++++++++++++++++------------
 hw/nvram/meson.build   |   6 +-
 hw/rdma/trace-events   |   2 +-
 stubs/meson.build      |   4 +-
 18 files changed, 291 insertions(+), 155 deletions(-)

Comments

Peter Maydell Jan. 18, 2022, 7:43 p.m. UTC | #1
On Tue, 18 Jan 2022 at 12:18, Philippe Mathieu-Daudé via
<qemu-devel@nongnu.org> wrote:
>
> The following changes since commit 6621441db50d5bae7e34dbd04bf3c57a27a71b32:
>
>   Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20220115' into staging (2022-01-16 20:12:23 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/philmd/qemu.git tags/memory-api-20220118
>
> for you to fetch changes up to 9d696cd50442327fd71ec7309e7b0c6fee693b1d:
>
>   docs/devel: add some clarifying text for aliases (2022-01-18 12:56:29 +0100)
>
> ----------------------------------------------------------------
> Memory API patches
>
> - Directly dispatch MemoryRegion alias accesses
> - Remove duplicated Address Space information in 'info mtree'
> - Cleanups around memory_region_is_mapped()
> - Fix incorrect calls of log_global_start/stop()
> - Use dma_addr_t type definition when relevant
> - Let dma_buf_read() / dma_buf_write() propagate MemTxResult
> - Clarify MemoryRegion aliases documentation
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/7.0
for any user-visible changes.

-- PMM