On 7/5/24 14:30, Philippe Mathieu-Daudé wrote:
From: Mattias Nissler <mniss...@rivosinc.com>
Instead of using a single global bounce buffer, give each AddressSpace
its own bounce buffer. The MapClient callback mechanism moves to
AddressSpace accordingly.
This is in preparation for generalizing bounce buffer handling further
to allow multiple bounce buffers, with a total allocation limit
configured per AddressSpace.
Reviewed-by: Peter Xu <pet...@redhat.com>
Tested-by: Jonathan Cameron <jonathan.came...@huawei.com>
Signed-off-by: Mattias Nissler <mniss...@rivosinc.com>
Message-ID: <20240507094210.300566-2-mniss...@rivosinc.com>
[PMD: Split patch, part 2/2]
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
include/exec/memory.h | 19 +++++++++++
system/memory.c | 7 +++++
system/physmem.c | 73 ++++++++++++++++---------------------------
3 files changed, 53 insertions(+), 46 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>