Re: [PATCH] KVM: Qemu: Flush i-cache after ide-dma operation in IA64
Avi Kivity <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
Avi Kivity wrote: >>> >> >> It doesn't had to do it. The PCI transaction will automatically >> invalidate >> caches - but qemu doesn't emulate this (and doesn't need to do on x86). >> > > So any DMA on ia64 will flush the instruction caches?! > Or maybe, the host kernel will do it after the transaction completes? In our case the lack of zero-copy means the host is invalidating the wrong addresses (memcpy source) and leaving the real destination intact. -- error compiling committee.c: too many arguments to function