]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/aspeed.c
aspeed/smc: Use the RAM memory region for DMAs
authorCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:51 +0000 (10:03 +0200)
committerCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:51 +0000 (10:03 +0200)
commit0df2d9a673543c4ab06646d9f6bd21153c632a4c
tree766b7761733709871ebe05077437deefe5223db8
parent609d7596524ab204ccd71ef42c9eee4c7c338ea4
aspeed/smc: Use the RAM memory region for DMAs

Instead of passing the memory address space region, simply use the RAM
memory region instead. This simplifies RAM accesses.

This patch breaks migration compatibility.

Fixes: c4e1f0b48322 ("aspeed/smc: Add support for DMAs")
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210407171637.777743-2-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed.c
hw/ssi/aspeed_smc.c