[PATCH 1/1] Remove flatview_simplify()

2021-03-29 Thread FelixCuioc
() completely. Signed-off-by: FelixCuioc --- softmmu/memory.c | 37 - 1 file changed, 37 deletions(-) diff --git a/softmmu/memory.c b/softmmu/memory.c index d4493ef9e4..aaace8c03f 100644 --- a/softmmu/memory.c +++ b/softmmu/memory.c @@ -314,42 +314,6 @@ void

[PATCH 0/1] Remove flatview_simplify()

2021-03-29 Thread FelixCuioc
. At this time,the IOMMU will block the DMA cycle. We want to remove flatview_simplify() is to prevent EHCI device IOVA mappings from being unmapped. FelixCuioc (1): Remove flatview_simplify() softmmu/memory.c | 37 - 1 file changed, 37 deletions(-) -- 2.17.1

[PATCH 0/1] Remove flatview_simplify()

2020-12-06 Thread FelixCuioc
When assign EHCI device to the virtual machine, after initializing EHCI in seabios,it will continuously send dma cycles. Flatview_simplify() will merge a very large range.The IOVA mappings of the EHCI device will be innocently unmapped between the delete and add phases of the VFIO MemoryListener. A

[PATCH 1/1] Remove flatview_simplify()

2020-12-06 Thread FelixCuioc
From: FelixCui-oc Flatview_simplify() will cause some innocent mappings to be unmapped. Signed-off-by: FelixCui-oc Signed-off-by: FelixCuioc --- softmmu/memory.c | 1 - 1 file changed, 1 deletion(-) diff --git a/softmmu/memory.c b/softmmu/memory.c index 11ca94d037..66d36dcac4 100644 --- a

[PATCH 0/1] Skip flatview_simplify() for cpu vendor zhaoxin

2020-10-16 Thread FelixCuioc
MemoryListener. But the EHCI device is always sending DMA cycle. At this time,the IOMMU will block the DMA cycle. The purpose of this patch is to skip flatview_simplify() for zx vendor. FelixCuioc (1): Skip flatview_simplify() for cpu vendor zhaoxin softmmu/memory.c | 20

[PATCH 1/1] Skip flatview_simplify() for cpu vendor zhaoxin

2020-10-16 Thread FelixCuioc
The issue here is that an assinged EHCI device accesses an adjacent mapping between the delete and add phases of the VFIO MemoryListener. We want to skip flatview_simplify() is to prevent EHCI device IOVA mappings from being unmapped. Signed-off-by: FelixCuioc --- softmmu/memory.c | 20

[PATCH 0/1] Skip flatview_simplify() for specific cpu vendor

2020-09-03 Thread FelixCuioc
set FelixCuioc (1): Skip flatview_simplify() for specific cpu vendor softmmu/memory.c | 16 +++- target/i386/cpu.c | 8 target/i386/cpu.h | 3 +++ 3 files changed, 26 insertions(+), 1 deletion(-) -- 2.17.1

[PATCH 1/1] Skip flatview_simplify() for specific cpu vendor

2020-09-03 Thread FelixCuioc
Flatview_simplify() will merge many address ranges into one range.When a part of the big range needs to be changed,this will cause some innocent mappings to be unmapped.So we want to skip flatview_simplify(). Signed-off-by: FelixCuioc --- softmmu/memory.c | 16 +++- target/i386