qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Skip flatview_simplify() for cpu vendor zhaoxin
@ 2020-10-16 11:29 FelixCuioc
  2020-10-16 11:29 ` [PATCH 1/1] " FelixCuioc
  0 siblings, 1 reply; 15+ messages in thread
From: FelixCuioc @ 2020-10-16 11:29 UTC (permalink / raw)
  To: Paolo Bonzini, Richard Henderson, Eduardo Habkost,
	Alex Williamson
  Cc: TonyWWang-oc, RockCui-oc, qemu-devel, CobeChen-oc

The actual situation we encountered is:
When assign EHCI device to the virtual machine,
after initializing EHCI in seabios,it will continuously
send dma cycles.
After flatview_simplify(),the IOVA mappings of the
EHCI device will be innocently unmapped between the
delate and add phases of the VFIO 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 +++++++++++++++++++-
 target/i386/cpu.c |  7 +++++++
 target/i386/cpu.h |  3 +++
 3 files changed, 29 insertions(+), 1 deletion(-)

-- 
2.17.1



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

end of thread, other threads:[~2020-10-27  3:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-16 11:29 [PATCH 0/1] Skip flatview_simplify() for cpu vendor zhaoxin FelixCuioc
2020-10-16 11:29 ` [PATCH 1/1] " FelixCuioc
2020-10-16 11:42   ` Paolo Bonzini
2020-10-19  6:55     ` 答复: " FelixCui-oc
2020-10-19 19:02     ` Alex Williamson
2020-10-20  9:24       ` Paolo Bonzini
2020-10-20 22:44         ` Alex Williamson
2020-10-21  7:37           ` Paolo Bonzini
2020-10-21 13:16             ` 答复: " FelixCui-oc
2020-10-21 18:49             ` Alex Williamson
2020-10-21 19:50               ` Paolo Bonzini
2020-10-22  3:02                 ` 答复: " FelixCui-oc
2020-10-22  3:30                   ` Paolo Bonzini
2020-10-22  6:31                     ` 答复: " FelixCui-oc
2020-10-27  3:18                       ` FelixCui-oc

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