qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Remove flatview_simplify()
@ 2021-03-29 12:14 FelixCuioc
  2021-03-29 12:14 ` [PATCH 1/1] " FelixCuioc
  0 siblings, 1 reply; 6+ messages in thread
From: FelixCuioc @ 2021-03-29 12:14 UTC (permalink / raw)
  To: Paolo Bonzini, Richard Henderson, Eduardo Habkost,
	Alex Williamson
  Cc: RaymondPang-oc, qemu-devel, CobeChen-oc

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.
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



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/1] Remove flatview_simplify()
@ 2020-12-06  8:21 FelixCuioc
  2020-12-06  8:21 ` [PATCH 1/1] " FelixCuioc
  0 siblings, 1 reply; 6+ messages in thread
From: FelixCuioc @ 2020-12-06  8:21 UTC (permalink / raw)
  To: Paolo Bonzini, Richard Henderson, Eduardo Habkost,
	Alex Williamson
  Cc: TonyWWang-oc, qemu-devel, CobeChen-oc

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.
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.

FelixCui-oc (1):
  Remove flatview_simplify()

 softmmu/memory.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.17.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-30 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-29 12:14 [PATCH 0/1] Remove flatview_simplify() FelixCuioc
2021-03-29 12:14 ` [PATCH 1/1] " FelixCuioc
2021-03-30 16:33   ` Richard Henderson
2021-03-30 16:35     ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2020-12-06  8:21 [PATCH 0/1] " FelixCuioc
2020-12-06  8:21 ` [PATCH 1/1] " FelixCuioc
2020-12-06 10:10   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).