Message ID | 20230530113838.257755-1-david@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | memory-device: Some cleanups | expand |
This was supposed to carry the "v2" indicator ;) On 30.05.23 13:38, David Hildenbrand wrote: > Working on adding multi-memslot support for virtio-mem (teaching memory > device code about memory devices that can consume multiple memslots), I > have some preparatory cleanups in my queue that make sense independent of > the actual memory-device/virtio-mem extensions. > > v1 -> v2: > - Allocate ms->device_memory only if the size > 0. > - Split it up and include more cleanups > > David Hildenbrand (10): > memory-device: Unify enabled vs. supported error messages > memory-device: Introduce memory_devices_init() > hw/arm/virt: Use memory_devices_init() > hw/ppc/spapr: Use memory_devices_init() > hw/loongarch/virt: Use memory_devices_init() > hw/i386/pc: Use memory_devices_init() > hw/i386/acpi-build: Rely on machine->device_memory when building SRAT > hw/i386/pc: Remove PC_MACHINE_DEVMEM_REGION_SIZE > memory-device: Refactor memory_device_pre_plug() > memory-device: Track used region size in DeviceMemoryState > > hw/arm/virt.c | 9 +---- > hw/i386/acpi-build.c | 9 ++--- > hw/i386/pc.c | 36 +++--------------- > hw/loongarch/virt.c | 14 ++----- > hw/mem/memory-device.c | 69 +++++++++++++++------------------- > hw/ppc/spapr.c | 37 +++++++++--------- > hw/ppc/spapr_hcall.c | 2 +- > include/hw/boards.h | 2 + > include/hw/i386/pc.h | 1 - > include/hw/mem/memory-device.h | 2 + > 10 files changed, 68 insertions(+), 113 deletions(-) >
On Tue, May 30, 2023 at 01:38:28PM +0200, David Hildenbrand wrote: > Working on adding multi-memslot support for virtio-mem (teaching memory > device code about memory devices that can consume multiple memslots), I > have some preparatory cleanups in my queue that make sense independent of > the actual memory-device/virtio-mem extensions. pc/acpi things: Acked-by: Michael S. Tsirkin <mst@redhat.com> > v1 -> v2: > - Allocate ms->device_memory only if the size > 0. > - Split it up and include more cleanups > > David Hildenbrand (10): > memory-device: Unify enabled vs. supported error messages > memory-device: Introduce memory_devices_init() > hw/arm/virt: Use memory_devices_init() > hw/ppc/spapr: Use memory_devices_init() > hw/loongarch/virt: Use memory_devices_init() > hw/i386/pc: Use memory_devices_init() > hw/i386/acpi-build: Rely on machine->device_memory when building SRAT > hw/i386/pc: Remove PC_MACHINE_DEVMEM_REGION_SIZE > memory-device: Refactor memory_device_pre_plug() > memory-device: Track used region size in DeviceMemoryState > > hw/arm/virt.c | 9 +---- > hw/i386/acpi-build.c | 9 ++--- > hw/i386/pc.c | 36 +++--------------- > hw/loongarch/virt.c | 14 ++----- > hw/mem/memory-device.c | 69 +++++++++++++++------------------- > hw/ppc/spapr.c | 37 +++++++++--------- > hw/ppc/spapr_hcall.c | 2 +- > include/hw/boards.h | 2 + > include/hw/i386/pc.h | 1 - > include/hw/mem/memory-device.h | 2 + > 10 files changed, 68 insertions(+), 113 deletions(-) > > -- > 2.40.1
On 22.06.23 22:13, Michael S. Tsirkin wrote: > On Tue, May 30, 2023 at 01:38:28PM +0200, David Hildenbrand wrote: >> Working on adding multi-memslot support for virtio-mem (teaching memory >> device code about memory devices that can consume multiple memslots), I >> have some preparatory cleanups in my queue that make sense independent of >> the actual memory-device/virtio-mem extensions. > > pc/acpi things: > > Acked-by: Michael S. Tsirkin <mst@redhat.com> Thanks, I added that to patch 6/7/8.