The update makes it easier to find and specify devices.
They can only be found by device type name without the id field,
for example, devices of the same type have the same label.
The update also adds a head field,
which is useful for devices that support multiple heads,
such as virtio-gpu.
Signed
The update makes it easier to find and specify devices.
They can only be found by device type name without the id field,
for example, devices of the same type have the same label.
The update also adds a head field,
which is useful for devices that support multiple heads,
such as virtio-gpu.
Signed
Check the dirty bits in advance to avoid unnecessary memory operations.
In the case that guest surface has different format than the server,
but it does not have dirty bits which means no refresh is actually needed,
the memory operations is not necessary.
Signed-off-by: Jianxian Wen
Signed-off-by
Add property memory region which can connect with IOMMU region to support SMMU
translate.
Signed-off-by: Jianxian Wen
---
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
Add configurable property memory region which can connect with IOMMU region to
support SMMU translate.
Signed-off-by: Jianxian Wen
---
v3 -> v4 (after review of Philippe Mathieu-Daudé):
- Avoid adding unnecessary AS, add AS if we connect with IOMMU region.
v2 -> v3 (after review of Philippe Mat
PL330 needs a memory region which can connect with SMMU IOMMU region to support
SMMU translate.
Signed-off-by: Jianxian Wen
---
Changes v1 -> v2 (after review of Peter Maydell):
- Use the dma_memory_read/dma_memory_write functions, update function
AddressSpace* parameter.
Changes v2 -> v3 (aft
L330 needs a memory region which can connect with SMMU IOMMU region to support
SMMU translate.
Signed-off-by: Jianxian Wen
---
Changes v1 -> v2 (after review of Peter Maydell):
- Use the dma_memory_read/dma_memory_write functions, update function
AddressSpace* parameter.
hw/arm/exynos4210.c
>From f780b0ee2ee36c562ab814915fff0e7217b25e63 Mon Sep 17 00:00:00 2001
From: Jianxian Wen
Date: Tue, 3 Aug 2021 09:44:35 +0800
Subject: [PATCH] hw/dma/pl330: Add memory region to replace default
address_space_memory
PL330 needs a memory region which can connect with SMMU translate IOMMU region
From f780b0ee2ee36c562ab814915fff0e7217b25e63 Mon Sep 17 00:00:00 2001
From: Jianxian Wen
Date: Tue, 3 Aug 2021 09:44:35 +0800
Subject: [PATCH] hw/dma/pl330: Add memory region to replace default
address_space_memory
PL330 needs a memory region which can connect with SMMU translate IOMMU region
t