[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5] hw/dma/pl330: Add memory region to replace default
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v5] hw/dma/pl330: Add memory region to replace default |
Date: |
Wed, 18 Aug 2021 12:24:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/18/21 12:17 PM, Wen, Jianxian wrote:
> Add property memory region which can connect with IOMMU region to support
> SMMU translate.
>
> Signed-off-by: Jianxian Wen <jianxian.wen@verisilicon.com>
> ---
> v5 (after review of Philippe Mathieu-Daudé):
> - Refine code and use memory_region_name() to get MR name.
> v4 (after review of Philippe Mathieu-Daudé):
> - Avoid creating new AS for system memory, add AS if we connect with IOMMU
> region.
> v3 (after review of Philippe Mathieu-Daudé):
> - Refine code to comply with code style, update error message if memory link
> is not set.
> v2 (after review of Peter Maydell):
> - Use dma_memory_read/write functions to do data access, update function
> AddressSpace* parameter.
>
> hw/arm/exynos4210.c | 3 +++
> hw/arm/xilinx_zynq.c | 3 +++
> hw/dma/pl330.c | 26 ++++++++++++++++++++++----
> 3 files changed, 28 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>